[wp-trac] [WordPress Trac] #43952: Database error inserting cron job on fresh install

WordPress Trac noreply at wordpress.org
Thu May 3 21:05:49 UTC 2018


#43952: Database error inserting cron job on fresh install
-----------------------------+--------------------
 Reporter:  iandunn          |      Owner:  (none)
     Type:  defect (bug)     |     Status:  new
 Priority:  high             |  Milestone:  4.9.6
Component:  Upgrade/Install  |    Version:
 Severity:  normal           |   Keywords:  gdpr
  Focuses:                   |
-----------------------------+--------------------
 A database error occurs when installing a fresh copy of `trunk` (and
 presumably the `4.9` branch).

 {{{
 WordPress database error: [Table 'wordpress_develop.wp_options' doesn't
 exist]
 INSERT INTO `wp_options` (`option_name`, `option_value`, `autoload`)
 VALUES ('cron',
 'a:2:{i:1525380534;a:1:{s:34:\"wp_privacy_delete_old_export_files\";a:1:{s:32:\"40cd750bba9870f18aada2478b24840a\";a:3:{s:8:\"schedule\";s:6:\"hourly\";s:4:\"args\";a:0:{}s:8:\"interval\";i:3600;}}}s:7:\"version\";i:2;}',
 'yes') ON DUPLICATE KEY UPDATE `option_name` = VALUES(`option_name`),
 `option_value` = VALUES(`option_value`), `autoload` = VALUES(`autoload`)
 }}}

 [https://wordpress.slack.com/archives/C02RQBWTW/p1525380600000431 Reported
 in Slack], props @helen for catching it.

 `wp_schedule_delete_old_privacy_export_files()` should be returning early
 during the install phase, but it's not. The bug was introduced in r43046.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/43952>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list