Skip to:
Content
Pages
Categories
Search
Top
Bottom

Email custom template – error: Parameter 2 to closure


  • mi423
    Participant

    @mi423

    Hello.

    I made all the instructions contained in: https://codex.buddypress.org/emails/custom-emails/

    But at the moment when the function add_action( 'wp_insert_comment','codex15766_comment_inserted', 99, 2 ); is activated, PHP throws error:

    PHP Warning: Parameter 2 to {closure}() expected to be a reference, value given in /home/…/public_html/wp-includes/plugin.php on line 525

    Thx for any tip.

  • You must be logged in to reply to this topic.
Skip to toolbar