[wp-trac] [WordPress Trac] #54883: "Table 'wp_options' doesn't exist" error thrown when installing WordPress on PHP 8.1.
WordPress Trac
noreply at wordpress.org
Sun Jan 23 17:42:12 UTC 2022
#54883: "Table 'wp_options' doesn't exist" error thrown when installing WordPress
on PHP 8.1.
-----------------------------+------------------------
Reporter: maythamalsudany | Owner: (none)
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Upgrade/Install | Version: 5.8.3
Severity: normal | Resolution: duplicate
Keywords: php81 | Focuses:
-----------------------------+------------------------
Comment (by hellofromTonya):
Hello @maythamalsudany,
Welcome to WordPress Core's Trac! Thank you for this ticket.
As @costdev noted, this issue is fixed in WordPress 5.9 release (releasing
on 25 Jan 2022). See #52825.
In PHP 8.1, the default error handling of MySQLi extension changed from
silent to fatal error. This is fixed in 5.9 by turning off error reporting
as Core has its own error reporting and graceful handling of database
errors.
For more information:
* [https://make.wordpress.org/core/2022/01/10/wordpress-5-9-and-
php-8-0-8-1/#php-8-1-mysqli-default-error-mode-changed PHP 8.1 MySQLi
default error mode changed] in the WordPress 5.9 and PHP 8.0-8.1 dev note.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/54883#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list