Viewing 7 replies - 16 through 22 (of 22 total)
  • This is what they have on their forum

    We have had a few users report issue with this function, so we thought we would create a FAQ explaining what is going on here.

    This usually emanates from activating a new plugin where the new plugin is is adding a filter on the_title, like the “standard_process_link_post_format_title” function within Standard is too.

    The error here is that the plugin is not passing in the second argument, the “id”, to the “the_title” filter. WordPress states, according to the Codex entry, that the second parameter, again the “id”, must be passed in as an argument and Standard enforces that.

    If you are experiencing issues with this error / warning, you will need to contact the plugin developers and ask them to fix the issue in their plugin to properly include the second argument.

    Of course we could “patch it” so that it “works”, but we have no plans to do that. We are not trying to be mean, but we are asking developers to code to a higher standard.

    Plugin Author Hector Cabrera

    (@hcabrera)

    I see. However that doesn’t explain why the bug doesn’t show up on WordPress’ Twenty Ten & Eleven themes which I use to test the plugin since these were built following WordPress’ coding standards.

    Funny, huh?

    I know…
    it’s bizarre. Plus, the error is occuring with a number of other plugins… some of which haven’t been updated in over two years.

    I was having this issue with the premium theme ‘Standard’ and fixed it by changing line 2769 of the functions.php theme file to:

    add_filter( ‘the_title’, $title, $id, ‘standard_process_link_post_format_title’, 10, 2 );

    I was having this same issue while integrating WooCommerce with my Standard theme. Tyler’s fix works perfectly:

    I was having this issue with the premium theme ‘Standard’ and fixed it by changing line 2769 of the functions.php theme file to:

    add_filter( ‘the_title’, $title, $id, ‘standard_process_link_post_format_title’, 10, 2 );

    jeremyers1

    (@jeremyers1)

    Tyler,

    I recently upgraded to Standard 3.2.2, and was having this problem, but the line number in functions.php seems to have changed. Do you know what the original filter looked like?

    I am guessing that the the original add_filter looked like this:
    add_filter( ‘the_title’, ‘standard_process_link_post_format_title’, 10, 2 );

    and you changed it to
    add_filter( ‘the_title’, $title, $id, ‘standard_process_link_post_format_title’, 10, 2 );

    Is that right? If so, it looks like it is now on line 3097

    Even then, I cannot seem to get it work.

    jeremyers1

    (@jeremyers1)

    It looks like my problem was actually a plugin conflict… The problem was with “Combine JS” plugin, by Convoy. I disabled that plugin, and all is back to normal now.

Viewing 7 replies - 16 through 22 (of 22 total)
  • The topic ‘[Plugin: WordPress Popular Posts] Strange error message – plug in not working’ is closed to new replies.