Skip Navigation

[Resolved] Template No Longer Opens (Times out)

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Sao_Paulo (GMT-03:00)

This topic contains 13 replies, has 3 voices.

Last updated by Mateus Getulio 2 years ago.

Assisted by: Mateus Getulio.

Author
Posts
#2531997

I am trying to: open a Guttenberg template with a photo gallery

The template does not open in the admin, it renders fine at the front. When opening from the admin it times out. Making a duplicate and trying to open doesn't work either.

#2532057

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Hi there

Can you please check the browser console for errors, and also check your debug.log to look for PHP warnings or errors that may be linked to this.

If you haven't already, turn on the debug log by editing your wp-config.php file and change the line with WP_DEBUG like so:

define('WP_DEBUG', true);
define('WP_DEBUG_LOG', true);
define('WP_DEBUG_DISPLAY', false);
define('WP_DISABLE_FATAL_ERROR_HANDLER',true);

That will create a debug.log file in your /wp-content/ directory which you can examine in any text editor. Try editing the template again and then inspect the log. If you don't find the debug.log file it means it didn't generate any warnings or errors.

#2533719

This is the URL I tried accessing hidden link

1526 Template Get Photo Gallery — Block Editor

I got the following from that and I could not see anything:

[13-Jan-2023 14:46:54 UTC] PHP Notice: Undefined offset: 5264 in /home/k5ebrdc/public_html/wp-includes/nav-menu-template.php on line 211
[13-Jan-2023 14:46:54 UTC] PHP Notice: Undefined offset: 5264 in /home/k5ebrdc/public_html/wp-includes/nav-menu-template.php on line 211
[13-Jan-2023 14:46:55 UTC] PHP Notice: Undefined offset: 5264 in /home/k5ebrdc/public_html/wp-includes/nav-menu-template.php on line 211
[13-Jan-2023 14:46:55 UTC] PHP Notice: Undefined offset: 5264 in /home/k5ebrdc/public_html/wp-includes/nav-menu-template.php on line 211
[13-Jan-2023 14:46:55 UTC] PHP Notice: Undefined offset: 5264 in /home/k5ebrdc/public_html/wp-includes/nav-menu-template.php on line 211
[13-Jan-2023 14:46:55 UTC] PHP Notice: Undefined offset: 5264 in /home/k5ebrdc/public_html/wp-includes/nav-menu-template.php on line 211
[13-Jan-2023 14:47:04 UTC] PHP Warning: Illegal string offset 'type' in /home/k5ebrdc/public_html/wp-content/plugins/toolset-blocks/backend/Models/ContentTemplate/UsageCondition.php on line 129
[13-Jan-2023 14:47:04 UTC] PHP Warning: Illegal string offset 'value' in /home/k5ebrdc/public_html/wp-content/plugins/toolset-blocks/backend/Models/ContentTemplate/UsageCondition.php on line 130
[13-Jan-2023 14:47:04 UTC] PHP Warning: Illegal string offset 'label' in /home/k5ebrdc/public_html/wp-content/plugins/toolset-blocks/backend/Models/ContentTemplate/UsageCondition.php on line 131
[13-Jan-2023 14:47:04 UTC] PHP Warning: Illegal string offset 'type' in /home/k5ebrdc/public_html/wp-content/plugins/toolset-blocks/backend/Models/ContentTemplate/UsageCondition.php on line 129
[13-Jan-2023 14:47:04 UTC] PHP Warning: Illegal string offset 'value' in /home/k5ebrdc/public_html/wp-content/plugins/toolset-blocks/backend/Models/ContentTemplate/UsageCondition.php on line 130
[13-Jan-2023 14:47:04 UTC] PHP Warning: Illegal string offset 'label' in /home/k5ebrdc/public_html/wp-content/plugins/toolset-blocks/backend/Models/ContentTemplate/UsageCondition.php on line 131
[13-Jan-2023 14:47:04 UTC] PHP Warning: Illegal string offset 'type' in /home/k5ebrdc/public_html/wp-content/plugins/toolset-blocks/backend/Models/ContentTemplate/UsageCondition.php on line 129
[13-Jan-2023 14:47:04 UTC] PHP Warning: Illegal string offset 'value' in /home/k5ebrdc/public_html/wp-content/plugins/toolset-blocks/backend/Models/ContentTemplate/UsageCondition.php on line 130
[13-Jan-2023 14:47:04 UTC] PHP Warning: Illegal string offset 'label' in /home/k5ebrdc/public_html/wp-content/plugins/toolset-blocks/backend/Models/ContentTemplate/UsageCondition.php on line 131
[13-Jan-2023 14:47:04 UTC] PHP Warning: Illegal string offset 'type' in /home/k5ebrdc/public_html/wp-content/plugins/toolset-blocks/backend/Models/ContentTemplate/UsageCondition.php on line 129
[13-Jan-2023 14:47:04 UTC] PHP Warning: Illegal string offset 'value' in /home/k5ebrdc/public_html/wp-content/plugins/toolset-blocks/backend/Models/ContentTemplate/UsageCondition.php on line 130
[13-Jan-2023 14:47:04 UTC] PHP Warning: Illegal string offset 'label' in /home/k5ebrdc/public_html/wp-content/plugins/toolset-blocks/backend/Models/ContentTemplate/UsageCondition.php on line 131
[13-Jan-2023 14:47:04 UTC] PHP Warning: Illegal string offset 'type' in /home/k5ebrdc/public_html/wp-content/plugins/toolset-blocks/backend/Models/ContentTemplate/UsageCondition.php on line 129
[13-Jan-2023 14:47:04 UTC] PHP Warning: Illegal string offset 'value' in /home/k5ebrdc/public_html/wp-content/plugins/toolset-blocks/backend/Models/ContentTemplate/UsageCondition.php on line 130
[13-Jan-2023 14:47:04 UTC] PHP Warning: Illegal string offset 'label' in /home/k5ebrdc/public_html/wp-content/plugins/toolset-blocks/backend/Models/ContentTemplate/UsageCondition.php on line 131
[13-Jan-2023 14:47:04 UTC] PHP Warning: Illegal string offset 'type' in /home/k5ebrdc/public_html/wp-content/plugins/toolset-blocks/backend/Models/ContentTemplate/UsageCondition.php on line 129
[13-Jan-2023 14:47:04 UTC] PHP Warning: Illegal string offset 'value' in /home/k5ebrdc/public_html/wp-content/plugins/toolset-blocks/backend/Models/ContentTemplate/UsageCondition.php on line 130
[13-Jan-2023 14:47:04 UTC] PHP Warning: Illegal string offset 'label' in /home/k5ebrdc/public_html/wp-content/plugins/toolset-blocks/backend/Models/ContentTemplate/UsageCondition.php on line 131
[13-Jan-2023 14:47:04 UTC] PHP Warning: Illegal string offset 'type' in /home/k5ebrdc/public_html/wp-content/plugins/toolset-blocks/backend/Models/ContentTemplate/UsageCondition.php on line 129
[13-Jan-2023 14:47:04 UTC] PHP Warning: Illegal string offset 'value' in /home/k5ebrdc/public_html/wp-content/plugins/toolset-blocks/backend/Models/ContentTemplate/UsageCondition.php on line 130
[13-Jan-2023 14:47:04 UTC] PHP Warning: Illegal string offset 'label' in /home/k5ebrdc/public_html/wp-content/plugins/toolset-blocks/backend/Models/ContentTemplate/UsageCondition.php on line 131
[13-Jan-2023 14:47:04 UTC] PHP Warning: Illegal string offset 'type' in /home/k5ebrdc/public_html/wp-content/plugins/toolset-blocks/backend/Models/ContentTemplate/UsageCondition.php on line 129
[13-Jan-2023 14:47:04 UTC] PHP Warning: Illegal string offset 'value' in /home/k5ebrdc/public_html/wp-content/plugins/toolset-blocks/backend/Models/ContentTemplate/UsageCondition.php on line 130
[13-Jan-2023 14:47:04 UTC] PHP Warning: Illegal string offset 'label' in /home/k5ebrdc/public_html/wp-content/plugins/toolset-blocks/backend/Models/ContentTemplate/UsageCondition.php on line 131
[13-Jan-2023 14:47:05 UTC] PHP Warning: Illegal string offset 'type' in /home/k5ebrdc/public_html/wp-content/plugins/toolset-blocks/backend/Models/ContentTemplate/UsageCondition.php on line 129
[13-Jan-2023 14:47:05 UTC] PHP Warning: Illegal string offset 'value' in /home/k5ebrdc/public_html/wp-content/plugins/toolset-blocks/backend/Models/ContentTemplate/UsageCondition.php on line 130
[13-Jan-2023 14:47:05 UTC] PHP Warning: Illegal string offset 'label' in /home/k5ebrdc/public_html/wp-content/plugins/toolset-blocks/backend/Models/ContentTemplate/UsageCondition.php on line 131
[13-Jan-2023 14:47:05 UTC] PHP Warning: Illegal string offset 'type' in /home/k5ebrdc/public_html/wp-content/plugins/toolset-blocks/backend/Models/ContentTemplate/UsageCondition.php on line 129
[13-Jan-2023 14:47:05 UTC] PHP Warning: Illegal string offset 'value' in /home/k5ebrdc/public_html/wp-content/plugins/toolset-blocks/backend/Models/ContentTemplate/UsageCondition.php on line 130
[13-Jan-2023 14:47:05 UTC] PHP Warning: Illegal string offset 'label' in /home/k5ebrdc/public_html/wp-content/plugins/toolset-blocks/backend/Models/ContentTemplate/UsageCondition.php on line 131
[13-Jan-2023 14:47:05 UTC] PHP Warning: Illegal string offset 'type' in /home/k5ebrdc/public_html/wp-content/plugins/toolset-blocks/backend/Models/ContentTemplate/UsageCondition.php on line 129
[13-Jan-2023 14:47:05 UTC] PHP Warning: Illegal string offset 'value' in /home/k5ebrdc/public_html/wp-content/plugins/toolset-blocks/backend/Models/ContentTemplate/UsageCondition.php on line 130
[13-Jan-2023 14:47:05 UTC] PHP Warning: Illegal string offset 'label' in /home/k5ebrdc/public_html/wp-content/plugins/toolset-blocks/backend/Models/ContentTemplate/UsageCondition.php on line 131
[13-Jan-2023 14:47:05 UTC] PHP Warning: Illegal string offset 'type' in /home/k5ebrdc/public_html/wp-content/plugins/toolset-blocks/backend/Models/ContentTemplate/UsageCondition.php on line 129
[13-Jan-2023 14:47:05 UTC] PHP Warning: Illegal string offset 'value' in /home/k5ebrdc/public_html/wp-content/plugins/toolset-blocks/backend/Models/ContentTemplate/UsageCondition.php on line 130
[13-Jan-2023 14:47:05 UTC] PHP Warning: Illegal string offset 'label' in /home/k5ebrdc/public_html/wp-content/plugins/toolset-blocks/backend/Models/ContentTemplate/UsageCondition.php on line 131
[13-Jan-2023 14:47:05 UTC] PHP Notice: Trying to get property 'dynamic_sources_content_processed' of non-object in /home/k5ebrdc/public_html/wp-content/plugins/toolset-blocks/vendor/toolset/dynamic-sources/server/Sources/PostContent.php on line 62
[13-Jan-2023 14:47:05 UTC] PHP Warning: Creating default object from empty value in /home/k5ebrdc/public_html/wp-content/plugins/toolset-blocks/vendor/toolset/dynamic-sources/server/Sources/PostContent.php on line 67
[13-Jan-2023 14:47:05 UTC] PHP Notice: Undefined property: stdClass::$post_content in /home/k5ebrdc/public_html/wp-content/plugins/toolset-blocks/vendor/toolset/dynamic-sources/server/Sources/PostContent.php on line 68
[13-Jan-2023 14:47:05 UTC] PHP Warning: Illegal string offset 'type' in /home/k5ebrdc/public_html/wp-content/plugins/toolset-blocks/backend/Models/ContentTemplate/UsageCondition.php on line 129
[13-Jan-2023 14:47:05 UTC] PHP Warning: Illegal string offset 'value' in /home/k5ebrdc/public_html/wp-content/plugins/toolset-blocks/backend/Models/ContentTemplate/UsageCondition.php on line 130
[13-Jan-2023 14:47:05 UTC] PHP Warning: Illegal string offset 'label' in /home/k5ebrdc/public_html/wp-content/plugins/toolset-blocks/backend/Models/ContentTemplate/UsageCondition.php on line 131
[13-Jan-2023 14:47:05 UTC] PHP Warning: Illegal string offset 'type' in /home/k5ebrdc/public_html/wp-content/plugins/toolset-blocks/backend/Models/ContentTemplate/UsageCondition.php on line 129
[13-Jan-2023 14:47:05 UTC] PHP Warning: Illegal string offset 'value' in /home/k5ebrdc/public_html/wp-content/plugins/toolset-blocks/backend/Models/ContentTemplate/UsageCondition.php on line 130
[13-Jan-2023 14:47:05 UTC] PHP Warning: Illegal string offset 'label' in /home/k5ebrdc/public_html/wp-content/plugins/toolset-blocks/backend/Models/ContentTemplate/UsageCondition.php on line 131
[13-Jan-2023 14:47:05 UTC] PHP Warning: Illegal string offset 'type' in /home/k5ebrdc/public_html/wp-content/plugins/toolset-blocks/backend/Models/ContentTemplate/UsageCondition.php on line 129
[13-Jan-2023 14:47:05 UTC] PHP Warning: Illegal string offset 'value' in /home/k5ebrdc/public_html/wp-content/plugins/toolset-blocks/backend/Models/ContentTemplate/UsageCondition.php on line 130
[13-Jan-2023 14:47:05 UTC] PHP Warning: Illegal string offset 'label' in /home/k5ebrdc/public_html/wp-content/plugins/toolset-blocks/backend/Models/ContentTemplate/UsageCondition.php on line 131
[13-Jan-2023 14:47:05 UTC] PHP Warning: Illegal string offset 'type' in /home/k5ebrdc/public_html/wp-content/plugins/toolset-blocks/backend/Models/ContentTemplate/UsageCondition.php on line 129
[13-Jan-2023 14:47:05 UTC] PHP Warning: Illegal string offset 'value' in /home/k5ebrdc/public_html/wp-content/plugins/toolset-blocks/backend/Models/ContentTemplate/UsageCondition.php on line 130
[13-Jan-2023 14:47:05 UTC] PHP Warning: Illegal string offset 'label' in /home/k5ebrdc/public_html/wp-content/plugins/toolset-blocks/backend/Models/ContentTemplate/UsageCondition.php on line 131
[13-Jan-2023 14:47:05 UTC] PHP Notice: Trying to get property 'dynamic_sources_content_processed' of non-object in /home/k5ebrdc/public_html/wp-content/plugins/toolset-blocks/vendor/toolset/dynamic-sources/server/Sources/PostContent.php on line 62
[13-Jan-2023 14:47:05 UTC] PHP Warning: Creating default object from empty value in /home/k5ebrdc/public_html/wp-content/plugins/toolset-blocks/vendor/toolset/dynamic-sources/server/Sources/PostContent.php on line 67
[13-Jan-2023 14:47:05 UTC] PHP Notice: Undefined property: stdClass::$post_content in /home/k5ebrdc/public_html/wp-content/plugins/toolset-blocks/vendor/toolset/dynamic-sources/server/Sources/PostContent.php on line 68
[13-Jan-2023 14:47:30 UTC] PHP Notice: Undefined offset: 5264 in /home/k5ebrdc/public_html/wp-includes/nav-menu-template.php on line 211

