ReferenceError: Can't find variable: geodir_all_js_msg

This topic contains 3 replies, has 3 voices, and was last updated by  fabiankrenzler 9 years, 11 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #18990

    execfro
    Buyer
    Post count: 80

    For some reasons I’m getting an error on line 39 of

    on_document_load.js

    . The odd thing is that I only see this error on the live environment, the local environment has no such error.

    That particular line contains:

    bigStarsPath : geodir_all_js_msg.geodir_default_rating_star_icon,

    The error shows up on these two pages:
    http://highway.bigrigmedia.com/places/palm-canyon-hotel-rv-resort/

    http://highway.bigrigmedia.com/explore/

    #18995

    execfro
    Buyer
    Post count: 80

    Turns out the error was due to the fact that the footer wasn’t loading properly.

    #19001

    Simone
    Expired Member
    Post count: 3515

    Thanks for letting know

    #28605

    fabiankrenzler
    Free User
    Post count: 3

    Hello,

    this error can happen if your server hasn’t installed mb_stringtolower extension on the server.
    To avoid this error you can add a function to geodirectory:

    if (!function_exists(mb_strtolower)) {
    function mb_strtolower ($string, $encoding=”) {
    return strtolower($string);
    }
    }

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

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

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount