Can't find variable: geodir_all_js_msg

This topic contains 9 replies, has 2 voices, and was last updated by  Alex Rollin 5 years, 9 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #445056

    laurence anthony
    Expired Member
    Post count: 293

    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_msg

    Here’s video
    http://recordit.co/CHxG7WmJtQ

    Any help is appreciated

    #445057

    laurence anthony
    Expired Member
    Post count: 293
    This reply has been marked as private.
    #445110

    Alex Rollin
    Moderator
    Post count: 27815

    Hello,

    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/

    #445317

    laurence anthony
    Expired Member
    Post count: 293

    I’ve enable the trial for maps api.
    I’ve fixed mixed content.
    nothing changed.

    Here’s video
    http://recordit.co/145xjLVI9O

    #445322

    laurence anthony
    Expired Member
    Post count: 293

    Also so you know, I’ve disabled all plugins except for GD’s and have updated theme. Issue persists.

    #445344

    Alex Rollin
    Moderator
    Post count: 27815

    What 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.

    #445349

    laurence anthony
    Expired Member
    Post count: 293
    This reply has been marked as private.
    #445396

    Alex Rollin
    Moderator
    Post count: 27815

    A 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

    #445498

    laurence anthony
    Expired Member
    Post count: 293

    Hi 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!

    #445554

    Alex Rollin
    Moderator
    Post count: 27815

    Excellent! 🙂

Viewing 10 posts - 1 through 10 (of 10 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket