Deprecated warning(s) in PHP8.2.4
-
I’m testing a site with PHP 8.2.4 and the GCB plugin generates a warning:
Deprecated: Using ${var} in strings is deprecated, use {$var} instead in?(path)\wp-content\plugins\genesis-custom-blocks\php\ComponentAbstract.php?on line?49
The line in question reads:
$function_name = "{$class_name}__${name}";
It’s easily changed to
{$name}
, so I have done that on my copy, just to get rid of the deprecation warning. Something for you to change in a future plugin update.
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Deprecated warning(s) in PHP8.2.4’ is closed to new replies.