Thesis Theme Error: Couldn’t find database jqeury_pronto

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:

[code]
[/code]

You might have a slightly different code. In the forums they are reporting this:

[code][/code]

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 ๐Ÿ™‚

SHARE THIS article โคธ
Facebook
Pinterest
Twitter
Print
Email

GET UPDATES

Sign up to my newsletter so you get first peek into my detailed reviews, latest updates and occasional fun emails.

13 Responses

  1. That looks to be the result of a malicious hacker; simply removing the code may not be enough to fix the problem. The first thing you should do is change your passwords (WordPress admin, FTP, database, and hosting account) to be on the safe side. Second, install a WordPress security scan plugin that can validate the integrity of your WordPress files and report any other problems with permissions and the like.

    I had a hacking problem similar to what you report above a few years ago. Removing the offending code didn’t help as it reappeared within a week. I never figured out which file or program on my server was to blame, but once i went through all the motions to remove & actually secure the site afterward, i’ve not had the problem occur since.

    1. Already did those measures Rick, as soon as I gave up finding how it got there in the first place. LOL. Thanks for the reminder, anyway ๐Ÿ™‚

      Wow Rick Beckman actually commented on my blog. This day is one for the books <3

  2. I’ve removed the lines you mentioned but am still having the same issue? Does this take some time or ? .. Cleared cache and such..

  3. Thanks for the tips, Rick. I doubt it’s hackers as it happened on all three sites at the same time but I was was only working on two of the sites, removing plugins to help load times but I’m trying out Better WP Security , just to be sure;)

    1. i didn’t want to click on your link because it’s shortened. LOL. sorry. have you tried the fix stated in the post?

Leave a Reply

Your email address will not be published. Required fields are marked *

STAY IN THE KNOW

Sign up to my newsletter so you get first peek into my new uploads, detailed reviews, latest updates and occasional fun emails.