Deprecated code / Out of date Twig
-
Following updating a server to PHP 7.4, and using Shield 8.7.0 I am getting a lot of the following error across the site:
Deprecated: array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead in /path/to/my/www/html/assets/plugins/wp-simple-firewall/src/lib/vendor/twig/twig/src/Template.php on line 607
I am not sure what version of Twig you are including in the plugin, as it appears to have the information stripped out of it. I believe the latest version of Twig does has had this patched though.
Are you able to update the packaged version of Twig in the plugin to bring it up-to-date with PHP compatibility?
Thank you!
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Deprecated code / Out of date Twig’ is closed to new replies.