PHP Fatal error: Maximum execution time of 55 seconds
-
I am getting the below error for multiple plugins while testing my website compatibility for PHP 7:
PHP Fatal error: Maximum execution time of 55 seconds
Some of the plugins are:
1. Ninja Forms
2. W3TC
3. Wordfence
4. YoastI changed the max_execution_time in all necessary files without any luck overriding that error:
1. user.ini
2. wp-config.php
3. global php.ini
4. .htacessFinally, I found a script on PHP compatibility GitHub for custom timeout, but this time the scan stuck on Ninja Forms plugin for 30 min. So I removed that custom timeout script and rerun the scan again to overcome the scan hang.
//Plugin Name: PHP Compatibility Custom Timeout
function custom_timeout( $timeout ) {
return 0;
}
add_filter( ‘wpephpcompat_scan_timeout’, ‘custom_timeout’, 10 );Any help found be appreciated
Regards
The page I need help with: [log in to see the link]
- The topic ‘PHP Fatal error: Maximum execution time of 55 seconds’ is closed to new replies.