Tell us what you are trying to do?
After adding a simple wp-conditional block to a page ( hidden link), built using blocks, I can't access this page anymore. Not even edit it (to check the block). Tried to turn off various plugins but problem seems to be in Toolset.
I get this in the debug log:
PHP Fatal error: Maximum execution time of 300 seconds exceeded in /var/www/vhosts/konferensrumsdatabasen.se/httpdocs/wp-content/plugins/toolset-blocks/embedded/inc/wpv-conditional.php on line 911
Site has currently WP-DEBUG switched on.
Is there any documentation that you are following? No
Is there a similar example that we can see? No
What is the link to your site? hidden link
Hi,
Thank you for contacting us and I'd be happy to assist.
To start troubleshooting, I'll recommend increasing the server's Maximum Execution Time to a higher value, for example, "900".
( ref: hidden link )
On the page itself, I also see some warnings and errors coming from third-party plugins "css-javascript-toolbox" and "insert-php".
It would be a good idea to test the page with all non-Toolset plugins disabled and a default theme like Twenty Twenty One. If it's fixed, you can start adding the disabled items, one by one, to narrow down to a possible conflicting one.
I hope this helps and please let me know how it goes.
regards,
Waqar
Well, there might of course be an error in my code since it's a system in development but I don't think that's the problem here. Because even when I deactivated all plugins, except the Toolset plugins, and set theme set to Twenty Twenty One I couldn't even edit the page in the WP backend (it freezed the browser in some kind of endless loop). And I know the only thing I did to the page was to add a simple conditional block checking if the post body content was empty.
Anyway, I got it to work by also deactivating the toolset plugins. I could then edit the page and roll back one version. Then activate all things again. So everything works now but there's still this feeling this is a bug in Toolset and it could could return.
Regards
/Jesper
Thanks for the update and glad that it is working now.
In case you experience this issue again (for this or any other page), I'll recommend sharing a clone/snapshot of the website with the issue, so that we can see and troubleshoot it on our test server.
( ref: https://toolset.com/faq/provide-supporters-copy-site/ )
Note: Even if this issue reappears, after this ticket has been closed, you can start a new one and include this ticket's link in it.