WP Cron events not firing.

  • Unknown's avatar

    Hi there,

    Recently migrated a shared hosted site to an office private server (Linux Apache / PHP 8 / MySQL) using a migrate plugin. Since doing so I have noticed troubles with scheduled cron jobs. I am using the plugin WP Control to keep track of cron jobs to see what is failing.

    Screenhot:
    https://ibb.co/cCMVL6W
    – You can see that some events do fire.

    Server error log.
    PHP Warning: require_once(/home/cpuser/public_html/wp-config.php): Failed to open stream: Permission denied in /home/cpuser/public_html/wp-load.php on line 50
    thrown in /home/cpuser/public_html/wp-load.php on line 50
    #0 /home/cpuser/public_html/wp-cron.php(44): require_once()
    PHP Fatal error: Uncaught Error: Failed opening required ‘/home/cpuser/public_html/wp-config.php’ (include_path=’.:/opt/cpanel/ea-php80/root/usr/share/pear’) in /home/cpuser/public_html/wp-load.php:50

    The file “wp-cron.php” does exist.

    Thank you in advance for any help you can share.

  • Unknown's avatar
    robertfudge676852975 · Member ·

    More log errors…

    PHP Fatal error: Uncaught Error: Failed opening required ‘/home/cpuser/public_html/wp-config.php’ (include_path=’.:/opt/cpanel/ea-php80/root/usr/share/pear’) in /home/cpuser/public_html/wp-load.php:50
    PHP Warning: require_once(/home/cpuser/public_html/wp-config.php): Failed to open stream: Permission denied in /home/cpuser/public_html/wp-load.php on line 50
    thrown in /home/cpuser/public_html/wp-load.php on line 50
    #0 /home/cpuser/public_html/wp-cron.php(44): require_once()
    PHP Fatal error: Uncaught Error: Failed opening required ‘/home/cpuser/public_html/wp-config.php’ (include_path=’.:/opt/cpanel/ea-php80/root/usr/share/pear’) in /home/cpuser/public_html/wp-load.php:50
    PHP Warning: require_once(/home/cpuser/public_html/wp-config.php): Failed to open stream: Permission denied in /home/cpuser/public_html/wp-load.php on line 50
    thrown in /home/cpuser/public_html/wp-load.php on line 50
    #0 /home/cpuser/public_html/wp-cron.php(44): require_once()

  • Hi @robertfudge676852975,

    I’m afraid that we can’t help directly because your site is not with WordPress.com managed hosting. As such, we don’t have the ability to take a closer look at your site.

    Instead, your host uses open-source WordPress.org software, which differs from what we offer here on WordPress.com.

    The good news though is that help is available in the WordPress.org forums: https://wordpress.org/support/forum/how-to-and-troubleshooting/

    Otherwise, you may want to contact your host for further support.

  • Unknown's avatar
    robertfudge676852975 · Member ·

    Thank you

  • The topic ‘WP Cron events not firing.’ is closed to new replies.