Wordpress / PHP / MySQL error

Category: Wordpress 34

teedubya
Asked:
2012-11-02 11:09 am EST

Hits: 1,658
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 http://planetstylist.com/rate-the-styles/

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?

Thanks!!

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

You must login before you can submit an answer.

OTHER ANSWERS

0

JacobIMH
Staff
5,569 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?
Write New!
Do you want to publish a tutorial to our support center?

News / Announcements

SSL Certficate Warnings
Updated 2014-04-14 11:34 am EST
Hits: 2066
Heartbleed 0-day OpenSSL security bug
Updated 2014-04-14 04:43 pm EST
Hits: 5410

Related Articles

It looks like there are no related articles.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Need more Help?

Search

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: support@InMotionHosting.com
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!