Tagged: google maps
Hey, Im trying to add the Enfold google maps widget onto the footer of my site but when I do its displaying the following:
Warning: mysql_real_escape_string(): No such file or directory in /homepages/14/d386892311/htdocs/UkHairTransplant/wp-content/themes/enfold/framework/php/class-framework-widgets.php on line 1318
Warning: mysql_real_escape_string(): A link to the server could not be established in /homepages/14/d386892311/htdocs/UkHairTransplant/wp-content/themes/enfold/framework/php/class-framework-widgets.php on line 1318
Why is it doing this?
Also how come there is a orange street view man on my widget map but i can’t seem to get one on my big map built on the page here: http://ukhairtransplant.co.uk/contact/
Thank you,
Aaron
Hey Aaron!
Can you please try re-updating the theme via FTP and make sure to overwrite all files – http://vimeo.com/67209750
Cheers!
Yigit
I have updated it and its still displaying this issue
Thanks,
Aaron
The fix for the issue:
File: class-framework-widgets.php
Line 1318:
Change: $content = mysql_real_escape_string($content);
to : $content = esc_sql($content);
That call is deprecated.