Fatal error after 5.0.7 update

Can you please help urgently?

Please find the error message below.
I have managed to open the page once, so currently it is available form cache. Still cannot edit the page in builder:

I deactivated plugins one by one, but without any result. The same page on 5.0.6 works fine and opens in builder.

Fatal error: Maximum execution time of 30 seconds exceeded in /home/users/webs/globeeu/wp-content/themes/pro/cornerstone/includes/classes/Tss/Functions/BuiltInFunction.php on line 41 Call Stack: 0.0000 368720 1. {main}() /home/users/webs/globeeu/index.php:0 0.0001 369000 2. require(’/home/users/webs/globeeu/wp-blog-header.php’) /home/users/webs/globeeu/index.php:17 0.7576 21999240 3. require_once(’/home/users/webs/globeeu/wp-includes/template-loader.php’) /home/users/webs/globeeu/wp-blog-header.php:19 0.7670 22129304 4. apply_filters() /home/users/webs/globeeu/wp-includes/template-loader.php:104 0.7671 22129712 5. WP_Hook->apply_filters() /home/users/webs/globeeu/wp-includes/plugin.php:189 0.7671 22131248 6. Cornerstone_Front_End->setup_after_template_include() /home/users/webs/globeeu/wp-includes/class-wp-hook.php:303 0.7671 22131248 7. do_action() /home/users/webs/globeeu/wp-content/themes/pro/cornerstone/includes/classes/common/class-front-end.php:46 0.7671 22131624 8. WP_Hook->do_action() /home/users/webs/globeeu/wp-includes/plugin.php:470 0.7671 22131624 9. WP_Hook->apply_filters() /home/users/webs/globeeu/wp-includes/class-wp-hook.php:327 0.7958 23474184 10. Cornerstone_Element_Front_End->post_loaded() /home/users/webs/globeeu/wp-includes/class-wp-hook.php:301 0.8396 24192696 11. Themeco\Cornerstone\Services\Elements->registerEntityStyles() /home/users/webs/globeeu/wp-content/themes/pro/cornerstone/includes/classes/element/class-element-front-end.php:147 0.8808 27473376 12. Themeco\Cornerstone\Services\Tss->registerEntity() /home/users/webs/globeeu/wp-content/themes/pro/cornerstone/includes/classes/Services/Elements.php:42 0.8808 27474072 13. Themeco\Cornerstone\Util\PostMetaCache->resolve() /home/users/webs/globeeu/wp-content/themes/pro/cornerstone/includes/classes/Services/Tss.php:108 0.8810 27474072 14. Themeco\Cornerstone\Services\Tss->Themeco\Cornerstone\Services{closure:/home/users/webs/globeeu/wp-content/themes/pro/cornerstone/includes/classes/Services/Tss.php:69-108}() /home/users/webs/globeeu/wp-content/themes/pro/cornerstone/includes/classes/Util/PostMetaCache.php:20 1.0329 30002888 15. array_map() /home/users/webs/globeeu/wp-content/themes/pro/cornerstone/includes/classes/Services/Tss.php:99 1.0329 30003264 16. Themeco\Cornerstone\Services\Tss->Themeco\Cornerstone\Services{closure:/home/users/webs/globeeu/wp-content/themes/pro/cornerstone/includes/classes/Services/Tss.php:82-97}() /home/users/webs/globeeu/wp-content/themes/pro/cornerstone/includes/classes/Services/Tss.php:99 1.0331 30006080 17. array_map() /home/users/webs/globeeu/wp-content/themes/pro/cornerstone/includes/classes/Services/Tss.php:95 1.0331 30006456 18. Themeco\Cornerstone\Services\Tss->Themeco\Cornerstone\Services{closure:/home/users/webs/globeeu/wp-content/themes/pro/cornerstone/includes/classes/Services/Tss.php:82-97}() /home/users/webs/globeeu/wp-content/themes/pro/cornerstone/includes/classes/Services/Tss.php:95 1.2021 30508184 19. array_map() /home/users/webs/globeeu/wp-content/themes/pro/cornerstone/includes/classes/Services/Tss.php:95 1.5897 31257720 20. Themeco\Cornerstone\Services\Tss->Themeco\Cornerstone\Services{closure:/home/users/webs/globeeu/wp-content/themes/pro/cornerstone/includes/classes/Services/Tss.php:82-97}() /home/users/webs/globeeu/wp-content/themes/pro/cornerstone/includes/classes/Services/Tss.php:95 1.6589 31442592 21. array_map() /home/users/webs/globeeu/wp-content/themes/pro/cornerstone/includes/classes/Services/Tss.php:95 1.6589 31442968 22. Themeco\Cornerstone\Services\Tss->Themeco\Cornerstone\Services{closure:/home/users/webs/globeeu/wp-content/themes/pro/cornerstone/includes/classes/Services/Tss.php:82-97}() /home/users/webs/globeeu/wp-content/themes/pro/cornerstone/includes/classes/Services/Tss.php:95 1.7959 31606184 23. array_map() /home/users/webs/globeeu/wp-content/themes/pro/cornerstone/includes/classes/Services/Tss.php:95 28.7602 36707176 24. Themeco\Cornerstone\Services\Tss->Themeco\Cornerstone\Services{closure:/home/users/webs/globeeu/wp-content/themes/pro/cornerstone/includes/classes/Services/Tss.php:82-97}() /home/users/webs/globeeu/wp-content/themes/pro/cornerstone/includes/classes/Services/Tss.php:95 28.9624 34193576 25. array_map() /home/users/webs/globeeu/wp-content/themes/pro/cornerstone/includes/classes/Services/Tss.php:95 29.7934 35377296 26. Themeco\Cornerstone\Services\Tss->Themeco\Cornerstone\Services{closure:/home/users/webs/globeeu/wp-content/themes/pro/cornerstone/includes/classes/Services/Tss.php:82-97}() /home/users/webs/globeeu/wp-content/themes/pro/cornerstone/includes/classes/Services/Tss.php:95 29.7934 35377368 27. Themeco\Cornerstone\Tss\Runtime->process() /home/users/webs/globeeu/wp-content/themes/pro/cornerstone/includes/classes/Services/Tss.php:92 30.0052 35600384 28. Themeco\Cornerstone\Tss\Runtime->module() /home/users/webs/globeeu/wp-content/themes/pro/cornerstone/includes/classes/Tss/Runtime.php:62 30.0660 35660304 29. Themeco\Cornerstone\Tss\Runtime->runModuleForBreakpoint() /home/users/webs/globeeu/wp-content/themes/pro/cornerstone/includes/classes/Tss/Runtime.php:126 30.0660 35673024 30. Themeco\Cornerstone\Tss\Runtime->runModuleStatements() /home/users/webs/globeeu/wp-content/themes/pro/cornerstone/includes/classes/Tss/Runtime.php:161 30.0667 35675728 31. Themeco\Cornerstone\Tss\Stack->processStatements() /home/users/webs/globeeu/wp-content/themes/pro/cornerstone/includes/classes/Tss/Runtime.php:174 30.0825 35691520 32. Themeco\Cornerstone\Tss\Statements\FlowIf->process() /home/users/webs/globeeu/wp-content/themes/pro/cornerstone/includes/classes/Tss/Stack.php:101 30.0825 35691520 33. Themeco\Cornerstone\Tss\Evaluator->resolve() /home/users/webs/globeeu/wp-content/themes/pro/cornerstone/includes/classes/Tss/Statements/FlowIf.php:15 30.0826 35691600 34. Themeco\Cornerstone\Tss\Operations\FunctionCall->run() /home/users/webs/globeeu/wp-content/themes/pro/cornerstone/includes/classes/Tss/Evaluator.php:50 30.0827 35691600 35. Themeco\Cornerstone\Tss\Operations\FunctionCall->resolveCallable() /home/users/webs/globeeu/wp-content/themes/pro/cornerstone/includes/classes/Tss/Operations/FunctionCall.php:36 30.0827 35691600 36. Themeco\Cornerstone\Tss\Operations\FunctionCall->parseArguments() /home/users/webs/globeeu/wp-content/themes/pro/cornerstone/includes/classes/Tss/Traits/Call.php:20 30.0837 35693456 37. Themeco\Cornerstone\Tss\Evaluator->resolve() /home/users/webs/globeeu/wp-content/themes/pro/cornerstone/includes/classes/Tss/Traits/Call.php:74 30.0838 35693536 38. Themeco\Cornerstone\Tss\Operations\FunctionCall->run() /home/users/webs/globeeu/wp-content/themes/pro/cornerstone/includes/classes/Tss/Evaluator.php:50 30.0839 35693536 39. Themeco\Cornerstone\Tss\Functions\BuiltInFunction::make() /home/users/webs/globeeu/wp-content/themes/pro/cornerstone/includes/classes/Tss/Operations/FunctionCall.php:28 30.0840 35693536 40. Themeco\Cornerstone\Tss\Functions\BuiltInFunction::identify() /home/users/webs/globeeu/wp-content/themes/pro/cornerstone/includes/classes/Tss/Functions/BuiltInFunction.php:33

