i am having a bit of a problem with w3 total cache
Notice: wpdb::escape is deprecated since version 3.6! Use wpdb::prepare() or esc_sql() instead. in /home/####/public_html/wp-includes/functions.php on line 2871
This problem is manifested just when accessing the naked domain without www in front with Chrome it gets stuck with the white page and the deprecated message on screen to put it simply id doesn’t redirect, on firefox, ie this issue doesn’t seem to manifest, it redirects to the www. version of the site without any problems.
If i disable w3 total cache, the website works great without seeing any deprecated notices or anything else (with debug mode set to true).
Any clues on what can i do to get rid of this message, and solve the issue on chrome also?
Edit: Also all plugins i am using are up to date