#2533915

Mateus Getulio
Supporter

Languages: English (English )

Timezone: America/Sao_Paulo (GMT-03:00)

Hello,

Thanks for your reply.

I would like to request temporary access (wp-admin and FTP) to your site to take better look at the issue. You will find the needed fields for this below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it.

Our Debugging Procedures

I will be checking various settings in the backend to see if the issue can be resolved. Although I won't be making changes that affect the live site, it is still good practice to backup the site before providing us access. In the event that we do need to debug the site further, I will duplicate the site and work in a separate, local development environment to avoid affecting the live site.

Privacy and Security Policy

We have strict policies regarding privacy and access to your information. Please see:
https://toolset.com/privacy-policy-and-gdpr-compliance/#data-shared-with-our-support
**IMPORTANT**

- Please make a backup of site files and database before providing us access.
- If you do not see the wp-admin/FTP fields this means your post & website login details will be made PUBLIC. DO NOT post your website details unless you see the required wp-admin/FTP fields. If you do not, please ask me to enable the private box. The private box looks like this: hidden link

Please, let me know if you need any additional details. Have a nice day.

#2535649

Mateus Getulio
Supporter

Languages: English (English )

Timezone: America/Sao_Paulo (GMT-03:00)

Hey there,

Thank you for providing the website credentials.

