• Resolved jonwheeler

    (@jonwheeler)


    Our site must have recently automatically updated to the new version of the theme and now is kicking up this fatal error:

    Fatal error: Can’t use function return value in write context in /home2/mfarmelo/public_html/wp-content/themes/responsive/header.php on line 80

    It looks like since 3.14 there is a new series of “get_theme_mod” functions added that were not in versions prior to 3.14. Is there a way to get around this or roll back to 3.14 to ensure the site will stay functional while we perhaps configure settings that are breaking in new version?

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter jonwheeler

    (@jonwheeler)

    FYI, I was able to get the site working by replacing the 3.15.2 version of header.php with the one from 3.14 subversion library but would like to fix this issue to not keep files out of sync. May be related to site running old version of php — have been having trouble getting access to correct part of server to upgrade that for this client…

    Thread Starter jonwheeler

    (@jonwheeler)

    Update to newer version of php did the trick. We were running 5.4 clearly not compatible with new theme code.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Error in header.php after update to 3.15.2’ is closed to new replies.