WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. Gary Stamper
    Member
    Posted 9 months 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
    /home3/awakenk8/public_html/collapsingintoconsciousness/error_log:
    [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
    Volunteer Moderator
    Posted 9 months ago #

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

    wp-content
        themes
            smallbiz.HOLD
  3. Scriptrunner (Doug Sparling)
    Member
    Posted 9 months ago #

    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
    Member
    Posted 9 months 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. Scriptrunner (Doug Sparling)
    Member
    Posted 9 months ago #

    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
    Volunteer Moderator
    Posted 9 months ago #

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

    http://wordpress.org/support/topic/small-biz-theme-does-not-work-with-37?replies=3

  7. Javier Mendoza
    Member
    Posted 5 months ago #

    Hi everybody,

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

    e2w_migrate_legacy_headers(&$user_banner_storage);

    change it to:

    e2w_migrate_legacy_headers($user_banner_storage);

    It should be solved.

Reply

You must log in to post.

About this Topic