• Resolved davidtrebacz

    (@davidtrebacz)


    I’m getting this error after the most recent update to Version 2.17.

    Warning: call_user_func_array() expects parameter 1 to be a valid callback, class ‘LH_archived_post_status_plugin’ does not have a method ‘maybe_exclude_related’ in SITE/wp-includes/class-wp-hook.php on line 298

    This is happening on our test and production site. Disabling the plugin makes it go away. Link is to our staging site, where it is enabled…

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Andrew

    (@andrewkantor)

    Ditto — same issue as soon as we updated.

    Plugin Author shawfactor

    (@shawfactor)

    I’ll fix tomorrow, I think I left a filter in there from sone testing.

    Should only appear if you have strict error reporting on though, please confirm?

    Thread Starter davidtrebacz

    (@davidtrebacz)

    I turned off php 7.0 strict error reporting and the error still surfaced on pages.

    Plugin Author shawfactor

    (@shawfactor)

    Weird, I would not have thought is twas kickjing off errors without error reporting on (its not on my sites)

    Anyway that bug is now gone, in version 2.18.

    Thanks for the heads up

    Thread Starter davidtrebacz

    (@davidtrebacz)

    Thanks for the quick fix (and an awesome plugin)! Applied the update on my sites – and all is good. Especially since it wasn’t raised in all setups. In my case it showed publically in all three of my environments.

    Plugin Author shawfactor

    (@shawfactor)

    Yes it was not showing on my prod sites but fixed.

    Thank you for the heads up

    If you ever need any custom plugin development please feel free to contact me on:

    shawfactor at gmail dot com

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Error after latest update – to Version 2.17’ is closed to new replies.