I am trying to: Edit the default single template of post type "Företag".
Link to a page where the issue can be seen: You need to be admin on the site to do this. This is the URL: hidden link
I expected to see: The usual edit version of the page.
Instead, I got: Page hangs and finally gives this error: Fatal error: Maximum execution time of 300 seconds exceeded in /customers/d/0/6/usinde.se/httpd.www/sverigeshundforetagare/wp-content/plugins/toolset-blocks/embedded/inc/wpv-conditional.php on line 852
and at one time this error:
Fatal error: Maximum execution time of 300 seconds exceeded in /customers/d/0/6/usinde.se/httpd.www/sverigeshundforetagare/wp-includes/class-wp-hook.php on line 208 Warning: Trying to access array offset on value of type bool in /customers/d/0/6/usinde.se/httpd.www/sverigeshundforetagare/wp-content/fatal-error-handler.php on line 176 Warning: Trying to access array offset on value of type bool in /customers/d/0/6/usinde.se/httpd.www/sverigeshundforetagare/wp-content/fatal-error-handler.php on line 188 Warning: Trying to access array offset on value of type bool in /customers/d/0/6/usinde.se/httpd.www/sverigeshundforetagare/wp-content/fatal-error-handler.php on line 201
I've tried to put the View in debug but since it hangs I don't get anything.
I've disabled all relevant plugins except Blocks and Types. Still get the error. I've also disabled all custom code.
Hi,
I followed your suggestions but get an error using Cloudways (see image).
However, my site is a developer site (but production site has same problem though) so you can work with it directly if you want to.
Is it ok if I try to do the copy to our server?
As it will give a better idea if the server has anything to do with the issue or not.
Thanks.
Hi there,
We tried two times to do the copy but it failed.
Is there a chance that you could provide us with the staging version of the website so we can do troubleshooting there without the fear of disrupting a live website?
Thanks.
Hi,
that's strange. It's on a "standard" webhotel.
Anyway, the site (hidden link) is my staging site so go ahead and work on it directly. I think you got the login details previously.
Hi there,
Thank you I managed to find a workaround which I explained here:
hidden link
I went to WordPress Dashboard > Toolset > Content Templates and hovered over the content template in question and clicked the "Duplicate" option and the duplicate content template works correctly and can be edited.
Thanks.
Hi Christopher,
I finally checked your solution (after the holiday) and it seems to work as you say. Something must have messed up the template but as long as there is a workaround it's not a big problem for me.
I really like Toolset but sometimes complex templates (or more often Views) have given me some problem where the real problem is hard to locate/debug. In those cases I wish there was a simple way to turn off blocks or sections to find the culprit.