Skip to:
Content
Pages
Categories
Search
Top
Bottom

call_user_func_array() expects parameter 1 to be valid callback

  • @lwangaman

    Participant

    I am seeing this error in the posts when posting / updating a post:

    Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘publish_topics’ not found or invalid function name in …/wp-includes/class-wp-hook.php on line 287

    Am using WordPress 5.4.1, Buddypress 6.0.0, bbPress 2.6.5, and PHP 7.1.33 .

Viewing 11 replies - 1 through 11 (of 11 total)
  • @robin-w

    Moderator

    post =- topic ? reply ? both?

    just stated happening or always been the case ?

    @lwangaman

    Participant

    just started happening. post = topic.

    @lwangaman

    Participant

    Actually is also showing on replies, not just the opening topic post. So post = both, topic + reply.
    I might add that my forums are set as private, so only users registered to the website and allowed to the forums are able to see and post in them. I’m not sure if that has anything to do with this new error…
    Here is a screenshot:

    bbpress error

    @robin-w

    Moderator

    so maybe new to 2.6.5? I’ll take a look when I get a moment.

    @robin-w

    Moderator

    can you list other bbpress related plugins you have

    @lwangaman

    Participant

    Just “bbPress Do Short Codes”.

    @robin-w

    Moderator

    ok, I’m not seeing this issue – can you as a test deactivate bbpress do shortcodes and then retest

    @lwangaman

    Participant

    I can confirm that the problem is in bbpress do shortcodes, I will leave it deactivated for the time being and will open a ticket on the plugin support forum.

    @robin-w

    Moderator

    great – thanks for reporting back

    @lwangaman

    Participant

    After having disabled the ”bbPress Do Shortcodes” plugin I am seeing that shortcodes are now actually being interpreted in Topics without the plugin. I’m guessing that came with the recent updates to bbPress? I am seeing however that when using double brackets, which usually escapes shortcodes so that they’re not interpreted, they still seem to be partially interpreted in bbPress topics creating an error. If I use html entities instead of double brackets I am able to post a shortcode literally without it being interpreted.

    @robin-w

    Moderator

    ok, thanks for that update

Viewing 11 replies - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.
Skip to toolbar