<span class="resolved" aria-label="Resolved" title="Topic is resolved."></span>Make compatible with WP CLI

Replies: 1

You’re breaking all aspects of WP CLI 😑even if we attempt to skip loading the plugin

# wp option get siteurl --skip-plugins=decalog
PHP Parse error:  syntax error, unexpected '|', expecting variable (T_VARIABLE) in /home/nginx/domains/domain.com/public/wp-content/plugins/decalog/includes/api/class-logger.php on line 60
Parse error: syntax error, unexpected '|', expecting variable (T_VARIABLE) in /home/nginx/domains/domain.com/public/wp-content/plugins/decalog/includes/api/class-logger.php on line 60
Error: There has been a critical error on this website.Learn more about troubleshooting WordPress. There has been a critical error on this website.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer