Hey I have been using wordpress with bold theme by elegant themes. I have installed wordpress on my local machine using XAMPP. The problem is the menu bar which I am is using has 23 items and is working fine but the problem is I want to remove one of these item from the menu but when I try to do so I am getting timeout error and hence not able to save the menu. Error is as follows:-
Fatal error: Maximum execution time of 60 seconds exceeded in C:\xampp\htdocs\wordpress\wp-includes\class-http.php on line 1106
Faced similar situation while importing a long script with so many external links. It can happen when a plugin/theme is using a function ‘wp_get_http’ which explicitly defines timeout limit to 60 seconds, so even if we add a line set_time_limit(0) or write it in php.ini, it won’t matter as the function changes that right before calling the actual function to fetch the file. As far as I’ve seen it can’t even be overridden by any action or filter, so had to change it manually in functions.php before starting the script.
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Menu Timeout’ is closed to new replies.