Fatal Error: Maximum execution time…wp-db.php
-
I am building my first WP site in an Xampp localhost environment, and am learning more than I wanted to know (ha!). I am not from IT.
I’m not able to complete the database OPTIMIZATION using the following settings:
a) Optimize InnoDB tables too [yes]
b) all tables are UNchecked. No exclusions, so ALL tables are to be OPTIMIZED.Three times I have received the following result:
Fatal error: Maximum execution time of 30 seconds exceeded in C:\xampp\htcos\wordpress\wp-includes\wp-db.php on line 1877
Line 1877 is the *second line* in the code excerpt below:
if ( ! empty( $this->dbh ) && $this->use_mysqli ) {
$this->result = mysqli_query( $this->dbh, $query );
} elseif ( ! empty( $this->dbh ) ) {
$this->result = mysql_query( $query, $this->dbh );There appear to be 47 tables in my database. The OPTIMIZATION process halts showing the 15th table optimized: wp_posts
See screen capture image at this URL:
https://bothbarrels.net/optimize/fatal-error15.jpgI’m not sure how to terminate the OPTIMIZATION operation, so I just log out of WordPress. I hope that is not causing a problem. I let the process run for more than one hour the first time and the progress spinner just kept spinning, but nothing appeared to be happening. When I finally logged outi the optimization results were at table 19…I think.
Today I tried OPTIMIZING just 4 tables at a time. Then I ran the OPTIMIZATION on the next four tables, and so on until I had OPTIMIZED all 47 tables. It seemed to work.
Please advise, and please let me know if you need further information.
Thank you,
Tom
- The topic ‘Fatal Error: Maximum execution time…wp-db.php’ is closed to new replies.