• Resolved justin-bigscoots

    (@justin-bigscoots)


    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.
    
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Pierre Lannoy

    (@pierrelannoy)

    First of all, hello – it doesn’t cost anything ??

    The error you see is due to the fact you’re trying to enforce PHP version… DecaLog works only with PHP 8.1 or higher. You’re looking to run it with PHP 7 and that can’t work.

    @pierrelannoy

    The TasteWP demo site in the plugin description gets the same error. The demo site is completely inaccessible. If the plugin is incompatible with PHP 7.x, can you implement a PHP version check to prevent Decalog activation with a notification that PHP must be upgraded to PHP 8.1+?

    • This reply was modified 9 months, 3 weeks ago by jazir5.
    • This reply was modified 9 months, 3 weeks ago by jazir5.
    Plugin Author Pierre Lannoy

    (@pierrelannoy)

    It is already implemented by WordPress. You can not install/update it via wp admin as the plugin header specify 8.1 as minimal requirement…

    And it’s displayed wherever possible…

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Make compatible with WP CLI’ is closed to new replies.