[wp-trac] [WordPress Trac] #53871: Database errors on installation

WordPress Trac noreply at wordpress.org
Wed Aug 4 08:42:33 UTC 2021


#53871: Database errors on installation
--------------------------+-----------------------------
 Reporter:  bugnumber9    |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  5.8
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 The following errors are logged in PHP error log during installation:

 {{{
 [04-Aug-2021 08:33:47 UTC] WordPress database error Unknown column 'wp_'
 in 'field list' for query SELECT wp_
 [04-Aug-2021 08:33:47 UTC] WordPress database error Incorrect table name
 '' for query INSERT INTO `` (`option_name`, `option_value`, `autoload`)
 VALUES ('nonce_key',
 'vg_!Z2{kS%>2}8HYQ2$tJBgx.%vQy2*LxtqCa7=>JQpQ6wOs4vpZjOajJl^$<QbW', 'no')
 ON DUPLICATE KEY UPDATE `option_name` = VALUES(`option_name`),
 `option_value` = VALUES(`option_value`), `autoload` = VALUES(`autoload`)
 made by wp_print_scripts, wp_scripts, WP_Scripts->__construct,
 WP_Scripts->init, do_action_ref_array('wp_default_scripts'),
 WP_Hook->do_action, WP_Hook->apply_filters, wp_default_scripts,
 wp_create_nonce, wp_hash, wp_salt, update_site_option,
 update_network_option, add_network_option, add_option
 [04-Aug-2021 08:33:47 UTC] WordPress database error Incorrect table name
 '' for query INSERT INTO `` (`option_name`, `option_value`, `autoload`)
 VALUES ('nonce_salt', '3 g|1IXHd?6yz/5&jJ<%^~LGMF-
 O5dGSEy.*4;=;|P~[]A&I(J!SL2v:9Vc{t?*m', 'no') ON DUPLICATE KEY UPDATE
 `option_name` = VALUES(`option_name`), `option_value` =
 VALUES(`option_value`), `autoload` = VALUES(`autoload`) made by
 wp_print_scripts, wp_scripts, WP_Scripts->__construct, WP_Scripts->init,
 do_action_ref_array('wp_default_scripts'), WP_Hook->do_action,
 WP_Hook->apply_filters, wp_default_scripts, wp_create_nonce, wp_hash,
 wp_salt, update_site_option, update_network_option, add_network_option,
 add_option
 }}}

 I was able to confirm this several times on 2 different servers. Those
 errors appear in the log after DB credentials screen when you get to "All
 right, sparky! You’ve made it through this part of the installation."
 screen.

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


More information about the wp-trac mailing list