InMotion Hosting Support Center

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

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

Somethings have been <a href="http://en.wikipedia.org/wiki/Deprecation" target="_blank">deprecated</a> 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 <strong>PHP 5.3</strong> as the default. In the future if you run into similar problems you can always <a href="http://www.inmotionhosting.com/support/website/php/how-to-change-the-php-version-your-account-uses" target="_blank">change the PHP version in cPanel</a> or even <a href="http://www.inmotionhosting.com/support/website/php-configuration/using-multiple-php-versions-one-account" target="_blank">run multiple versions of PHP</a> 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?

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!