Version 2.0.8 throws fatal error in PHP 8.1
-
After updating the WPCode plugin to its latest version, it throws the following fatal error:
[21-Feb-2023 14:34:27 UTC] PHP Fatal error: Uncaught TypeError: method_exists(): Argument #1 ($object_or_class) must be of type object|string, array given in /home/MYSITE/public_html/wp-content/plugins/insert-headers-and-footers/includes/class-wpcode-error.php:90When I go down from PHP 8.1 to 7.3 it works ok (so for now I’ve done that though I would prefer to run on 8.1).
Any suggestions?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Version 2.0.8 throws fatal error in PHP 8.1’ is closed to new replies.