This morning I checked the front page of this blog out of habit and look at the error I found at the topmost part of my page:
Couldn’t connect to database server.Couldn’t find database jqeury_pronto.An unexpected problem has occured with the application.
SELECT statscurl_id FROM `statscurl` WHERE statscurl_ip = ”;
I Googled the problem immediately and came up with two threads in the WordPress.org forums with a similar problem to mine. Some reported having successfully removed the culprit code after finding it in their theme folder’s header.php (or functions.php, for some) and commenting it out or removing the entirely.
However, since I am using the Thesis theme, there is no header.php file in my theme folder, nor can I find the code causing the error on my custom_functions.php file. I opened my trusty DocFetcher program and looked for the offending code, using the keyword “jqeury”. I used this as the keyword to look for since it’s a wrong spelling of jquery and looked suspicious. And voila! Found the offending code inside the head.php file, which is located under the thesis_182 ? lib ? classes folder. So here’s the code I removed:
You might have a slightly different code. In the forums they are reporting this:
They’re basically produce the same error. Anyway, to recap the place to find the code and comment it out or remove it is inside the head.php file, which is located under the thesis_182 ? lib ? classes folder.
I double checked to see if this piece of code is in the original Thesis theme folder and it’s not. I don’t know how it got there. I’m still checking my logs. Anyway, if you encountered the same problem, I hope this helps! For questions, the comment section is open 🙂