Support » Alpha/Beta/RC » Fatal error in wp-includes\http.php and wp-db.php

  • ucallrt


    Here’s what I’m seeing on a regular basis when I save or publish a post:

    Fatal error: Maximum execution time of 30 seconds exceeded in C:\Inetpub\vhosts\\httpdocs\wp-includes\http.php on line 1006

    Fatal error: Maximum execution time of 30 seconds exceeded in C:\Inetpub\vhosts\\httpdocs\wp-includes\wp-db.php on line 359

    It’s not breaking anything, as I just hit “refresh” and it completes loading the page, but I certainly wouldn’t mind if it went away.

Viewing 1 replies (of 1 total)
  • Your server is either very slow and takes more than 30 seconds to process the query or 30 second time limit for script execution is too less. You should increase this limit.

    Search and modify this line in your php.ini file if you have access to your server (I guess you have based on the directory structure the error gives):

    max_execution_time = 30 ; Maximum execution time of each script, in seconds

    Another way is to add this code to your wp-config.php (might not work on all servers):

    set_time_limit (60); // replace 60 with value in seconds, use 0 for unlimited script execution time

    Third way is to set this in your wp-config.php:

    ini_set(‘max_execution_time’, 300); //300 seconds = 5 minutes

Viewing 1 replies (of 1 total)
  • The topic ‘Fatal error in wp-includes\http.php and wp-db.php’ is closed to new replies.