Skip to:
Content
Pages
Categories
Search
Top
Bottom

Parameter 1 valid call back error


  • justplaindoug
    Participant

    @justplaindoug

    I am running wp cli on a site but every time I perform any wp cli command including simply “wp” I get a string of warnings as long as buddypress is activated.

    PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘_return_false’ not found or invalid function name in /websites/test.dev/wp-includes/plugin.php on line 235

    I am running current versions of WordPress, WP CLI and BuddyPress.

Viewing 3 replies - 1 through 3 (of 3 total)

  • Paul Gibbs
    Keymaster

    @djpaul

    Unfortunately, that error message isn’t super-useful to pinpoint where the problem might be.
    On my dev environment, I have no trouble running WP-CLI commands.

    What theme are you using? What other plugins are active?


    justplaindoug
    Participant

    @justplaindoug

    Buddy press is the source of the problem. When I deactivate it the error goes away. There is a lot of themes and plugins installed, and I have deactived everything except buddypress and get the error.


    Paul Gibbs
    Keymaster

    @djpaul

    It’ll be BuddyPress in conjunction with something else. What theme are you using? What other plugins are active?

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