PHP Notice: Implicitly marking parameter $key as nullable is deprecated
-
./wp-content/plugins/elementor/modules/global-classes/atomic-global-styles.php::410
get_cache_root_key(): Implicitly marking parameter $key as nullable is deprecated.
This deprecation notice occurs in PHP 8.4+ because assigning= nullto a typed parameter without explicitly declaring it as nullable (?typeortype|null) is no longer permitted.
How to Fix Line 410
Change the method signature on line 410 from:private function get_cache_root_key( string $key = null ) : string {
To:private function get_cache_root_key( ?string $key = null ) : string {
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
You must be logged in to reply to this topic.