• For anyone still using this plug-in to check PHP compatibility up to PHP 7.3, although using PHP 7.4, or PHP 8.0 on your machine, you will encounter fatal errors with the present plugin version. Thus with PHP 8.0:

    PHP Fatal error:  Array and string offset access syntax with curly braces is no longer supported in /wp-content/plugins/php-compatibility-checker/vendor/squizlabs/php_codesniffer/CodeSniffer/CLI.php on line 453
    PHP Fatal error:  Array and string offset access syntax with curly braces is no longer supported in /wp-content/plugins/php-compatibility-checker/vendor/squizlabs/php_codesniffer/CodeSniffer/CLI.php on line 459
    PHP Fatal error:  Array and string offset access syntax with curly braces is no longer supported in /wp-content/plugins/php-compatibility-checker/vendor/squizlabs/php_codesniffer/CodeSniffer/CLI.php on line 739
    PHP Fatal error:  Array and string offset access syntax with curly braces is no longer supported in /wp-content/plugins/php-compatibility-checker/vendor/squizlabs/php_codesniffer/CodeSniffer.php on line 2028
    PHP Fatal error:  Array and string offset access syntax with curly braces is no longer supported in /wp-content/plugins/php-compatibility-checker/vendor/squizlabs/php_codesniffer/CodeSniffer.php on line 2033

    If you wish to fix this issue, it is one of the easiest to fix. Go to the respective line in the files and simply repace the curly brackets { } with square brackets [ ]
    Save the files after making the changes and you should be back in business.

    • This topic was modified 3 years, 3 months ago by Malae.
    • This topic was modified 3 years, 3 months ago by Malae.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘PHP Fatal error: curly braces deprecated in PHP 7.4 and no longer supported’ is closed to new replies.