Hi @juusoturunen,
So do you see any issues with deleting the user apart from of the server log you’re showing?
What if you disable the plugin creating “my-points” endpoint?
It’d probably be helpful if you provide WordPress log https://wordpress.org/support/article/debugging-in-wordpress/ instead of server logs.
Thanks!
Hello!
Thanks for the very quick reply.
Here’s the WordPress log from debug.log. I don’t see any other errors when I delete a user or refresh the page.
[18-Feb-2022 15:03:39 UTC] Array
(
[dashboard] => Hallintapaneeli
[orders] => Tilaukset
[downloads] => Lataukset
[edit-address] => Osoite
[edit-account] => Tilin tiedot
[my-points] => Pisteeni
[customer-logout] => Kirjaudu ulos
)
[18-Feb-2022 15:03:40 UTC] Array
(
[dashboard] => Hallintapaneeli
[orders] => Tilaukset
[downloads] => Lataukset
[edit-address] => Osoite
[edit-account] => Tilin tiedot
[my-points] => Pisteeni
[customer-logout] => Kirjaudu ulos
)
“my-points” endpoint is created by https://codecanyon.net/item/woocommerce-reward-points/29123909.
I tried to insert your plugin with the [wp_frontend_delete_account] shortcode to the home page and then there is no error.
I have your plugin inserted in /my-account/my-points page with a shortcode. Is it possible that the error appears because your plugin is by default also in /my-account/wpf-delete-account/ page? So it’s two times under /my-account/ parent page?
The reason why I have added shortcode also in /my-account/my-points/ page is the following: WooCommerce Reward Points plugin has in /my-account/my-points/ page a nice graph that is not possible to insert anywhere else with a shortcode. My need is that the graph and your plugin are on the same page.
I tried to disable the WooCommerce Reward Points plugin and then the following error appeared (this time I tested on /my-account/ page because the /my-account/my-points/ didn’t exist due to disabling):
[18-Feb-2022 15:18:21 UTC] Array
(
[dashboard] => Hallintapaneeli
[orders] => Tilaukset
[downloads] => Lataukset
[edit-address] => Osoite
[edit-account] => Tilin tiedot
[customer-logout] => Kirjaudu ulos
)
[18-Feb-2022 15:18:22 UTC] Array
(
[dashboard] => Hallintapaneeli
[orders] => Tilaukset
[downloads] => Lataukset
[edit-address] => Osoite
[edit-account] => Tilin tiedot
[customer-logout] => Kirjaudu ulos
)
Thanks!
– Juuso
Hi @juusoturunen,
Upon investigating, it looks like there has been a debug code left over in the plugin.
I’ll update the plugin soon. Thank you for reporting the issue and sharing the details! I appreciate that.
Please note that the log shouldn’t cause any issues in functionality of the plugin and the logs in general shouldn’t be turned on in production.
Have a good one!:)
HI @juusoturunen,
The issue has been fixed with the new version v1.6.1 just updated.
Thank you once again. 🙂
I just updated your plugin and the error message is gone now! Thank you!!!
The support was very kind and fast. You are super!
– Juuso