Closed Kahmoon closed 2 years ago
May i bump this? This is a pretty big issue when managing subscribers via backend.
Well, the problem is that there is a subscription record with no "type" selected, which is invalid data, which correctly leads to an error. You should delete that faulty record from backend, and if not possible, then using database management tool like phpMyAdmin.
Maybe i did describe this issue wrong. There is no problem with the database.
Everytime i add a subscriber via backend. The time until i add, choose and save the subscriber, the calendar is crashing in the frontend because there is a undefined temporary entry.
When managing many subscribers via backend....the are many times where the calendar crashes in frontend while students are onlie
Now I get it, thanks for the additional explanation. I will see what can be done about it.
Sorry :-)
Should be there in 2.14.4.
After updating 2.14.4 the calendar is crashing completely. Without doing anything in backend
[2022-05-10T16:35:21.871213+02:00] request.INFO: Matched route "tl_page.409". {"route":"tl_page.409","route_parameters":{"_token_check":true,"_controller":"Contao\\FrontendIndex::renderPage","_scope":"frontend","_locale":"de","_format":"html","_canonical_route":"tl_page.409","parameters":"","pageModel":{"Contao\\PageModel":[]},"_route":"tl_page.409","_route_object":{"Contao\\CoreBundle\\Routing\\Page\\PageRoute":[]}},"request_uri":"https://www.xxx.de/preview.php/intern/termine.html","method":"GET"} []
[2022-05-10T16:35:22.356380+02:00] request.CRITICAL: Uncaught PHP Exception BadMethodCallException: "The subscription model does not exist" at /homepages/46xxx/xxx-v3/vendor/codefog/contao-events_subscriptions/src/Codefog/EventsSubscriptions/Subscription/AbstractSubscription.php line 112 {"exception":"[object] (BadMethodCallException(code: 0): The subscription model does not exist at /homepages/46/xxx/htdocsxxx-v3/vendor/codefog/contao-events_subscriptions/src/Codefog/EventsSubscriptions/Subscription/AbstractSubscription.php:112)"} []
Right, please update to 2.14.5. More info in https://github.com/codefog/contao-events_subscriptions/issues/81
When i add subscribers via backend the page with a calendar full showing the month which the event will be, the page crashed. When im done with adding subscribers, page is working normal.
Example: I added a subscriber to an event in june via backend. Calendar is working fine showing may. When klicking on june, the site crashed.
[2022-04-21T17:59:31.952252+02:00] request.CRITICAL: Uncaught PHP Exception InvalidArgumentException: "The subscription type "" does not exist" at /homepages/46/xxx/htdocs/xxx-v3/vendor/codefog/contao-events_subscriptions/src/Codefog/EventsSubscriptions/SubscriptionFactory.php line 52 {"exception":"[object] (InvalidArgumentException(code: 0): The subscription type \"\" does not exist at /homepages/46/xxx/htdocs/xxx-v3/vendor/codefog/contao-events_subscriptions/src/Codefog/EventsSubscriptions/SubscriptionFactory.php:52)"} []
This is probably caused by fetching the subscribers to show them in overview and the is a blank entry.
Actually i left my pc with add subscriber mask open and all students cannot access the calendar anymore :-D