small biz call-time php fatal error (7 posts)

  1. Gary Stamper
    Posted 2 years ago #

    my site is down due to a problem with the theme starting at about noon today. I

    Error Logs
    [Sun Oct 27 10:23:50 2013] CURRENT SERVER TIME
    [27-Oct-2013 16:10:45 UTC] PHP Fatal error: Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of e2w_migrate_legacy_headers(). in /home3/awakenk8/public_html/collapsingintoconsciousness/wp-content/themes/smallbiz/functions.php on line 467

  2. WPyogi
    Forum Moderator
    Posted 2 years ago #

    You'll need to deactivate that theme - using FTP or Cpanel to change the name on that theme's folder:

  3. PHP 5.4 has removed call-time pass-by-reference, so your theme needs to be modified to work with PHP 5.4. If the theme author can't do that, then you can check if your host can put you back on PHP 5.3.

  4. Gary Stamper
    Posted 2 years ago #

    Newbie...I'm using Bluehost and don't know how to do that...can you tell me where in the Cpanel I can find that? and change what to what?

    Thanks for your patience!

  5. I don't use Bluehost (but a small WordPress business I work for does). This may help: Bluehost Web Hosting Help: PHP Version Selection (PHP Config). It would still be best if you contacted your theme author to have theme update the theme. Bluehost has been updating default PHP to 5.4 I think. I've seen this happen before with Bluehost. (but with plugins) It's really a matter of some plugin and theme authors not checking that their code is PHP 5.4 compatible.

  6. WPyogi
    Forum Moderator
    Posted 2 years ago #

    FWIW, someone else had a problem with that theme and WP3.7 - so I'd second Doug's advice about the theme developer -


  7. Javier Mendoza
    Posted 2 years ago #

    Hi everybody,

    Just remove the '&' character from line 467 and 2038 where 'e2w_migrate_legacy_headers' is called like so:


    change it to:


    It should be solved.

Topic Closed

This topic has been closed to new replies.

About this Topic