SVG Support advanced settings trigger WP error under latest WP ver (PHP 8)
-
Hey there SVG Support.
I have noticed this error in my WordPress local dev environment. It runs on PHP 8, and I have noticed I get this message only if I check the “advanced settings” checkbox.
WP_Scripts::localize was called incorrectly. The $l10n parameter must be an array. To pass arbitrary data to scripts, use the wp_add_inline_script() function instead. Please see Debugging in WordPress for more information. (This message was added in version 5.7.0.) in [local URL]\wp-includes\functions.php on line 5313
Any idea if that’s something you can fix? Thanks!
Viewing 13 replies - 1 through 13 (of 13 total)
Viewing 13 replies - 1 through 13 (of 13 total)
- The topic ‘SVG Support advanced settings trigger WP error under latest WP ver (PHP 8)’ is closed to new replies.