• dlmerriam

    (@dlmerriam)


    I have been trying to activate woocommerce 2.6.7 on one of the sites on my multisite. Every time I activate it, as soon as I go past the initial setup question, whether I start the setup process or not, I get the error on every subsequent page on the back end of that site.

    Fatal error: Maximum execution time of 30 seconds exceeded in /home2/dmerriam/public_html/wp-includes/wp-db.php on line 1053

    The line number varies from 1052 to 1058

    I tried increasing the max_execution_time to 60, then 90, then 300. At 300 I get a 500 error. I have tried setting it up several times without any additional plugins active on twentysixteen.

    The network activated plugins are:
    BulletProof Security
    Cloner
    Domain Mapping
    ManageWP – Worker
    Moderation
    Multi-Domains for Multisite
    Multisite Enhancements
    Multisite Toolbar Additions
    Remember Me Checked
    Remove Query String From CSS & Javascript In WordPress
    Snapshot
    Update Services
    User Switching
    Wordfence Security
    WP Hummingbird
    WP Smush Pro
    WP Super Cache
    WPMU DEV Dashboard

    I know you can’t cover every possible plugins, but are any of these known to cause a problem? I can’t find a list anywhere. I’ve also tried with themes that I know work with Woo.

Viewing 5 replies - 1 through 5 (of 5 total)
  • AITpro

    (@aitpro)

    That PHP error can mean a lot of things besides literally that you need to increase your Maximum execution time. 30 seconds is plenty of time:

    Recommended Setting: 30
    Description: This sets the maximum time in seconds a script is allowed to run before it is terminated by the parser. This helps prevent poorly written scripts from tying up the server. The default setting is 30.

    So by increasing your maximum execution time then you are most likely making the problem worse. Logically there is some code/script that is causing the problem. So what you want to do is standard WP troubleshooting steps: Deactivate all of your other plugins and then try to activate WooCommerce. That will tell you whether or not another plugin or plugin conflict is the cause of the problem or if there is a script in WooCommerce that is not happy with something about your host server/server config/settings. You also want to check your wp-config.php file and make sure WP_DEBUG is not set to true/On.

    • This reply was modified 8 years ago by AITpro.
    AITpro

    (@aitpro)

    Also since you have the BPS plugin installed > go to the BPS System Info page and check your PHP configuration memory limit vs how much memory all of plugins/themes/WP are using. 128M or 256M are optimum PHP memory limits.

    • This reply was modified 8 years ago by AITpro.
    • This reply was modified 8 years ago by AITpro.
    Thread Starter dlmerriam

    (@dlmerriam)

    Already did that … set to 256M ??

    AITpro

    (@aitpro)

    Ok do standard WP troubleshooting steps to isolate where the problem is occurring.

    Plugin Support con

    (@conschneider)

    Engineer

    Hi there,

    As for standard WordPress troubleshooting steps.
    I wrote a help article on how to check for conflict and similar common issue scenarios here: https://conschneider.de/how-to-check-and-resolve-conflict-in-wordpress-and-woocommerce/ – it includes a checklist which you might find helpful.

    best regards

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘max_execution_time error’ is closed to new replies.