Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #447281

    Hi there,

    My host, WPEngine, recently upgraded to PHP 5.5 and since then there has been an error generated by the Google Maps widget. WPEngine has confirmed that this is as a result of that conflict and suggested I reach out to you for a solution. You can see the error being shown on my staging site below. Please look to the bottom of the page right above the Google Maps widget.

    I have all plugins deactivated except for BBPress which is needed to show the maps widget.

    Thanks!

    Best,
    Jonathan

    #447874
    #447892

    Thanks Elliott! I’m finding that thread very confusing – do there need to be the additions to functions.php or just replacing the code in the other file? If you don’t mind can you please just let me know exactly what to do here? :)

    Thanks so much.

    Best,
    Jonathan

    #448117

    Hi Elliott, I did the following only and it seemed to work. I ignored the earlier parts of the thread you referenced. Please confirm that this is all I needed to do, thanks.

    The only file I’m editing is /enfold/framework/php/class-framework-widgets.php and I’m replacing

    $content = mysql_real_escape_string($content);

    with

    $content = esc_sql($content);

    Is this correct? I didn’t change anything in functions.php as mentioned earlier in your referenced thread.

    Thank you!

    #448118

    Actually nevermind – after updating to the latest version of enfold the error disappears on its own. I guess this was fixed in one of the recent updates?

    #448881

    Hi!

    Hmm.. We are actually not sure but glad it is fixed. If you encounter any issues in the future, let us know. :)

    Best regards,
    Ismael

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Google Maps widget error’ is closed to new replies.