Deleting an event in CMS not working #320
Replies: 8 comments
-
Hello, Can you please provide some more information: PHP version Can you share what error is returned in the request? Also, can you share what is added to the error logs when you try to delete an event? Thanks |
Beta Was this translation helpful? Give feedback.
-
PHP Version: 8.2 No error returned just blank screen. Error logs don't show the events happening. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the additional information, @green17. In my testing, I can't duplicate this issue either. Can you provide with a little more information? 🙂
|
Beta Was this translation helpful? Give feedback.
-
@kjmartens ~This is the error: |
Beta Was this translation helpful? Give feedback.
-
What is your server configuration? Do you have any request methods disabled/blocked? Can you also take a screenshot of the request from the network tab in the browser console? I want to see the request type and payload info like I have shown here: Thanks |
Beta Was this translation helpful? Give feedback.
-
We are using PHP Version: 8.2 We have no request methods disabled or blocked. Here is the screenshot from the network tab: |
Beta Was this translation helpful? Give feedback.
-
@green17 Can I see the response tab please? |
Beta Was this translation helpful? Give feedback.
-
I'm wondering if this is a CSRF token issue (if response tab says "Bad Request Unable to verify your data submission") or if Cloudflare is blocking the request. If Cloudflare is blocking, it should show up in the Firewall Activity Events Log, along with which security setting triggered it. Have you checked there? |
Beta Was this translation helpful? Give feedback.
-
Describe the bug or issue you're experiencing
When trying to delete an event in the backend either in the calendar view or in the actual entry nothing happens.
Within the console, clicking delete gives a 400 error when trying to POST to below. https://domainname.com/admin/calendar/events/api/delete?site=default
Steps to reproduce
Expected behavior
Event should be deleted after you click confirm
Craft & Plugin Info (please complete the following information):
Additional context
When in 'Events' section where it shows all events in a list, if I select one and then delete via the cog at the bottom it works.
Beta Was this translation helpful? Give feedback.
All reactions