• ./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 = null to a typed parameter without explicitly declaring it as nullable (?type or type|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)
  • Plugin Support Rica

    (@ricav)

    Hi @isaac-ribeiro,

    In most cases, deprecation notices are informational and do not affect the overall functionality of the website. With that in mind, to prevent PHP errors, warnings, and deprecation notices from appearing on your website, you can set display_errors to 0.

    Before making any changes, we recommend having a full backup of your website and, if possible, testing the changes on a staging site first.

    If using wp-config.php, add the following above the /* That’s all, stop editing! Happy publishing. */ line:

    @ini_set( ‘display_errors’, 0 );
    define( ‘WP_DEBUG’, false );
    define( ‘WP_DEBUG_DISPLAY’, false );
    define( ‘WP_DEBUG_LOG’, true );

    This will hide the notices from visitors while still allowing errors to be logged for troubleshooting.

    Please note that custom PHP code and server configuration changes are outside the scope of our support. The above is provided as general guidance, and any implementation is at your own discretion. If you’re unsure about making these changes, we recommend consulting your hosting provider.

    Please let us know if you need any further assistance with Elementor. We’ll be happy to help.

    Best regards,



Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.