• Resolved Gal Baras

    (@galbaras)


    I keep getting the following warning in my error_log file:

    Undefined property: stdClass::$new_version in /usr/local/cpanel/3rdparty/wp-toolkit/plib/vendor/wp-cli/vendor/wp-cli/extension-command/src/Plugin_Command.php on line 698

    How can I find out what’s running WP Cli and why the property is undefined? I’m not aware of it being run by anything on my site.

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator Jose Castaneda

    (@jcastaneda)

    THEME COFFEE MONKEY

    Hi there,

    First thing that comes to mind would be deactivating all plugins to see if that stops the error from being logged. If that does it means a plugin is causing that and you would need to activate one by one to see which one is suing WP CLI. If that doesn’t it could mean something is trying to call that file directly somehow.

    Hopefully that steers you in a good direction

    Thread Starter Gal Baras

    (@galbaras)

    Looks like this was related to the cPanel account’s WP Toolkit setup.

    Moderator Jose Castaneda

    (@jcastaneda)

    THEME COFFEE MONKEY

    Very interesting. Glad you were able to get a resolution though

    @galbaras

    Can you provide any details on how you resolved it?
    I’m getting the same error on just one of my websites on the server.

    Thread Starter Gal Baras

    (@galbaras)

    For some reason, my hosting provider had the WordPress Toolkit activated for my account(s), although I had it disabled in my hosting packages. This created some inconsistency, I guess.

    Once WordPress Toolkit was properly disabled, the problem went away.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Undefined property: stdClass::$new_version in Plugin_Command.php on line 698’ is closed to new replies.