Nirvana 1.1.0 not working – syntax error (solved)

  • Author
    Posts
  • #32412
    Sergio Anselmi

    Hi
    I write only to save time if you have problems updating Nirvana to 1.1.0
    There is two major problems with the update (at least to me, maybe related with php version)

    1 – in nirvana/includes/widgets.php
    Line 99 not working:
    alt="<?php echo ($title?:''); ?>"
    working:
    alt="<?php echo $title ?>"

    2 – in nirvana/frontpage.php
    Line 114 not working:
    alt="<?php echo ($slide['title']?:''); ?>"
    working:
    alt="<?php echo $slide['title']; ?>"

    Hope this helps.

    Regards

    #32419
    Zed
    Cryout Creations mastermind

    Yes, there is indeed a PHP version limitation due to some new code we’ve added to both Tempera and Nirvana which only works on PHP 5.3 and newer. For servers running older PHP, this solution is good (for both themes, although line numbers may differ).

    We’ll get this fixed as soon as possible.


    If you like our creations, help us share by rating them on WordPress.org.
    Please check the available documentation and search the forums before starting a topic.
    #32431
    Greener

    Because of this error I can’t access the web page to log in any more. Please get this fixed. ASAP as my posts can’t be viewed. Is there any other way I can log in please?

    #32432
    Greener

    Because of this I can’t even access my login page so please fix it asap. Is there any other way to log in please?

    #32433
    Karina

    I can’t edit anything in my page, undo the theme update, etc and my page is no longer displaying! Please fix or share a fix ASAP.

    Parse error: syntax error, unexpected ‘:’ in D:\Hosting\2636178\html\egcamp\wp-content\themes\tempera\includes\widgets.php on line 108

    #32447
    Don Matteo

    Serious???? I have spend 6 hours of my life, to get fix this bug -.-***
    I have delete all files from my server and load one of the daily Backups up.
    But the Problem is, that i have to remain on the older version of Nirvana and that is -i think so- no option.

    Thank you “Sergio Anselmi” your solution works perfektly.

    Shame on you Nirvana programmer ^.-

    #32449
    Nicole

    This solution appears to have worked on Tempera as well. This situation does make me think that there should be some kind of warning on WordPress themes if there may be a conflict with older versions of PHP.

    #32464
    Samara Sinclair

    Just a note that my server WAS running PHP 5.3 when I updated the Tempera theme. Regardless of this, the update seems to have deleted the entire site (all I see are white pages). My web host tried PHP 5.4 but that didn’t fix anything either.

    #32468
    Samara Sinclair

    Does anyone know what the line numbers are for the Tempera theme for this temporary patch? Thanks!

    #32470
    Fletch Bryan

    Thank you Sergio Anselmi. Worked perfectly 🙂

    #32473
    Matt

    Used those quick fixes. It sort of worked now I get this error

    Fatal error: Call to undefined function cryout_meta_hook() in /homepages/46/d424819134/htdocs/wp/wp-content/themes/tempera/header.php on line 14

    #33382
    Guntram

    I got the same error on nirvana template:

    Call to undefined function cryout_meta_hook() in /wp/wp-content/themes/nirvana/header.php on line 14

    Can you please help me to fix this?

    THX
    Guntram

Viewing 12 posts - 1 through 12 (of 12 total)

The topic ‘Nirvana 1.1.0 not working – syntax error (solved)’ is closed to new replies.