GeoDirectory SupportReferenceError: Can't find variable: geodir_all_js_msg – GeoDirectory Support https://wpgeodirectory.com/support/topic/referenceerror-cant-find-variable-geodir_all_js_msg/feed Fri, 03 Apr 2026 19:47:32 +0000 http://bbpress.org/?v=2.5.14-6684 en-US https://wpgeodirectory.com/support/topic/referenceerror-cant-find-variable-geodir_all_js_msg/#post-18990 <![CDATA[ReferenceError: Can't find variable: geodir_all_js_msg]]> https://wpgeodirectory.com/support/topic/referenceerror-cant-find-variable-geodir_all_js_msg/#post-18990 Mon, 20 Oct 2014 23:24:50 +0000 execfro 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/

]]>
https://wpgeodirectory.com/support/topic/referenceerror-cant-find-variable-geodir_all_js_msg/#post-18995 <![CDATA[Reply To: ReferenceError: Can't find variable: geodir_all_js_msg]]> https://wpgeodirectory.com/support/topic/referenceerror-cant-find-variable-geodir_all_js_msg/#post-18995 Tue, 21 Oct 2014 04:04:46 +0000 execfro Turns out the error was due to the fact that the footer wasn’t loading properly.

]]>
https://wpgeodirectory.com/support/topic/referenceerror-cant-find-variable-geodir_all_js_msg/#post-19001 <![CDATA[Reply To: ReferenceError: Can't find variable: geodir_all_js_msg]]> https://wpgeodirectory.com/support/topic/referenceerror-cant-find-variable-geodir_all_js_msg/#post-19001 Tue, 21 Oct 2014 08:15:28 +0000 Simone Thanks for letting know

]]>
https://wpgeodirectory.com/support/topic/referenceerror-cant-find-variable-geodir_all_js_msg/#post-28605 <![CDATA[Reply To: ReferenceError: Can't find variable: geodir_all_js_msg]]> https://wpgeodirectory.com/support/topic/referenceerror-cant-find-variable-geodir_all_js_msg/#post-28605 Fri, 23 Jan 2015 10:36:27 +0000 fabiankrenzler 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);
}
}

]]>