Upon further inspection, we could make the Photo Galleries template accessible again by following these steps:

- First, we have updated the Toolset plugins
- Then, we went to Toolset -> Content Templates and checked that the mentioned content template was not assigned to the Photo Galleries CPT. Also, through this section the template could be opened
- By assigning it to the CPT, and trying to open it again in the Toolset Dashboard section, we were able to edit the template

Could you please check it and confirm that the issue is solved? Thanks!

#2535657

I'm not sure what you are saying because the template is assigned to Photo Galleries (single) and it can't be unassigned from here?
Template Get Photo Gallery — Block Editor

You say to check it is not assigned, but it is assigned. Maybe you mean to say unassign it? if so, how?

#2535659

Furthermore, the template in question, still times out and is unaccessible, maybe you got confused with the names?
hidden link

#2535835

Mateus Getulio
Supporter

Languages: English (English )

Timezone: America/Sao_Paulo (GMT-03:00)

Hey there,

Thank you for the clarifications.

I checked this out but so far I couldn't find a fix for it. I asked my colleagues to have a look at this issue in order to see if there's anything I'm missing.

I'll come back here as soon as one of my colleagues reply back to me (which it shouldn't take long).

Thanks,
Mateus.

#2536653

Mateus Getulio
Supporter

Languages: English (English )

Timezone: America/Sao_Paulo (GMT-03:00)

Hi there,

Thanks for your patience.

Now we can see the content template: hidden link

The content template was set to view with post ID "tb_preview_post": 823, and that post ID does not exists. There was many issues like types shortcodes were not closed properly that we already fixed but still it seems that you have added many conditional statements and that causes the issue.

Please try to open the template again, assign the desired options in the 'Usage' section, then check if it'll work fine this time in the blocks editor.

Waiting for your feedback. Thank you!

#2537145

Great. The template is accessible on Staging, how do I transfer this to Live?

As for shortcodes not being closed, that happens when saving in Guttenberg, especially when going into HTML mode and then back.

#2537147

Furthermore, once you set this to block editor, it no longer works again.

#2537481

Mateus Getulio
Supporter

Languages: English (English )

Timezone: America/Sao_Paulo (GMT-03:00)

Hey there,

Sorry for this back and forth, we're still investigating what might be causing this issue. As soon as possible we'll provide you with updates.

Thanks for your understanding.

#2538101

Mateus Getulio
Supporter

Languages: English (English )

Timezone: America/Sao_Paulo (GMT-03:00)

Hi,

I have escalated this ticket to our 2nd tier of support where our 2nd tier specialists will take a deeper look at this issue and will try to find a solution.

I will get back to you as soon as I get an answer from them.

Best regards,
Mateus

#2538795

Mateus Getulio
Supporter

Languages: English (English )

Timezone: America/Sao_Paulo (GMT-03:00)

Hello there,

Thanks for your patience.

Upon further inspection, we have concluded that the template has several issues in its conditions and due to this, it can't be restored anymore, unfortunately.

There is a duplicated template with the same name + 'without conditions', and you'll check that the problem does not occur to this dupe (if we switch it to the blocks editor, I mean).

We have tried several ways to restore it, but I'm afraid that we aren't able to accomplish this task at this point. Having said that, may I kindly ask you to recreate the content template and make sure to set the conditions accordingly? Thanks for your understanding.

Best,
Mateus.