Fatal error: Call-time pass-by-reference has been removed

Category: Wordpress

InMotionFans
n/a Points
Asked:
2014-07-02 6:34 pm EST

Hits: 48
I just tried to log into the admin panel of my site but when I go to http://example.com/wp-admin I get the following error message:

Fatal error: Call-time pass-by-reference has been removed in /home/userna5/public_html/example.com/wp-content/themes/gymbase_custom/nav-menu-dropdown-walker.php on line 18

can't acces my site or my WP admin i have no clue what to do!

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
9,521 Points
2014-07-02 6:44 pm EST
Hello, and sorry for the issues!

Your server's default PHP version was recently upgraded to PHP 5.4 to enforce better security across the server.

Somethings have been deprecated in this newer version, and it looks like one of your theme's files was trying to use such a feature.

I've gone ahead and resolved this for your by setting your account back to PHP 5.3 as the default. In the future if you run into similar problems you can always change the PHP version in cPanel or even run multiple versions of PHP on your account in the event that some of your directories require a specific version of PHP to function properly.

Please let us know if you're still having any issues at all.

- Jacob

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

Like this Question?

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!