Open KittenCodes opened 3 years ago
The problem is caused by global variables. WP-CLI calls WP inside a function, the result is oxygen global vartiables aren't global for WP-CLI (reference: https://github.com/wp-cli/wp-cli/issues/4019). You can globalize $oxygen_signature variable in the signature.class.php as a workaround. Better solution is to avoid global varaibles and replace them with some class properties, but it requires to refactor bunch of code.
Posted by @yazzou
Hello I am trying to knwo what is delaying site load on one of the sites running with oxygen. I use WP-CLI for that with the performance tool called "profile"
whenever i tape wp profile i got this fatal php error :
PHP Fatal error: Uncaught Error: Call to a member function verify_signature() on null in /var/www/mysite.com/htdocs/wp-content/plugins/oxygen/component-framework/includes/tree-shortcodes.php:537 Stack trace: