[wp-trac] [WordPress Trac] #42362: WordPress database error Unknown column 'wp_mywordpresssite' in 'field list'

WordPress Trac noreply at wordpress.org
Sat May 9 16:10:46 UTC 2020


#42362: WordPress database error Unknown column 'wp_mywordpresssite' in 'field
list'
--------------------------+-----------------------------
 Reporter:  lazam786      |       Owner:  SergeyBiryukov
     Type:  defect (bug)  |      Status:  reviewing
 Priority:  normal        |   Milestone:  Future Release
Component:  Database      |     Version:  4.6
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+-----------------------------

Comment (by mdrago):

 Been 2 days fighting with this same problem...

 Scenario:
  - Windows 2019, clean install (IIS 10)
  - PHP 7.4.5 nts
  - MySQL 8.0.20 (also tried with 5.7, same error)
  - WP 5.4.1

 To solve the issue you must edit your php.ini in your PHP folder:
   display_errors = On
   error_log = php_errors.log

 Setting **error_log** solves the issue... I guess that when **error_log**
 has no value (default configuration), PHP decides to send the error back
 to the calling program, resulting in the error message **column 'wp_' in
 'field list'** during the WP installation.

 Suggestion:
 During the installation process, the WP installer should check that PHP is
 configured correctly to continue with the installation.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/42362#comment:30>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list