Hello @Marcin_Podwojski,

Thanks for writing to us.

It seems that is an issue with PHP memory. I would suggest you Increase Php Memory Limit. Please make sure your PHP version is 7.4 as per our version compatibility page. Please note it is also recommended by WordPress as well. Please have a look at this article.

I would suggest you troubleshoot with a few of the common issues before we investigate your settings.

  1. Testing For Theme Related Issue
  2. Testing For Plugin Conflict
  3. Theme Update
  4. Child Theme
  5. Css/Js Customization
  6. Increasing Php Memory Limit
  7. Disabling Cache
  8. Disabling Cdn
  9. Permalinks
  10. Version Compatibility

If none of those work, It would be best if you could copying your live website to your staging area. and send your details in a secure note so that we can investigate your setting without breaking your live site. Please provide the following details

  • WordPress Login URL
  • Admin level username and password
  • FTP Details

You can find the Secure Note button at the bottom of your posts

Thanks

Increasing max_execution_time on the server resolved the problem. Something has changed between 5.0.6 and 5.0.7. Please kindly have a closer look. Thanks!

Hello Marcin,

We really appreciate for letting us know that increasing the max_execution_time in your server has resolved the problem. And yes, we will look into it.

Cheers.

1 Like

I am still experiencing performance issues and occasional problems loading builders.
Here are some errors I could find in the server logs:

