Support » Fixing WordPress » wp-cron error

  • Resolved Alex

    (@amunoz)


    I recently disabled the wp-cron in WP and added it as a cron job in order to make it run more regularly and reliably. That being said, when I added the cron job, my installation emails me the output of that job. I never noticed this issue before but now I get:

    WordPress database error Duplicate column name ‘blog_id’ for query ALTER TABLE wp_page_expiry_info ADD blog_id BIGINT NOT NULL made by require_once(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘wp-settings.php’), include_once(‘/plugins/page-expiration-robot/expirer.php’)

    I removed the blog_id in the DB as I was hoping because it said require_once it would just execute once when it doesn’t exist. Well. The blog_id was created successfully, but since that, I am getting the same error again. I looked in the expirer.php for that query and disabled it, but then I get another error

    WordPress database error Query was empty for query made by require_once(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘wp-settings.php’), include_once(‘/plugins/page-expiration-robot/expirer.php’)

    Any help is welcome.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘wp-cron error’ is closed to new replies.