{"id":19009816,"date":"2026-09-02T15:48:59","date_gmt":"2026-09-02T15:48:59","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/php-notice-implicitly-marking-parameter-key-as-nullable-is-deprecated\/"},"modified":"2026-09-02T15:48:59","modified_gmt":"2026-09-02T15:48:59","slug":"php-notice-implicitly-marking-parameter-key-as-nullable-is-deprecated","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/php-notice-implicitly-marking-parameter-key-as-nullable-is-deprecated\/","title":{"rendered":"PHP Notice: Implicitly marking parameter $key as nullable is deprecated"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">.\/wp-content\/plugins\/elementor\/modules\/global-classes\/atomic-global-styles.php::410<br \/><br \/>get_cache_root_key(): Implicitly marking parameter $key as nullable is deprecated.<br \/><br \/>This deprecation notice occurs in PHP 8.4+ because assigning <code>= null<\/code> to a typed parameter without explicitly declaring it as nullable (<code>?type<\/code> or <code>type|null<\/code>) is no longer permitted.<br \/><br \/><strong>How to Fix Line 410<\/strong><br \/><br \/>Change the method signature on line 410 from:<br \/><code>private function get_cache_root_key( string $key = null ) : string {<\/code><br \/><br \/>To:<br \/><code>private function get_cache_root_key( ?string $key = null ) : string {<\/code><\/p>\n","protected":false},"template":"","class_list":["post-19009816","topic","type-topic","status-publish","hentry","topic-tag-deprecated","topic-tag-deprecation","topic-tag-notice","topic-tag-php"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/19009816","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/19009816\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=19009816"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}