InMotion Hosting Support Center

Wordpress / PHP / MySQL error

Category: Wordpress 34

2012-11-02 11:09 am EST

Hits: 1,698
Hi there. I am using Wordpress, and keep getting an error on one of my pages. At first, I needed to increase the PHP memory limit, but I keep getting this error now on

Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in /home/plane101/public_html/wp-content/themes/webcraft/page-rate-the-styles.php on line 46

Do you know if there is a quick fix for this?


You must login before you can ask a follow up question.

You must login before you can submit an answer.



9,968 Points
2012-11-02 11:45 am EST
Hello teedubya and thanks for your question.

The mysql_fetch_object() error is usually related to your SQL query not returning back valid data.

It also looks like you have the WP Super Cache plugin installed, you'll more than likely want to disable this temporarily while you're trying to resolve this error. Since you might be simply getting served a cached page of the error from an earlier time.

Because this error is coming from a theme for WordPress you might want to contact the theme developer and ask if they're aware of any issues such as this, as unfortunately it could be a simple fix but you would need to know exactly where to look to fix it. More than likely there is some data missing from the database that the code is expecting that isn't there.

Did you just install this theme, or migrate over this WordPress site from another host where it had been working previously for you?

Please let us know if you have any other questions at all.

- Jacob

You must login before you can post a comment about this answer.

Like this Question?

Support Center Login

Our Login page has moved, Click the button below to be taken to the login page.

Social Media Login

Social Login Joomla

Related Articles

Need more Help?


Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail:
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!