Coder Social home page Coder Social logo

[3.6.0] Call to undefined method WP_CLI::get_logger()“ at `./wp-content/plugins/decalog/includes/plugin/class-initializer.php:64`. about wp-decalog HOT 6 CLOSED

pierre-lannoy avatar pierre-lannoy commented on May 19, 2024
[3.6.0] Call to undefined method WP_CLI::get_logger()“ at `./wp-content/plugins/decalog/includes/plugin/class-initializer.php:64`.

from wp-decalog.

Comments (6)

Pierre-Lannoy avatar Pierre-Lannoy commented on May 19, 2024

Hi Jan!
Sorry to hear that. I haven't seen this behavior in all my tests…
Can you tell me what version of wp-cli you use?

from wp-decalog.

JanThiel avatar JanThiel commented on May 19, 2024

WP-CLI 2.5.0

from wp-decalog.

JanThiel avatar JanThiel commented on May 19, 2024

Nothing bad happened yet :-) That's what test envs are for.

from wp-decalog.

Pierre-Lannoy avatar Pierre-Lannoy commented on May 19, 2024

😅

Do you have the opportunity to update wp-cli? I must admit I made all my tests on the current version…

from wp-decalog.

JanThiel avatar JanThiel commented on May 19, 2024

Sure, just updated it to WP-CLI 2.6.0. Seems to fix it.

But there might be outdated WP-CLI versions out there in the wild as well. It's not that WP-CLI is very pushy about letting you know there are updates available. Nor are there any real issues with running older versions. Until know ;-)

I will close this issue but think you should add a function_exists around this code path to prevent this on other systems.

Thanks for pointing me to the new WP-CLI update :-)

from wp-decalog.

Pierre-Lannoy avatar Pierre-Lannoy commented on May 19, 2024

Ahaha, I double agree:

you should add a function_exists around this code path to prevent this on other systems

Glad it's now ok for you. I will publish a new version (3.6.1) as soon as I collected and fixed all bugs of this new version.
Thanks a lot ❤️

from wp-decalog.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.