What does this mean and how do I fix it? My site has been really slow for the last ten minutes or so and now I have this error on a white screen. Please help, I'm panicking.
Edit: I've just managed to load a page but it's so slow I could brew a cup of tea while it's loading one page....
Another error:
Warning: mysql_real_escape_string() expects parameter 2 to be resource, boolean given in /home/content/28/7418528/html/sabrinova/Sources/Subs-Db-mysql.php on line 139.
Line 139 is the one with sprintf in it:
switch ($matches[1])
{
case 'int':
if (!is_numeric($replacement) || (string) $replacement !== (string) (int) $replacement)
smf_db_error_backtrace('Wrong value type sent to the database. Integer expected. (' . $matches[2] . ')', '', E_USER_ERROR, __FILE__, __LINE__);
return (string) (int) $replacement;
break;
case 'string':
case 'text':
return sprintf('\'%1$s\'', mysql_real_escape_string($replacement, $connection));
break;