• Hi Evolve Theme Team,
    I have a WordPress site running on WordPress 6.2.4 and PHP 8.2.27 (my organization is not able to update to the latest versions at the moment). When I install and activate the Evolve Theme, Version 4.3.7, on the site, the following “Deprecation” message appears, which also appears on the front-end:
    “Deprecated: Creation of dynamic property Evolve_Theme_Support::$data is deprecated in /home/site/wwwroot/procureit/wp-content/themes/evolve/inc/support.php on line 20”.
    Could you please advise if there are any workarounds I can implement to resolve this?
    Thanks,
    Matthew Huntley

Viewing 3 replies - 1 through 3 (of 3 total)
  • Theme Author Evgeny Viner

    (@evgenyviner)

    Hi! Please set the bug display on false in wp-config.php. Go to the file, find the following line and change true to false. Or add it, if it’s not there. If you have any questions, please let ne know.

    define(‘WP_DEBUG_DISPLAY’, false);

    Thread Starter matthewdhuntley

    (@matthewdhuntley)

    Hi @evgenyviner, thanks for the feedback.
    Would there happen to be any other workarounds for this issue? The reason I ask is because we think it’s risky to set WP_DEBUG_DISPLAY to false, in the event the errors/warnings that get printed to the screen are useful and could point us toward more fatal issues/problematic code.
    Thanks,
    Matthew Huntley

    Theme Author Evgeny Viner

    (@evgenyviner)

    Hi. Sorry for the delay. I missed your answer. Regardless of this specific issue, I would suggest not using warnings and error displays on a live website, in any case, open for all visitors to see. You can log everything into a debug.log file by adding the following to your wp-config.php:
    define( ‘WP_DEBUG_LOG’, true );
    define( ‘WP_DEBUG’, true );
    define( ‘WP_DEBUG_DISPLAY’, false );

    I hope it helps.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘“Deprecated” messages affecting front-end’ is closed to new replies.