• gettig a cron job error across the top of this site. I can’t log into thr control panel for WP but I have access to cpanel, any clues?

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • It looks like the site has enabled the disabling of the WordPress cron in the site’s wp-config.php file:
    https://ww.wp.xz.cn/support/article/editing-wp-config-php/#disable-cron-and-cron-timeout

    You’ll want to either comment out the define, remove the define, or change the true value to false

    It’s also possible that someone tried to add that define to a theme (or child theme) file. If that’s the case, you’ll probably want to remove it from the file. As that define was only meant to go in the site’s wp-config.php file.

    Thread Starter Cyberhick

    (@mandrakedar)

    Thank you

    Thread Starter Cyberhick

    (@mandrakedar)

    tried changing to false and commenting out no change

    define(‘WP_DEBUG’, false);
    /* That’s all, stop editing! Happy blogging. */
    /** Absolute path to the WordPress directory. */
    if ( !defined(‘ABSPATH’) )
    define(‘ABSPATH’, dirname(__FILE__) . ‘/’);
    /** Sets up WordPress vars and included files. */
    require_once(ABSPATH . ‘wp-settings.php’);
    /*?>define(‘DISABLE_WP_CRON’, ‘FALSE’);*/
    /*define(‘DISABLE_WP_CRON’, ‘FALSE’);*/
    /*define(‘DISABLE_WP_CRON’, ‘FALSE’);*/

    This actually got me in and am able to fix site – Thanks

    • This reply was modified 6 years, 8 months ago by Cyberhick.

    That ‘define’ is supposed to be above the “That’s all, stop editing! Happy blogging.” line.

    Thread Starter Cyberhick

    (@mandrakedar)

    Thanks guys, all fixe. Appreciate the prompt replies.

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

The topic ‘cron job error’ is closed to new replies.