how to fix issues in error log

Can you please tell me how to fix the issues in this error log?

  • Dimitris

    Hello cornelius_butler

    This is happening because some plugin or theme is using a deprecated PHP function, so some code rewrite should be made to follow latest PHP versions. As the error message itself doesn't show to us the source file though, you should perform a conflict test in order to narrow this down. Another workaround would be to enable WP_DEBUG using the following snippet

    // Enable WP_DEBUG mode
    define('WP_DEBUG', true);
    // Enable Debug logging to the /wp-content/debug.log file
    define('WP_DEBUG_LOG', true);
    @ini_set( 'log_errors', 1 );
    // Disable display of errors and warnings
    define('WP_DEBUG_DISPLAY', false);
    @ini_set('display_errors', 0);

    just above the /* That's all, stop editing! Happy blogging. */ comment in wp-config.php file, then install and activate the Debug Bar plugin
    which include some backtrace information in its debug messages and should reveal to you the source of this message.

    Warm regards,

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.