too much stderr received from server “/home/users/php-fpm/globepl/test.globe-traveller.pl/fpm.external”, increase FCGI_SERVER_MAX_STDERR_LINE_LEN (1023) and rebuild or use “\n” to terminate lines, referer: http://test.globe-traveller.pl/cornerstone/content/109

too much stderr received from server “/home/users/php-fpm/globepl/test.globe-traveller.pl/fpm.external”, increase FCGI_SERVER_MAX_STDERR_LINE_LEN (1023) and rebuild or use “\n” to terminate lines, referer: http://test.globe-traveller.pl/cornerstone/headers/15

Any ideas?

Regards
Marcin

Hi Marcin,

It seems some server setting is the reason behind your issues, I would suggest you contact your Hosting Service provide on this.

Thanks

Thanks. I am in contact with Hosting Service provider, and they have sent me the error messages. Any suggestions which server settings they should change?

Regards
Marcin

Hi Marcin,

Unfortunately, giving suggestion on server or hosting issues are beyond the scope of theme support.

Thanks

If you do not mind, I tend to disagree… :slight_smile:
The problem started after 5.0.6 -> 5.0.7 update. 5.0.8 did not resolve it. If you read the log I have provided in the secure note, you will see the errors refer to Cornerstone php execution.
I would really appreciate someone had a closer look as this might not only help me get back to work more efficient way but possibly prevent some future performance problems for others.

Regards
Marcin

Hi Marcin,

You are quite correct that a few issues are refer to the Cornerstone file execution but that all are specifying some settings variable that are not related to the theme and we can’t resolve those through the Theme files. That is why those are beyond the scope of our theme support.
As these variables are related to Server Settings and we don’t have any control on those, your Hosting Service provider can only help on this.

Thanks

@Marcin_Podwojski have you checked the PHP version that you’re running? I had to several sites from 7 as it wasn’t compatible. Might be worth trying out as it fixed the problems for me.

Hi @Gingerfizz_Marketing,

Thanks for expressing your views on it. My colleague Prakash has already mentioned the PHP version that is required for this version of Theme already in his post.

Although this issue is related to some of the Server Settings, I would request to update the PHP version to 7.4 if that is not updated yet and check if that resolves your issue.

Thanks

Thank you @Gingerfizz_Marketing and @tristup. PHP version is 7.4.8.
The hosting provider has changed some setting and there are no more errors in the log, however the performance is far from being perfect :frowning:

Hello @Marcin_Podwojski,

Glad to know that things are well for you. Please feel free to open a new thread if you have any more concerns regarding our theme and theme settings.

Thanks

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.