[wp-trac] [WordPress Trac] #54579: WordPress database error Unknown column 'wp_' in 'field list'
WordPress Trac
noreply at wordpress.org
Sun Dec 5 06:20:47 UTC 2021
#54579: WordPress database error Unknown column 'wp_' in 'field list'
-----------------------------+-----------------------------
Reporter: maythamalsudany | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 5.8.2
Severity: normal | Keywords:
Focuses: |
-----------------------------+-----------------------------
When trying to install WordPress (setup-config.php), after entering the
database details and pressing 'Submit', WordPress says that 'There has
been a critical error on this website.'
Apache's error log:
{{{
[php:error] [pid 18811] [client 127.0.0.1:36932] PHP Fatal error:
Uncaught mysqli_sql_exception: Unknown column 'wp_' in 'field list' in
/var/www/mylocalsite.com/wp-includes/wp-db.php:2056
Stack trace:
#0 /var/www/mylocalsite.com/wp-includes/wp-db.php(2056): mysqli_query()
#1 /var/www/mylocalsite.com/wp-includes/wp-db.php(1945): wpdb->_do_query()
#2 /var/www/mylocalsite.com/wp-admin/setup-config.php(317): wpdb->query()
#3 {main}
thrown in /var/www/mylocalsite.com/wp-includes/wp-db.php on line 2056,
referer: http://mylocalsite.com/wp-admin/setup-config.php?step=1
}}}
I am running Ubuntu 20.04, PHP 8.1.0, MySQL 8.0.27, Apache 2.4.41
--
Ticket URL: <https://core.trac.wordpress.org/ticket/54579>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list