Dec 31st update broke my site

  • Author
    Posts
  • #28876
    nif

    The theme update completely busted my site with a parse error. How can I un-install the update?

    #28877
    nif

    Parse error: syntax error, unexpected ‘(‘, expecting T_STRING in …/wp-content/themes/nirvana/includes/theme-loop.php on line 330

    #28879
    Ethratian

    Same here.

    Parse error: syntax error, unexpected ‘(‘, expecting T_STRING in …/wp-content/themes/nirvana/includes/theme-loop.php on line 330

    #28881
    nif

    It’s missing a function name on line 330.

    #28885
    Vincent

    The latest update seems to have changed my default thumb sizes. They are set to 150×200 but on some galleries they now appear at 130×200 and on some they now appear at 100×200.

    Why is this, can it be corrected, and if not, how do I revert back to the previous version of Nirvana?

    Thanks in advance!

    #28888
    Ross

    I’m haveing the same problem. Parse error: syntax error, unexpected ‘(‘, expecting T_STRING in …/themes/nirvana/includes/theme-loop.php on line 330.

    Does anyone have any idea how to either roll back the update, or correct the code?

    #28891
    Zed
    Cryout Creations mastermind

    Sorry about the parsing error. It somehow managed to slip by without causing any issues on our test environment.

    We hope the update correcting it will be approved as soon as possible. In the meantime you can uninstall Nirvana and manually install the older version from https://wordpress.org/themes/download/nirvana.1.0.0.zip
    Theme settings will remain as configured.


    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.
    #28896
    Sunil

    Hello,
    Problem solved by add the nirvana_content_nav added in the function name given below it
    function nirvana_content_nav ( $nav_id ) on …/wp-content/themes/nirvana/includes/theme-loop.php on line 330..

    #28897
    Sunil

    Hello,
    After added the function name on line 330 you can manage by installing the old theme.
    Thanks..

    #28898
    Sunil

    Because when you update the code as function name in your theme, your site design some changes so use it by using old version theme.

    #28902
    jason

    I don’t understand what Sunil is saying with all the grammar errors. Not to be rude. I just want to be able to fix this and can’t. Do I add nirvana_content_nav to line 330? My line 330 is currently blank in my theme-loop.php.

    Also I am renaming my nirvana folder via ftp and uploading the 1.0.0 version. I hope that overrides and lets me back in my site. Right now I have no access what so ever.

    Ok. I just copied the folder and now I have access. I saved the last folder by renaming it, just in case. Blog is back up and running. Phew, close call.

    DO NOT UPGRADE YOUR NIRVANA THEME TO 1.0.1

    Zed, please give us a fix ASAP! By the way, I love all the Cryout Creations themes! (maybe not the zombie one, it’s kind of weird.)

    #28910
    Scott

    what should line 330 be?

    starting at 330, mine is:
    function ( $nav_id ) {
    global $wp_query;
    if ( $wp_query->max_num_pages > 1 ) : ?>
    <nav id=”<?php echo $nav_id; ?>” class=”navigation”>
    <div class=”nav-previous”>
    <?php next_posts_link( __( ‘<i class=”meta-nav-prev”></i> <span>Older posts</span>’, ‘nirvana’ ) ); ?>
    </div>
    <div class=”nav-next”>
    <?php previous_posts_link( __( ‘<span>Newer posts</span> <i class=”meta-nav-next”></i>’, ‘nirvana’ ) ); ?>
    </div>
    </nav><!– #nav-above –>
    <?php endif;
    }; // nirvana_content_nav()
    endif; // nirvana_content_nav

    #28914
    Zed
    Cryout Creations mastermind

    function ( $nav_id ) {
    should be
    function nirvana_content_nav( $nav_id ) {
    in nirvana/includes/theme-loop.php

    Correcting that line will return the theme to working condition.


    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.
    #28916
    Scott

    Thank you Zed! You are the man!

    #28929
    Chris

    Thanks Zed – Kudos 🙂

    #28932
    Paul

    Would agree with Jason
    “DO NOT UPGRADE YOUR NIRVANA THEME TO 1.0.1”

    Installed find went to activate and “broke my site”

    #28950
    jason

    Is it safe to install v1.0.2? see it is released. Has the issue with 1.0.1 been resolved?

    #28955
    Chris

    Hi Paul – 1.0.1 had a problem where there was a missing function name in a critical file. This causes PHP to have a bit of a fit and thus break the site. I applied the fix as per Zed’s comment and it’s now working as expected.

    I’ve not tried 1.0.2 yet…

    #28968
    Zed
    Cryout Creations mastermind

    1.0.2 fixes the missing function name.


    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.
    #28973
    Sunil

    Hi jason, Sorry for the grammetical mistakes but just said that use

    function ( $nav_id ) {

    should be

    function nirvana_content_nav( $nav_id ) {

    just add this nirvana_content_nav
    OK.

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

The topic ‘Dec 31st update broke my site’ is closed to new replies.