Greg Barr
Forum Replies Created
-
AuthorPosts
-
This reply has been marked as private.
This has been a known bug for many moons. Any chance the coming soon release (mentioned by a support rep in another thread) will address this?
I’d love to open up my “add an event” form to the public, but am not comfortable doing so with this bug in the mix. It’ll be a game-changer for my business when I can.
Glad to hear a fix is coming soon.
January 18, 2020 at 7:01 am in reply to: Error When Clicking Any Location or Organization in Map #526281My developer friend figured out a fix. The error was being thrown by this function at the end of class-geodir-api.php
if ( $errors !== true && ! empty( $_REQUEST['_wpnonce'] ) && ! empty( $_SERVER['REQUEST_URI'] ) && strpos( $_SERVER['REQUEST_URI'], '/wp-json/geodir/' ) !== false && strpos( $_SERVER['REQUEST_URI'], '/markers/' ) !== false && is_wp_error( $errors ) && $errors->get_error_code() == 'rest_cookie_invalid_nonce' ) {
Simply commenting that out makes the map work fine for non-logged-in users even when WooCommerce is activated.
January 17, 2020 at 7:31 pm in reply to: Error When Clicking Any Location or Organization in Map #526201We’ve isolated WooCommerce as the root cause of the problem.
With WooCommerce Activated:
With WooCommerce Deactivated, no other changes, no clearing of caching, just deactivate WooCommmerce, that is it:
January 17, 2020 at 7:15 pm in reply to: Error When Clicking Any Location or Organization in Map #526198This reply has been marked as private.January 17, 2020 at 6:46 pm in reply to: Error When Clicking Any Location or Organization in Map #526194He also said
“_wpnonce is being added, so something is adding that to links, and that gets expired”
January 17, 2020 at 6:45 pm in reply to: Error When Clicking Any Location or Organization in Map #526193Thanks Guust. When you suggested this I did deactivate and then delete WP Invoicing and the Pricing Manager plugins. My maps were then working fine for a few weeks, but now I’m getting the same error again.
Multiple friends have confirmed that it’s erroring for them too, variety of OS and browsers. One developer friend said he’s seeing this:
jquery.js:4 GET https://cornholecentral.com/wp-json/geodir/v2/markers/6834?_wpnonce=678a37e3f0&_=1579285697149 403
January 5, 2020 at 2:00 am in reply to: Error When Clicking Any Location or Organization in Map #524070I DID IT!
I took a fresh crack at deactivating plugins one at a time and successsfully identified WP Invoicing as the culprit. 100% correlation…with it on I and others get the error messages, with it deactivated I and others don’t get the error message. Yay. They claim to support GeoDirectory, and vice versa it seems, so you might want to look into that.Fortunately it’s not important to my business/site, so I’ve deactivated it and am good to go.
January 4, 2020 at 9:33 pm in reply to: Error When Clicking Any Location or Organization in Map #524042Sorry, sent that before seeing your last comment. I’ll keep my fingers crossed that that’s it. I have been purging/clearing cache through my web host (WP Engine) and will check in with them to see if they have any ideas. Thanks again for being here for me.
January 4, 2020 at 9:31 pm in reply to: Error When Clicking Any Location or Organization in Map #524041This reply has been marked as private.January 4, 2020 at 6:45 pm in reply to: Error When Clicking Any Location or Organization in Map #524025Sorry, yes, I forgot that I’d done all my updating of wordpress and plugins on my staging site…to no avail. I’ll do the same to my live site, do some more troubleshooting, and touch base again once I’ve done so.
January 4, 2020 at 2:45 am in reply to: Error When Clicking Any Location or Organization in Map #523954Great. Well, it’s being reported by people across the country on variety of browsers and OS, and I’m experiencing it myself.
Last time we went round and round for a while because at first y’all weren’t seeing the problem, then you were. I troubleshot it down to a specific plugin that didn’t make any sense, but that’s not in the mix this time. This time I tried turning off all plugins and it was still happening.
This totally fubar’s my site so if there’s anything you can do to look at logs or error reports or anything that opffer up a clue, I’d really appreciate it. : /
January 3, 2020 at 10:15 pm in reply to: Error When Clicking Any Location or Organization in Map #523922This reply has been marked as private.Thanks. Took a bit of figuring out, but not too bad, and was able to do what I wanted.
-
AuthorPosts