Conversation
supportHi, today I updated several plugins, including the latest update of “My Calendar”. Immediately afterwards, my website went down completely and showed a critical error. I also received a WordPress recovery email saying that the issue was caused by the plugin "My Calendar - Accessible Event Manager". Error Details An error of type E_ERROR was caused in line 169 of [SERVER_PATH]/wp-content/plugins/my-calendar/my-calendar.php. Error message: Uncaught Error: Failed opening required '[SERVER_PATH]/wp-content/plugins/my-calendar/my-calendar-install.php' (include_path='[PHP_INCLUDE_PATH]') in [SERVER_PATH]/wp-content/plugins/my-calendar/my-calendar.php:169 Stack trace: 0 [SERVER_PATH]/wp-settings.php(560): include_once() 1 [SERVER_PATH]/wp-config.php(87): require_once('[SERVER_PATH]/…') 2 [SERVER_PATH]/wp-load.php(50): require_once('[SERVER_PATH]/…') 3 {main} thrown I then entered recovery mode, uninstalled My Calendar, and installed it again. Now the situation is as follows: My events are still in the backend. However, in the frontend the events are no longer displayed correctly. Instead of the normal event output, only a strange string is shown. Has anyone seen this before or knows how to fix it? After reinstalling, the fatal error is gone, but the frontend output of events broken. Thanks! This topic was modified 1 week ago by nyks-barton .
I was able to fix it, by removing “template=…” from the shortcodes. The output has changes now (due to the missing template), but it’s not broken anymore.
For the fatal error, it seems like you must have received an invalid install. Having an error on line 169 of my-calendar.php is part of the primary loading of the plugin – and is right in the middle of it. If there was an error in that code structure, it would have happened either much more often, or several lines earlier. So that would make sense with having a reinstall fix the problem. The second might have been an issue related to WordPress 7.0; what was the content of the template parameter? I think it’s possible that after WP 7.0, only templates containing a reference string will work, and not directly referenced templates. This is caused by some changes to wp_kses_hair() in WordPress core which normalizes quotes in HTML; this breaks the My Calendar templates. I wrote a workaround to this in the template editor, but I can’t do anything about the cases that are written directly into post editors in shortcodes.
At the moment, my site is still running WordPress 6.9.4. The shortcode used this template: template=”eb24c350d0e56f3132d9ead7df3ff3bc” I do not remember all the details, because I set this up a few years ago. As far as I remember, I had modified the event bullet list so that it would not display event times and would not link to the event details. Environment: WordPress version: 6.9.4 PHP version: 8.1.33 My Calendar version: updated to 3.7.12 Edit: My shortcode is now: [my_calendar_upcoming type=”event” order=”asc” weekends=”false”] This reply was modified 1 week ago by nyks-barton . This reply was modified 1 week ago by nyks-barton .
That template key is referencing a template managed in the template editor at My Calendar > Design > Templates. If you can tell me what the original content of that is, it would be helpful.
Thank you. Maybe my custom template was removed at the reinstallation?! In the settings, the selected default list template is “–“. It shows every event-entry as a single line: starttime – endtime, date – <eventlink>Event-title</eventslink> e.g. 18:00 – 22:00 Uhr, 31.05.2026 – <eventlink>Our community-meeting</eventslink> I want to have the date first, remove the (end)time and remove the eventlink, so that it shows just: 31.05.2026, 18:00 Uhr: Our community-meeting My site: https://spieletreff-steele.de/#anmeldung
I was able to fix it, by removing “template=…” from the shortcodes. The output has changes now (due to the missing template), but it’s not broken anymore.
For the fatal error, it seems like you must have received an invalid install. Having an error on line 169 of my-calendar.php is part of the primary loading of the plugin – and is right in the middle of it. If there was an error in that code structure, it would have happened either much more often, or several lines earlier. So that would make sense with having a reinstall fix the problem. The second might have been an issue related to WordPress 7.0; what was the content of the template parameter? I think it’s possible that after WP 7.0, only templates containing a reference string will work, and not directly referenced templates. This is caused by some changes to wp_kses_hair() in WordPress core which normalizes quotes in HTML; this breaks the My Calendar templates. I wrote a workaround to this in the template editor, but I can’t do anything about the cases that are written directly into post editors in shortcodes.
At the moment, my site is still running WordPress 6.9.4. The shortcode used this template: template=”eb24c350d0e56f3132d9ead7df3ff3bc” I do not remember all the details, because I set this up a few years ago. As far as I remember, I had modified the event bullet list so that it would not display event times and would not link to the event details. Environment: WordPress version: 6.9.4 PHP version: 8.1.33 My Calendar version: updated to 3.7.12 Edit: My shortcode is now: [my_calendar_upcoming type=”event” order=”asc” weekends=”false”] This reply was modified 1 week ago by nyks-barton . This reply was modified 1 week ago by nyks-barton .
That template key is referencing a template managed in the template editor at My Calendar > Design > Templates. If you can tell me what the original content of that is, it would be helpful.
Thank you. Maybe my custom template was removed at the reinstallation?! In the settings, the selected default list template is “–“. It shows every event-entry as a single line: starttime – endtime, date – <eventlink>Event-title</eventslink> e.g. 18:00 – 22:00 Uhr, 31.05.2026 – <eventlink>Our community-meeting</eventslink> I want to have the date first, remove the (end)time and remove the eventlink, so that it shows just: 31.05.2026, 18:00 Uhr: Our community-meeting My site: https://spieletreff-steele.de/#anmeldung