Support » Plugin: Jetpack by » jpcarousel_auto_close_comments warning and closed comments

  • Resolved thinkero


    I’m running the last versions of WP and Jetpack. My comments are closed for all articles, but the WordPress option is set to allow them. I don’t know why the comment form is disabled.

    I’m receiving a lot of warnings like the next one. I’m thinking my situation is related to jetpack plugin. Jetpack Comments module is not activated.

    PHP Warning: call_user_func_array() []: First argument is expected to be a valid callback, ‘jpcarousel_auto_close_comments’ was given in …/httpdocs/wp-includes/plugin.php on line 199

    Thank you for any useful reply!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Jeremy Herve


    Jetpack Mechanic 🚀

    Jetpack doesn’t include any jpcarousel_auto_close_comments function. Did you, by any chance, try to add a custom function to automatically close comments on the Carousel view as we’ve explained here:

    If so, could you try to remove that function and see if it helps?

    Yes, the warning was generated by the following code:

    function jpcarousel_close_comments() {
    return false;
    add_filter( 'comments_open', 'jpcarousel_auto_close_comments');

    Thank you very much for your help!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘jpcarousel_auto_close_comments warning and closed comments’ is closed to new replies.