First, if there no upcoming events (i.e., no events or only past events published), the Events archive page loads. However, there is a “Subscribe to calendar” button that appears beneath the event listings. When clicked, a dropdown menu is supposed to appear. The dropdown menu does not appear when I have the Author Personal Blog theme activated. It does appear if I switch to the Twenty Twenty-Four theme. There is a similar issue with the “Add to calendar” button that appears beneath a single event.
Second, if there are any upcoming events, the Events archive page will not load at all when the Author Personal Blog theme is active and I get a “PHP Fatal error: Allowed memory size of 134217728 bytes exhausted … ” error. I tried increasing the memory limit to 256M and above, but then the archive page would still not load and I got a “PHP Fatal error: Maximum execution time of 30 seconds exceeded …” error. I also tried increasing the execution time to 180s, but the error persists. Again, this does not happen if I switch to the Twenty Twenty-Four theme.
The errors vary regarding exact scripts and line numbers. Here are a few examples from my error log using different versions of PHP on the server and memory limit set to 256M:
PHP 8.3.8: PHP Fatal error: Maximum execution time of 30 seconds exceeded in /home/user/public_html/sandbox/wpsite/wp-includes/plugin.php on line 179
PHP 8.3.8: PHP Fatal error: Maximum execution time of 30 seconds exceeded in /home/user/public_html/sandbox/wpsite/wp-includes/class-wp-hook.php on line 315
PHP 8.3.8: PHP Fatal error: Maximum execution time of 30 seconds exceeded in /home/user/public_html/sandbox/wpsite/wp-includes/class-wp-hook.php on line 323
PHP 8.2.20: PHP Fatal error: Maximum execution time of 30 seconds exceeded in /home/user/public_html/sandbox/wpsite/wp-content/plugins/the-events-calendar/common/src/Tribe/Context.php on line 394
PHP 8.2.20: PHP Fatal error: Maximum execution time of 30 seconds exceeded in /home/user/public_html/sandbox/wpsite/wp-content/plugins/the-events-calendar/src/Tribe/Views/V2/View.php on line 1403
PHP 8.2.20: PHP Fatal error: Maximum execution time of 30 seconds exceeded in /home/user/public_html/sandbox/wpsite/wp-content/plugins/the-events-calendar/src/Events/Custom_Tables/V1/WP_Query/Modifiers/Events_Only_Modifier.php on line 111
PHP 8.1.29: PHP Fatal error: Maximum execution time of 30 seconds exceeded in /home/user/public_html/sandbox/wpsite/wp-content/plugins/the-events-calendar/common/vendor/vendor-prefixed/lucatume/di52/src/Builders/ClassBuilder.php on line 86
PHP 8.1.29: PHP Fatal error: Maximum execution time of 30 seconds exceeded in /home/user/public_html/sandbox/wpsite/wp-content/plugins/the-events-calendar/src/Tribe/Event_Status/Event_Status_Provider.php on line 187
PHP 8.1.29: PHP Fatal error: Maximum execution time of 30 seconds exceeded in /home/user/public_html/sandbox/wpsite/wp-content/plugins/the-events-calendar/src/Tribe/Views/V2/View.php on line 1405
PHP 8.0.30: PHP Fatal error: Maximum execution time of 30 seconds exceeded in /home/user/public_html/sandbox/wpsite/wp-content/plugins/the-events-calendar/common/vendor/vendor-prefixed/lucatume/di52/src/Builders/Resolver.php on line 325
PHP 8.0.30: PHP Fatal error: Maximum execution time of 30 seconds exceeded in /home/user/public_html/sandbox/wpsite/wp-content/plugins/the-events-calendar/src/Tribe/Service_Providers/Context.php on line 53
PHP 8.0.30: PHP Fatal error: Maximum execution time of 30 seconds exceeded in /home/user/public_html/sandbox/wpsite/wp-includes/plugin.php on line 173
PHP 7.4.33: PHP Fatal error: Maximum execution time of 30 seconds exceeded in /home/user/public_html/sandbox/wpsite/wp-includes/class-wp-hook.php on line 323
PHP 7.4.33: PHP Fatal error: Maximum execution time of 30 seconds exceeded in /home/user/public_html/sandbox/wpsite/wp-includes/class-wp-hook.php on line 323
PHP 7.4.33: PHP Fatal error: Maximum execution time of 30 seconds exceeded in /home/user/public_html/sandbox/wpsite/wp-content/plugins/the-events-calendar/src/Tribe/Service_Providers/Context.php on line 58
I have also deactivated other plugins, so all that is running is the Author Personal Blog theme and the events plugin.
My client really wants to use the Author Personal Blog theme and I also need to use The Events Calendar plugin. I have submitted a request for help in the support forum for the Author Personal Blog theme, but I have yet to receive a reply. Could someone help me figure out what is causing these issues?
I do not wish to share URLs as I’m working on my own test site that I do not want public. I can share the site link privately with someone if possible.
Thank you.
]]>First, if there no upcoming events (i.e., no events or only past events published), the Events archive page loads. However, there is a “Subscribe to calendar” button that appears beneath the event listings. When clicked, a dropdown menu is supposed to appear. The dropdown menu does not appear when I have this theme activated. It does appear if I switch to the Twenty Twenty-Four theme. There is a similar issue with the “Add to calendar” button that appears beneath a single event.
Second, if there are any upcoming events, the Events archive page will not load at all when this theme is active and I get a “PHP Fatal error: Allowed memory size of 134217728 bytes exhausted … ” error. I tried increasing the memory limit to 256M, but then the archive page would still not load and I got a “PHP Fatal error: Maximum execution time of 30 seconds exceeded …” error. Again, this does not happen if I switch to the Twenty Twenty-Four theme.
I have also deactivated other plugins, so all that is running is this theme and the events plugin.
My client really wants to use this theme and I also need to use The Events Calendar plugin, which is a pretty popular plugin. Could someone help me figure out what is causing these issues?
I do not wish to share URLs as I’m working on my own test site that I do not want public. I can share the site link privately with someone if possible.
Thank you.
]]>Yoast SEO plugin has a filter to remove schema, that they say should be added in functions.php.
add_filter( 'wpseo_json_ld_output', '__return_false' );
The code is shown for completeness. The question is not about Yoast or the code. It works in functions.php. However when put in a WPCode snippet it doesn’t work. Why is that? I’m guessing it runs too late (?). I place it in the header with priority 0. Is there a way to make it run earlier?
Or is it something else?
Hope you can advise. Thank you.
]]>I hope this message finds you well. I’m reaching out to seek assistance with a persistent issue we’ve been encountering on our WordPress website, specifically the page
Issue Description: Our website page is consistently encountering a “Maximum Execution Time Exceeded” error. We have made several attempts to resolve this issue, but unfortunately, none of our solutions have proven effective.
Best Regards
David,
]]>However this plugin does some stuff at the beginning of enhanced-tooltipglossary.php and manages to set a timeout of 300 seconds, that gets hit during a long CLI operation:
Fatal error maximium execution time of 300 seconds reached.
Could you guys fix this and maybe ensure to execute that code when sapi is not “cli”?
Thanks
]]>The change I’ve made in .htaccess is:
This addition is at the very end of .htaccess file.
The timeout happens sporadically – about once per month. The previous one that I’ve had was:
I was using Printful for around 2 years without problems and now I am getting this error:
Failed! The request couldn’t process fast enough, please increase the maximum execution time on your server. If that doesn’t help, check your server error logs.
Printful told me that I would need to reach out to my web hosts and request increasing server maximum execution time.
They did, the error remains and my host say I should contact with the support of the plugin and Printful say I have to look for a different hosting, like Siteground…
What would you do in my situation?
]]>When I tryed using freehosting.com server, it’s working perfect!
but I hate freehosting availbility times…
how can i compare between those two sites and know what is the parameters i should change on the hostinger server.
i have aroud 1000 products, I tryed in parts – still, the problem countinue.
I noticed that when I upload the CSV to the hostinger site he shows “Maximum size: 128 MB” and for the freehosting.com site, he shows max-512Mb
float(1619642237)
["O:26:"Rhubarb\RedisCache\Metrics":8:{s:2:"id";s:7:"7eb65b0";s:4:"hits";i:897;s:6:"misses";i:3;s:5:"ratio";d:99.7;s:5:"bytes";i:468576;s:4:"time";d:0.00466;s:5:"calls";i:19;s:9:"timestamp";i:1619642238;}"]=>
float(1619642238)
["O:26:"Rhubarb\RedisCache\Metrics":8:{s:2:"id";s:7:"7fc6566";s:4:"hits";i:571;s:6:"misses";i:2;s:5:"ratio";d:99.7;s:5:"bytes";i:466558;s:4:"time";d:0.00343;s:5:"calls";i:14;s:9:"timestamp";i:1619642239;}"]=>
float(1619642239)
["O:26:"Rhubarb\RedisCache\Metrics":8:{s:2:"id";s:7:"815d03e";s:4:"hits";i:571;s:6:"misses";i:2;s:5:"ratio";d:99.7;s:5:"bytes";i:466558;s:4:"time";d:0.00374;s:5:"calls";i:14;s:9:"timestamp";i:1619642241;}"]=>
Can you please provide details on how can this be achieved, like we are able to see from wp-admin?
]]>