• Fatal error: Call-time pass-by-reference has been removed in /home4/ezr106/public_html/wp-content/themes/healthy-wp/functions.php on line 32

    I got that when I wanted to install a theme for my website. Anybody know how I can fix it?

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • sprytechies_kedar_jangir

    (@sprytechies_kedar_jangir)

    theme is corrupted try another theme

    Moderator Jose Castaneda

    (@jcastaneda)

    THEME COFFEE MONKEY

    You can actually post it in the theme support page if you would like. ??

    That way the theme’s developer is aware of the issue and can help you out as well. It is not a corrupted theme, it means that you are using a version of PHP that does not support passing a variable by reference. It is a simple fix but tedious because it means looking for each instance it happens.

    Supposing this is the right line, then you can just remove the reference flag from the code, which is the ampersand symbol in the &output variable:

    // healthy-wp/functions.php:32
    parent::start_el(&$output, $item, $depth, $args);
    // Fixed code (same line)
    parent::start_el($output, $item, $depth, $args);
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Fatal Error (Theme)’ is closed to new replies.