Skip to:
Content
Pages
Categories
Search
Top
Bottom

call_user_func_array() expects parameter 1 to be valid callback


  • JohnRDOrazio
    Participant

    @lwangaman

    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

    @robin-w

    post =- topic ? reply ? both?

    just stated happening or always been the case ?


    JohnRDOrazio
    Participant

    @lwangaman

    just started happening. post = topic.


    JohnRDOrazio
    Participant

    @lwangaman

    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

    @robin-w

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


    Robin W
    Moderator

    @robin-w

    can you list other bbpress related plugins you have


    JohnRDOrazio
    Participant

    @lwangaman

    Just “bbPress Do Short Codes”.


    Robin W
    Moderator

    @robin-w

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


    JohnRDOrazio
    Participant

    @lwangaman

    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

    @robin-w

    great – thanks for reporting back


    JohnRDOrazio
    Participant

    @lwangaman

    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

    @robin-w

    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