Title: Deprecated PHP &#8211; Errors and Warnings
Last modified: September 30, 2021

---

# Deprecated PHP – Errors and Warnings

 *  [Malae](https://wordpress.org/support/users/malae/)
 * (@malae)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/deprecated-php-errors-and-warnings/)
 * It was encouraging to see an update of this plug-in, giving hope for further 
   development. However, dissapointing for those using PHP 8, that no attention 
   was paid to the information I posted 2 months ago giving fixes for the errors
   caused by the deprecated curly brackets issue. These fixes still need to be made
   in the updated version.
 * `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 lines 453, 459 and 739 as in the previous
   version, but also now in lines 780 and 874 in the updated version. Also `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 lines 2028 and 2033 as in the previous version, but also 
   in line 2079 in the updated version. After the above correction was made in line
   2033, a new error appeared: `PHP Parse error: syntax error, unexpected token ";"
   in wp-content/plugins/php-compatibility-checker/vendor/squizlabs/php_codesniffer/
   CodeSniffer.php on line 2034.` This is caused by a missing parenthesis near the
   end of line 2033, which may be corrected by adding a parenthesis in line 2033
   as follows: `if (strtoupper($string[$i] === $string[$i])) {`

The topic ‘Deprecated PHP – Errors and Warnings’ is closed to new replies.

 * ![](https://ps.w.org/php-compatibility-checker/assets/icon-256x256.png?rev=1446087)
 * [PHP Compatibility Checker](https://wordpress.org/plugins/php-compatibility-checker/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/php-compatibility-checker/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/php-compatibility-checker/)
 * [Active Topics](https://wordpress.org/support/plugin/php-compatibility-checker/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/php-compatibility-checker/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/php-compatibility-checker/reviews/)

## Tags

 * [deprecated.php](https://wordpress.org/support/topic-tag/deprecated-php/)
 * [errors](https://wordpress.org/support/topic-tag/errors/)
 * [php 8](https://wordpress.org/support/topic-tag/php-8/)
 * [warnings](https://wordpress.org/support/topic-tag/warnings/)

 * 0 replies
 * 1 participant
 * Last reply from: [Malae](https://wordpress.org/support/users/malae/)
 * Last activity: [4 years, 8 months ago](https://wordpress.org/support/topic/deprecated-php-errors-and-warnings/)
 * Status: not resolved