Can't find variable: geodir_all_js_msg
This topic contains 9 replies, has 2 voices, and was last updated by Alex Rollin 6 years, 7 months ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket-
AuthorPosts
-
September 3, 2018 at 12:36 am #445056
Hi,
I Recently updated to current GD and plugins.The backend editor for geodirectory CPTs is now showing white text in the editor, the map isn’t displaying, and the meta boxes are no longer expandable, and can’t toggle between Text and Visual views.
Console shows this error:
Can’t find variable: geodir_all_js_msgHere’s video
http://recordit.co/CHxG7WmJtQAny help is appreciated
September 3, 2018 at 12:38 am #445057This reply has been marked as private.September 3, 2018 at 12:24 pm #445110Hello,
1. Query limit – You need to add your billing option to the Google Map API project, see https://developers.google.com/maps/documentation/directions/usage-and-billing
and https://wpgeodirectory.com/google-maps-platform-changes-directory-developers/2. Backend editor issues – I did add and edit a listing through the backend, but after save, I saw that the query limit error appeared and so the maps api fails to load. Take care of 1. above and this could be resolved.
3. geodir_all_js_msg – I see this message as well. This could be related to the mixed content errors on the site. Please address those and let us know if it fixes the issue. https://wpgeodirectory.com/docs-v2/v2/mixed-content/
September 4, 2018 at 4:33 pm #445317I’ve enable the trial for maps api.
I’ve fixed mixed content.
nothing changed.Here’s video
http://recordit.co/145xjLVI9OSeptember 4, 2018 at 5:08 pm #445322Also so you know, I’ve disabled all plugins except for GD’s and have updated theme. Issue persists.
September 4, 2018 at 8:13 pm #445344What are the query limits for the map trial?
When I look at the add place page I see the screenshots attached.
Please write back with FTP information so we can do a deeper diagnosis.
September 4, 2018 at 8:30 pm #445349This reply has been marked as private.September 5, 2018 at 8:07 am #445396A complete billing profile should be setup, or switch to OSM because the Google API query limit has been exceeded. The plugin cannot work without a functional Map API.
I have removed the key from the theme Google services, as this as forcing the maps api to be included twice.
All three of the following issues are related to the Maps API billing account:
1. Adding a place results in: Geocode was not successful for the following reason: REQUEST_DENIED
2. The following error is in the console:
Geocoding Service: You have exceeded your daily request quota for this API. If you did not set a custom daily request quota, verify your project has an active billing account: http://g.co/dev/maps-no-account For more information on usage limits and the Google Maps JavaScript API services please see: https://developers.google.com/maps/documentation/javascript/usage
3. This is creating a geocoding error: Uncaught ReferenceError: getCountryISO is not defined at updateMarkerAddress
Additional solutions:
Please try this code snippet fix for Avia/Enfold: https://wpgeodirectory.com/support/topic/listing-description-not-visible-after-saving/page/2/#post-420413
And a second one for the map conflict: https://wpgeodirectory.com/support/topic/unable-to-make-changes-to-records-places-even-as-admin/#post-436922
Let us know how it goes
September 5, 2018 at 6:48 pm #445498Hi Alex,
This fixed it/*** ALB builder compatiblity for Geodirectoy***/ add_action( 'add_meta_boxes', '_my_remove_actions',0 ); function _my_remove_actions(){ global $post; if(isset($post->post_type) && in_array($post->post_type, geodir_get_posttypes())){ remove_action('dbx_post_sidebar', array( Avia_Builder(), 'handler_wp_dbx_post_sidebar'), 10); } }
Thank you sir!
September 6, 2018 at 5:53 am #445554Excellent! 🙂
-
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket