There is no any line related the error but it says critical error

You could try the following wp-config.php setup – note WP writes to the file wp-content/debug.log – this config also stops any errors from being rendered to the browser. Note that setting the constant WP_DISABLE_FATAL_ERROR_HANDLER to true enables you to disabled the default WP error screen. // Disable display of errors and warnings @ini_set(‘display_errors’,0); define( ‘WP_DEBUG_LOG’, … Read more

what are WP_DEBUG conditions?

Any messages you are seeing with the debug output should be resolved. These often point to holes in the current logic within your theme. If your goal is to submit the theme to the WordPress Theme Directory you have to resolve any PHP errors, warnings, or notices for the theme to be approved. Themes must … Read more

WordPress Cron job, 302 response

The problem here is a mistake regarding how to schedule a cron event, lets begin with: wp_schedule_event(time(), ‘hourly’, ‘my_schedule_hook’, $args); wp_schedule_event(time(), ‘hourly’, ‘update_user_hours’); Here you are telling WordPress to fire the update_user_hours action/event on an hourly basis. You then hook into this to fire a callback: add_action(‘update_user_hours’, ‘do_this_hourly’); But then, instead of declaring do_this_hourly, for … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)