Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Appointment booking is not completed successfully #567

Open
pax77-dd opened this issue Dec 4, 2024 · 4 comments
Open

Appointment booking is not completed successfully #567

pax77-dd opened this issue Dec 4, 2024 · 4 comments

Comments

@pax77-dd
Copy link

pax77-dd commented Dec 4, 2024

Hello,
The appointment booking has not been working for some time, I can't remember when. I suspect that it is due to an update of nextcloud or the app, as I installed the app some time ago and it was stable.
Here is the error description:
After filling out the form fields, checking the GDPR box, the result is an error message; “An error has occurred. Please try again later, thank you.” Previously, the information page for e-mail confirmation of the appointment appeared in this process step.
How can I fix this problem?
Kind regards
Remo

@SergeyMosin
Copy link
Owner

Can you check Nextcloud logs ? Are there any errors related to appointments ?

Also, usually an error URL look like this https://your.domain.com/apps/appointments/pub/d1A0PL_xSItmGXjB0A2/form?sts=2&d=... , what is the digit after form?sts= in your error page URL ?

@FiveVoltLogic
Copy link

I am having a similar issue. The error received is "An error has occurred Please try again and select a different date."

Previously a date/time was available in the date dropdown which was not on the calendar. Selecting this caused issues.

In the logs I have the following. The remote address XXXX is of a user, and YYYY is me checking on android.

{"reqId":"CqcnmDYBPsapRfzhj5Uq","level":3,"time":"2025-02-01T16:24:21+00:00","remoteAddr":"xxxx","user":"--","app":"index","method":"POST","url":"/apps/appointments/embed/D2G8YtYv4MM9VMGE/form","message":"Call to a member function getValue() on null in file '/config/www/nextcloud/apps/appointments/lib/Backend/BackendUtils.php' line 1031","userAgent":"Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Mobile Safari/537.36","version":"29.0.7.1","exception":{"Exception":"Exception","Message":"Call to a member function getValue() on null in file '/config/www/nextcloud/apps/appointments/lib/Backend/BackendUtils.php' line 1031","Code":0,"Trace":[{"file":"/app/www/public/lib/private/AppFramework/App.php","line":184,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/app/www/public/lib/private/Route/Router.php","line":331,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/app/www/public/lib/base.php","line":1058,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/app/www/public/index.php","line":49,"function":"handleRequest","class":"OC","type":"::"}],"File":"/app/www/public/lib/private/AppFramework/Http/Dispatcher.php","Line":170,"Previous":{"Exception":"Error","Message":"Call to a member function getValue() on null","Code":0,"Trace":[{"file":"/config/www/nextcloud/apps/appointments/lib/Backend/BackendUtils.php","line":313,"function":"getAttendee","class":"OCA\\Appointments\\Backend\\BackendUtils","type":"->"},{"file":"/config/www/nextcloud/apps/appointments/lib/Backend/BCSabreImpl.php","line":1100,"function":"dataSetAttendee","class":"OCA\\Appointments\\Backend\\BackendUtils","type":"->"},{"file":"/config/www/nextcloud/apps/appointments/lib/Controller/PageController.php","line":925,"function":"setAttendee","class":"OCA\\Appointments\\Backend\\BCSabreImpl","type":"->"},{"file":"/config/www/nextcloud/apps/appointments/lib/Controller/PageController.php","line":173,"function":"showFormPost","class":"OCA\\Appointments\\Controller\\PageController","type":"->"},{"file":"/app/www/public/lib/private/AppFramework/Http/Dispatcher.php","line":232,"function":"formPostEmb","class":"OCA\\Appointments\\Controller\\PageController","type":"->"},{"file":"/app/www/public/lib/private/AppFramework/Http/Dispatcher.php","line":138,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/app/www/public/lib/private/AppFramework/App.php","line":184,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/app/www/public/lib/private/Route/Router.php","line":331,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/app/www/public/lib/base.php","line":1058,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/app/www/public/index.php","line":49,"function":"handleRequest","class":"OC","type":"::"}],"File":"/config/www/nextcloud/apps/appointments/lib/Backend/BackendUtils.php","Line":1031},"message":"Call to a member function getValue() on null in file '/config/www/nextcloud/apps/appointments/lib/Backend/BackendUtils.php' line 1031","exception":{},"CustomMessage":"Call to a member function getValue() on null in file '/config/www/nextcloud/apps/appointments/lib/Backend/BackendUtils.php' line 1031"}}
{"reqId":"Fu2H1PNHuI2DkjCBiGpJ","level":3,"time":"2025-02-01T16:38:12+00:00","remoteAddr":"xxxx","user":"--","app":"index","method":"POST","url":"/apps/appointments/embed/D2G8YtYv4MM9VMGE/form","message":"Call to a member function getValue() on null in file '/config/www/nextcloud/apps/appointments/lib/Backend/BackendUtils.php' line 1031","userAgent":"Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Mobile Safari/537.36","version":"29.0.7.1","exception":{"Exception":"Exception","Message":"Call to a member function getValue() on null in file '/config/www/nextcloud/apps/appointments/lib/Backend/BackendUtils.php' line 1031","Code":0,"Trace":[{"file":"/app/www/public/lib/private/AppFramework/App.php","line":184,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/app/www/public/lib/private/Route/Router.php","line":331,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/app/www/public/lib/base.php","line":1058,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/app/www/public/index.php","line":49,"function":"handleRequest","class":"OC","type":"::"}],"File":"/app/www/public/lib/private/AppFramework/Http/Dispatcher.php","Line":170,"Previous":{"Exception":"Error","Message":"Call to a member function getValue() on null","Code":0,"Trace":[{"file":"/config/www/nextcloud/apps/appointments/lib/Backend/BackendUtils.php","line":313,"function":"getAttendee","class":"OCA\\Appointments\\Backend\\BackendUtils","type":"->"},{"file":"/config/www/nextcloud/apps/appointments/lib/Backend/BCSabreImpl.php","line":1100,"function":"dataSetAttendee","class":"OCA\\Appointments\\Backend\\BackendUtils","type":"->"},{"file":"/config/www/nextcloud/apps/appointments/lib/Controller/PageController.php","line":925,"function":"setAttendee","class":"OCA\\Appointments\\Backend\\BCSabreImpl","type":"->"},{"file":"/config/www/nextcloud/apps/appointments/lib/Controller/PageController.php","line":173,"function":"showFormPost","class":"OCA\\Appointments\\Controller\\PageController","type":"->"},{"file":"/app/www/public/lib/private/AppFramework/Http/Dispatcher.php","line":232,"function":"formPostEmb","class":"OCA\\Appointments\\Controller\\PageController","type":"->"},{"file":"/app/www/public/lib/private/AppFramework/Http/Dispatcher.php","line":138,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/app/www/public/lib/private/AppFramework/App.php","line":184,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/app/www/public/lib/private/Route/Router.php","line":331,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/app/www/public/lib/base.php","line":1058,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/app/www/public/index.php","line":49,"function":"handleRequest","class":"OC","type":"::"}],"File":"/config/www/nextcloud/apps/appointments/lib/Backend/BackendUtils.php","Line":1031},"message":"Call to a member function getValue() on null in file '/config/www/nextcloud/apps/appointments/lib/Backend/BackendUtils.php' line 1031","exception":{},"CustomMessage":"Call to a member function getValue() on null in file '/config/www/nextcloud/apps/appointments/lib/Backend/BackendUtils.php' line 1031"}}
{"reqId":"j8MKeUnDsXi8WMp84aAq","level":3,"time":"2025-02-01T16:42:48+00:00","remoteAddr":"xxxx","user":"--","app":"appointments","method":"POST","url":"/apps/appointments/embed/D2G8YtYv4MM9VMGE/form","message":"Select different time","userAgent":"Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Mobile Safari/537.36","version":"29.0.7.1","data":{"app":"appointments"}}
{"reqId":"j8MKeUnDsXi8WMp84aAq","level":3,"time":"2025-02-01T16:42:48+00:00","remoteAddr":"xxxx","user":"--","app":"appointments","method":"POST","url":"/apps/appointments/embed/D2G8YtYv4MM9VMGE/form","message":"setAttendee error status: 1","userAgent":"Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Mobile Safari/537.36","version":"29.0.7.1","data":{"app":"appointments"}}
{"reqId":"PWocH97fEv7cgHZTa7SL","level":3,"time":"2025-02-01T16:46:53+00:00","remoteAddr":"yyyy","user":"admin","app":"index","method":"POST","url":"/apps/appointments/embed/D2G8YtYv4MM9VMGE/form","message":"Call to a member function getValue() on null in file '/config/www/nextcloud/apps/appointments/lib/Backend/BackendUtils.php' line 1031","userAgent":"Mozilla/5.0 (Android 15; Mobile; rv:134.0) Gecko/134.0 Firefox/134.0","version":"29.0.7.1","exception":{"Exception":"Exception","Message":"Call to a member function getValue() on null in file '/config/www/nextcloud/apps/appointments/lib/Backend/BackendUtils.php' line 1031","Code":0,"Trace":[{"file":"/app/www/public/lib/private/AppFramework/App.php","line":184,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/app/www/public/lib/private/Route/Router.php","line":331,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/app/www/public/lib/base.php","line":1058,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/app/www/public/index.php","line":49,"function":"handleRequest","class":"OC","type":"::"}],"File":"/app/www/public/lib/private/AppFramework/Http/Dispatcher.php","Line":170,"Previous":{"Exception":"Error","Message":"Call to a member function getValue() on null","Code":0,"Trace":[{"file":"/config/www/nextcloud/apps/appointments/lib/Backend/BackendUtils.php","line":313,"function":"getAttendee","class":"OCA\\Appointments\\Backend\\BackendUtils","type":"->"},{"file":"/config/www/nextcloud/apps/appointments/lib/Backend/BCSabreImpl.php","line":1100,"function":"dataSetAttendee","class":"OCA\\Appointments\\Backend\\BackendUtils","type":"->"},{"file":"/config/www/nextcloud/apps/appointments/lib/Controller/PageController.php","line":925,"function":"setAttendee","class":"OCA\\Appointments\\Backend\\BCSabreImpl","type":"->"},{"file":"/config/www/nextcloud/apps/appointments/lib/Controller/PageController.php","line":173,"function":"showFormPost","class":"OCA\\Appointments\\Controller\\PageController","type":"->"},{"file":"/app/www/public/lib/private/AppFramework/Http/Dispatcher.php","line":232,"function":"formPostEmb","class":"OCA\\Appointments\\Controller\\PageController","type":"->"},{"file":"/app/www/public/lib/private/AppFramework/Http/Dispatcher.php","line":138,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/app/www/public/lib/private/AppFramework/App.php","line":184,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/app/www/public/lib/private/Route/Router.php","line":331,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/app/www/public/lib/base.php","line":1058,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/app/www/public/index.php","line":49,"function":"handleRequest","class":"OC","type":"::"}],"File":"/config/www/nextcloud/apps/appointments/lib/Backend/BackendUtils.php","Line":1031},"message":"Call to a member function getValue() on null in file '/config/www/nextcloud/apps/appointments/lib/Backend/BackendUtils.php' line 1031","exception":{},"CustomMessage":"Call to a member function getValue() on null in file '/config/www/nextcloud/apps/appointments/lib/Backend/BackendUtils.php' line 1031"}}
{"reqId":"Vaw9gJXlRmr6mftwUiSI","level":3,"time":"2025-02-01T16:47:26+00:00","remoteAddr":"yyyy","user":"admin","app":"index","method":"POST","url":"/apps/appointments/embed/D2G8YtYv4MM9VMGE/form","message":"Call to a member function getValue() on null in file '/config/www/nextcloud/apps/appointments/lib/Backend/BackendUtils.php' line 1031","userAgent":"Mozilla/5.0 (Android 15; Mobile; rv:134.0) Gecko/134.0 Firefox/134.0","version":"29.0.7.1","exception":{"Exception":"Exception","Message":"Call to a member function getValue() on null in file '/config/www/nextcloud/apps/appointments/lib/Backend/BackendUtils.php' line 1031","Code":0,"Trace":[{"file":"/app/www/public/lib/private/AppFramework/App.php","line":184,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/app/www/public/lib/private/Route/Router.php","line":331,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/app/www/public/lib/base.php","line":1058,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/app/www/public/index.php","line":49,"function":"handleRequest","class":"OC","type":"::"}],"File":"/app/www/public/lib/private/AppFramework/Http/Dispatcher.php","Line":170,"Previous":{"Exception":"Error","Message":"Call to a member function getValue() on null","Code":0,"Trace":[{"file":"/config/www/nextcloud/apps/appointments/lib/Backend/BackendUtils.php","line":313,"function":"getAttendee","class":"OCA\\Appointments\\Backend\\BackendUtils","type":"->"},{"file":"/config/www/nextcloud/apps/appointments/lib/Backend/BCSabreImpl.php","line":1100,"function":"dataSetAttendee","class":"OCA\\Appointments\\Backend\\BackendUtils","type":"->"},{"file":"/config/www/nextcloud/apps/appointments/lib/Controller/PageController.php","line":925,"function":"setAttendee","class":"OCA\\Appointments\\Backend\\BCSabreImpl","type":"->"},{"file":"/config/www/nextcloud/apps/appointments/lib/Controller/PageController.php","line":173,"function":"showFormPost","class":"OCA\\Appointments\\Controller\\PageController","type":"->"},{"file":"/app/www/public/lib/private/AppFramework/Http/Dispatcher.php","line":232,"function":"formPostEmb","class":"OCA\\Appointments\\Controller\\PageController","type":"->"},{"file":"/app/www/public/lib/private/AppFramework/Http/Dispatcher.php","line":138,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/app/www/public/lib/private/AppFramework/App.php","line":184,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/app/www/public/lib/private/Route/Router.php","line":331,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/app/www/public/lib/base.php","line":1058,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/app/www/public/index.php","line":49,"function":"handleRequest","class":"OC","type":"::"}],"File":"/config/www/nextcloud/apps/appointments/lib/Backend/BackendUtils.php","Line":1031},"message":"Call to a member function getValue() on null in file '/config/www/nextcloud/apps/appointments/lib/Backend/BackendUtils.php' line 1031","exception":{},"CustomMessage":"Call to a member function getValue() on null in file '/config/www/nextcloud/apps/appointments/lib/Backend/BackendUtils.php' line 1031"}}
{"reqId":"idervXNjvxhtaVpFX8gU","level":3,"time":"2025-02-01T17:10:21+00:00","remoteAddr":"yyyy","user":"admin","app":"appointments","method":"POST","url":"/apps/appointments/form?p=p0&v=1738429800005","message":"Select different time","userAgent":"Mozilla/5.0 (Android 15; Mobile; rv:134.0) Gecko/134.0 Firefox/134.0","version":"29.0.7.1","data":{"app":"appointments"}}
{"reqId":"idervXNjvxhtaVpFX8gU","level":3,"time":"2025-02-01T17:10:21+00:00","remoteAddr":"yyyy","user":"admin","app":"appointments","method":"POST","url":"/apps/appointments/form?p=p0&v=1738429800005","message":"setAttendee error status: 1","userAgent":"Mozilla/5.0 (Android 15; Mobile; rv:134.0) Gecko/134.0 Firefox/134.0","version":"29.0.7.1","data":{"app":"appointments"}}
{"reqId":"DzScqO6bAahKDhFnRUhy","level":3,"time":"2025-02-01T17:11:05+00:00","remoteAddr":"yyyy","user":"admin","app":"appointments","method":"POST","url":"/apps/appointments/pub/D2G8YtYv4MM9VMGE/form","message":"Select different time","userAgent":"Mozilla/5.0 (Android 15; Mobile; rv:134.0) Gecko/134.0 Firefox/134.0","version":"29.0.7.1","data":{"app":"appointments"}}
{"reqId":"DzScqO6bAahKDhFnRUhy","level":3,"time":"2025-02-01T17:11:05+00:00","remoteAddr":"yyyy","user":"admin","app":"appointments","method":"POST","url":"/apps/appointments/pub/D2G8YtYv4MM9VMGE/form","message":"setAttendee error status: 1","userAgent":"Mozilla/5.0 (Android 15; Mobile; rv:134.0) Gecko/134.0 Firefox/134.0","version":"29.0.7.1","data":{"app":"appointments"}}

Previously I was receiving an error on Firefox saying that the page could not be displayed as it was embeded on another website. I have checked and removed the embed from another page on my website. I have also re-created the form but when testing either directly on the preview, or embeded I receive the same error to try another date.

I will attempt to remove and re-add all the dates in the calendar and report back.

@FiveVoltLogic
Copy link

Additionally, I believe this was all working until I stopped sharing (disabled) the form the other day. The issues seem to have come up since re-enabling the form.

@FiveVoltLogic
Copy link

This seems to have been solved after updating nextcloud, removing all open appointments from the calendar and re-adding them with the simple timeslot mode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants