wiso92
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Go Maps (formerly WP Google Maps)] Switch map EngineSame problem here but trying to switch from OpenLayers to GoogleMaps.
Forum: Plugins
In reply to: [WP Go Maps (formerly WP Google Maps)] register_rest_route called incorrectlyI have the same problem. Trying to save the Settings and get a white screen stuck on /wp-admin/admin-post.php with the error message:
component: “Plugin: wp-google-maps”
file: “wp-includes/functions.php”
line: 4773
message: “register_rest_route was called incorrectly. REST API routes must be registered on the rest_api_init action. Please see Debugging in WordPress for more information. (This message was added in version 5.1.0.)”
stack: (5) […]
0: “register_rest_route()”
1: “WPGMZA\\RestAPI->registerRoute()”
2: “WPGMZA\\RestAPI->registerRoutes()”
3: “WPGMZA\\RestAPI->onInit()”
4: “do_action(‘init’)”
length: 5
<prototype>: Array []
type: “notice”I cannot save new settings at all at the moment.
PHP-Version is 7.2.19-nmm1Hey,
it is a rather strange issue. I did not install any new plugins, the system itself is running smoothly for about 2 years now. The only thing I did, was change some Settings for a non-admin user role (my account is an admin account and does not belong to this user role). I restructured the Registration form for this role and needed to test this. When I registered as a new testuser (logged-out from my normal account but with the same browser) and logged in as admin again, the problems started.
After some hours (overnight) everything was working again as normal. But now it happened again.
My guess is, it has something to do with me registering as a new user with the same IP I’m logging in as admin. Is that possible?
Regardless, it seems to work again after some hours, so it is not an immediate problem anymore.Thanks!
Thanks for your fast reply! I disabled the caching plugin for the registration sites as you suggested and it seems to have solved the problem. It is a little weird since we had this problem before we implemented a caching plugin, too.
But for now, everything works!Thanks.