wordpress local installation error: uncaught mysqli_sql_exception error

recently I installed a new wordpress installation using laragon.

but after opening homepage I got this error:

Fatal error: Uncaught mysqli_sql_exception: Table ‘wp1.wp_options’ doesn’t exist

I checked PHPMyAdmin and the database existed but the installation page didn’t show up.

after searching on the web for a few minutes I found out it was because of the PHP version 8.1.

changing PHP 8.1 to 7.4 fixed the issue.

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *