Skip Navigation

[Resolved] Content template blank with The Events Calendar

This support ticket is created 4 years, 2 months ago. There's a good chance that you are reading advice that it now obsolete.

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.

Our next available supporter will start replying to tickets in about 2.04 hours from now. Thank you for your understanding.

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 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

Tagged: 

This topic contains 13 replies, has 2 voices.

Last updated by katjaL 4 years, 2 months ago.

Assisted by: Shane.

Author
Posts
#1769177

I have this eventscalendar shortcode on custom post content template
[tribe_events_list category="[wpv-post-taxonomy type="esityskategoria" format="name"]"]

and it works fine in frontend, but in backend the content template is blank when trying to open and edit it. The only way to edit the content template is to disable The Events Calendar plugin.
(BTW I already once thought this was solved, but it isn't, just couldn't open the old ticket anymore.)

Server errors and warnings are:
ERROR 500 GET /wp-admin/admin.php?page=ct-editor&ct_id=109&action=edit HTTP/1.1
Warning (32)Broken pipe: mod_fcgid: ap_pass_brigade failed in handle_request_ipc function, referer: hidden link

#1769709

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Katja,

Thank you for getting in touch.

Does the same issue occurs when only The Events Calendar plugin and Toolset plugins activated ?

Secondly can you recall when did this issue started to occur ? Were there any updates made to any plugins/theme ?

Please let me know and we can take it from there.

Thanks,
Shane

#1769989

Hi Shane, thank you for your instructions.
Yes, the same issue occurs when only calendar and Toolset are activated.

The issue started 2 weeks ago, I first reported it here: https://toolset.com/forums/topic/a-content-template-is-not-editable/

I also tested with a basic calendar shortcode [tribe_events]. This worked fine, the content template opened ok. So I think the problem is the shortcode, even though it produces fine results in frontend.

#1771317

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Katja,

It could be an issue where passing the parameter into the shortcode is causing the page to crash.

You say it works fine with [tribe_events] but not with [tribe_events_list category="[wpv-post-taxonomy type="esityskategoria" format="name"]"]

I see a small issue here where there is a quotation mismatch . Try the shortcode below.

[tribe_events_list category="[wpv-post-taxonomy type='esityskategoria' format='name']"]

If this doesn't resolve the issue I would recommend getting in touch with the Events Calendar team to check with them if their shortcode supports nesting of shortcodes and let them have a look at it.

Thanks,
Shane

#1771351

Hi Shane, I tried the modified shortcode, it didn't help. Also I have already contacted Events Calendar, but they couldn't say what caused this because the crash happens in Toolset content template. As I said, the shortcode (and the content template) works fine in frontend, only the content template editing crashes.

#1772533

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Katja,

Would you mind allowing me to have admin access to the website so that I can log in and grab a copy to test out here locally?

The private fields will be enabled for your next response.

Thanks,
Shane

#1777463

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Screenshot 2020-09-15 at 9.37.13 AM.png

Hi Katja,

I must apologize for the delay in response.

I've been able to setup the copy of the site here locally, however I need to know which content template is having the issue.

What I end up doing is to add your shortcode to one of the templates and the template loaded fine with the messages here. see screenshot

Not sure if this is the same results for you but this is what I get when I added the [tribe_events_list category="[wpv-post-taxonomy type='esityskategoria' format='name']"] shortcode.

Thanks,
Shane

#1778437
Screenshot 2020-09-16 at 12.23.39.png

Hi Shane,
Yes it is the only real content template there, Esitys Single. It has changed now to very weird! It didn't open at all before and now all blocks complain about missing tribe thing. If the events calendar is disabled, it works as it should, check screenshot.

#1778937

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Katja,

On my end when I checked my debug logs its saying wordpress is running out of memory. It may be the same for you, however to be sure can you send me the php error logs for your server so that I can check to see what is being logged there.

Thanks,
Shane

#1779721

Hi Shane,
I have lots and lots of resources, I don't think it's that.

There are no errors, only this warning (when I try to edit the content template) multiple times in server log.

mod_fcgid: stderr: PHP Warning: Invalid argument supplied for foreach() in /var/www/vhosts/mysite.com/httpdocs/wp-includes/rest-api/fields/class-wp-rest-meta-fields.php on line 94, referer: hidden link

#1780259

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Katja,

Currently i'm not sure what is happening and the most I can think of is the tribe event shortcode unable to handle the nesting of the shortcodes.

I see that your Events calendar plugin is also outdated, can you update it and let me know if the issue still remains. Secondly does the shortcode function correctly when it is NOT added to a content template. Meaning if you add the shortcode directly to the page that is also using the Gutenburg editor do the issue still remain ?

Please perform these tests and let me know. This way we can identify a bit closely if the problem still remains when we eliminate the content template.

Thanks,
Shane

#1780455

Hi Shane,

First reply: updated Events calendar doesn't fix situation. The new calendar plugin has a language bug, that's why I won't use it (the bug has been reported and will be fixed).

Second: yes, the shortcode works fine in normal page and the page is editable in backend too.

#1784647

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Screenshot 2020-09-21 at 1.46.31 PM.png
Screenshot 2020-09-21 at 1.46.37 PM.png

Hi Katja,

I must apologize for the delay in response. However I managed to setup this on a fresh install, however the issue is not present on a fresh install. See My screenshots.

The events are being filtered successfully by our taxonomy shortcode. The problem is actually specific to your site since i'm not able to replicate.

Perhaps what you can do is to use the classic editor for the content template. However another thing you can do is to completely delete this template and remake it.

Thanks,
Shane

#1785073

Ok Shane. I will live with this problem now and hope it will be solved in future. Thank you for your efforts.