Hi
I get 2 errors when I use Google Maps. I get this:
Warning: mysql_real_escape_string(): Can’t connect to local MySQL server through socket ‘/tmp/mysql.sock’ (2) in /home/u/u1201015/www/wp/wp-content/themes/enfold/framework/php/class-framework-widgets.php on line 1315
Warning: mysql_real_escape_string(): A link to the server could not be established in /home/u/u1201015/www/wp/wp-content/themes/enfold/framework/php/class-framework-widgets.php on line 1315
Any ideas what this is?
View the page/error at http://dev.enklating.se/enklating/
Hi Magnus!
Try adding this line to the theme functions.php file:
error_reporting(0);
Best regards,
Josue
Hi there!
We keep receiving the same error when using maps as custom widget.
I’ve removed custom widget from pages and substituted them with Map Media Element and the error is not occuring any more in the webpage, but we keep logging it in the error_log.
Are there any reccomendation about debugging this error?
error_reporting(0); is not showing much more informations in error_log.
Thank you!