Invalid nonce triggers E_ERROR
-
I think there is a bug in the nonce-handling when saving a map.
I had been logged out of the WP Admin panel but logged back in using the login popup. I was on the edit map screen. I edited the name of the map and pressed “Save map”. This resulted in:
"There has been a critical error on this website. Please check your site admin email inbox for instructions. If you continue to have problems, please try the support forums."The actual error message (translated from Swedish and redacted):
If you request assistance with this issue, you may be asked to provide some of the following information:
WordPress version 6.8
Active theme: Hello [Redacted] (version 1.2.0)
Current plugin: WP Go Maps (formerly WP Google Maps) (version 9.0.45)
PHP version 8.3.20
Error details
=====================
An error of type E_ERROR occurred on line 417 in the following file:
.../wp-content/plugins/wp-google-maps/includes/map-edit-page/class.map-edit-page.php.
Error reason: Uncaught Exception: Invalid nonce in
.../wp-content/plugins/wp-google-maps/includes/map-edit-page/class.map-edit-page.php:417
Stack trace:
#0 .../wp-content/plugins/wp-google-maps-pro/includes/map-edit-page/class.pro-map-edit-page.php(326): WPGMZA\MapEditPage->onSubmit()
#1 .../wp-content/plugins/wp-google-maps/includes/map-edit-page/class.map-edit-page.php(482): WPGMZA\ProMapEditPage->onSubmit()
#2 .../wp-includes/class-wp-hook.php(324): WPGMZA\{closure}()
#3 .../wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#4 .../wp-includes/plugin.php(517): WP_Hook->do_action()
#5 .../wp-admin/admin-post.php(82): do_action()
#6 {main}
thrown
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Invalid nonce triggers E_ERROR’ is closed to new replies.