WordPress.org

Ready to get started?Download WordPress

Forums

Menu Timeout (3 posts)

  1. mohityadavx
    Member
    Posted 2 years ago #

    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
  2. That's a XAMPP issue with php timeout; ask in the XAMPP forums on how to change it in your php.ini

    http://www.apachefriends.org/f/viewforum.php?f=34

  3. Gagan Deep Singh
    Member
    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic