Hi @giasher
Thank you for reporting. We’re not able to replicate the issue on our side. From what you describe there could be an issue with the REST API, do you have any other plugin that would disable it?
Are you trying to delete as the user who created the entry? Are you able to create the points and dot labels? Is the issue limited to the delete task?
Does resaving the permalinks make any difference?
Another possible cause is a conflict with another plugin. You could disable some plugins to see if you find the conflicting one.
Greetings, Carlos
Hi Carlos,
Thanks for fast reply.
Do you have any other plugin that would disable it? – tested for cleen wordpress install (localhost and production site also, PHP 8.2.12)
Are you trying to delete as the user who created the entry? – Yep, as admin
Are you able to create the points and dot labels? – Yes, it works fine
Is the issue limited to the delete task? – Seems Yes (view from admin shows nothing, but post/page looks nice)
Does resaving the permalinks make any difference? – No (‘Post name’ for now)
Another possible cause is a conflict with another plugin. You could disable some plugins to see if you find the conflicting one. – as mentioned, tested with clean instal.
Console shows 404 (not found): http://localhost/wp-json/wp/v2/itt_globe_point/105?_method=DELETE
Maybe the problem could be in the file(s) from the WordPress official download package itself?
Respects,
g.\
p.s. Do You (are You going to) have standalone (non-Wordpress) script with PRO features?
-
This reply was modified 3 months, 1 week ago by
Giasher.
We had this problem in an older version, where the delete was not working on some cases, because of server limitations not allowing delete requests , but we implemented a workaround in the latest versions to this. Are you using Still it could be a server limitations. We are keen to understand why this is happening, so any extra information about your server setup could be helpful. Are you able to test in any live site?
Implementing a stand-alone non-wp version is not in our close future plans.
We are keen to understand why this is happening, so any extra information about your server setup could be helpful.
WordPress version 6.7.2 is up to date. (recommended Ver. 6.7.2)
PHP version 8.4.5 is up to date. (recommended Ver. 8.3)
MariaDB version 10.6.21 is outdated. (recommended Ver. 11.7.0)
OPcache is enabled with 128 MB
JIT is NOT enabled
Seems JIT could be the cause
Are you able to test in any live site?
Yes, with WP clean installation – same. If necessary i can send You the URL and login info.
Can i from here https://wpinteractiveglobes.com/contact/ ?
console errors:
404 (not found): http://localhost/wp-json/wp/v2/itt_globe_point/105?_method=DELETE
Error trashing post: Not Found
r.onload @cpt-list-events.min.js?ver=1.4.3:1
XMLHttpRequest.send
do_remove_event @cpt-list-events.min.js?ver=1.4.3:1
file: cpt-list-events.min.js
function: do_remove_event
line: r.open(“POST”, /wp-json/wp/v2/${n}/${e}?_method=DELETE
, !0), r.setRequestHeader(“Content-Type”, “application/json”), r.setRequestHeader(“X-WP-Nonce”, wpApiSettings.nonce),r.onload =
….
! also !
mayby the path to cpt-list-events.min.js must be checked in the assets.php
-
This reply was modified 3 months ago by
Giasher.
Yes, a temporary access would be great. You can use the form you mentioned, yes.
Great!
One of the best support ever.
Checked – works