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
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.
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.
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.
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.
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.
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.
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
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.
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.
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.