PHP warning with PHP 8.x
-
Hi,
on PHP 8.x I can produce
PHP message: PHP Warning: Undefined array key “length” in /home/wp/disk/wordpress/wp-content/plugins/insert-headers-and-footers/includes/class-wpcode-snippet-execute.php(268) : eval()’d code on line 25
when running this PHP snippet:
class myClass {
}
new myClass;on WooCommerce product pages (only).
Could you help me find out, what’s the issue (in real life, the code is for sure different, but I was able to narrow it down).
Thanks
Markus
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘PHP warning with PHP 8.x’ is closed to new replies.