-
AuthorPosts
-
December 31st, 2014 at 18:16 #28876nif
The theme update completely busted my site with a parse error. How can I un-install the update?
December 31st, 2014 at 18:26 #28877nifParse error: syntax error, unexpected ‘(‘, expecting T_STRING in …/wp-content/themes/nirvana/includes/theme-loop.php on line 330
December 31st, 2014 at 19:04 #28879EthratianSame here.
Parse error: syntax error, unexpected ‘(‘, expecting T_STRING in …/wp-content/themes/nirvana/includes/theme-loop.php on line 330
December 31st, 2014 at 19:46 #28881nifIt’s missing a function name on line 330.
December 31st, 2014 at 23:43 #28885VincentThe 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!
January 1st, 2015 at 07:23 #28888RossI’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?
January 1st, 2015 at 22:32 #28891ZedCryout Creations mastermindSorry 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.January 2nd, 2015 at 08:25 #28896SunilHello,
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..January 2nd, 2015 at 08:27 #28897SunilHello,
After added the function name on line 330 you can manage by installing the old theme.
Thanks..January 2nd, 2015 at 08:31 #28898SunilBecause when you update the code as function name in your theme, your site design some changes so use it by using old version theme.
January 2nd, 2015 at 17:15 #28902jasonI 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.)
January 3rd, 2015 at 00:42 #28910Scottwhat 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_navJanuary 3rd, 2015 at 01:02 #28914ZedCryout Creations mastermindfunction ( $nav_id ) {
should be
function nirvana_content_nav( $nav_id ) {
in nirvana/includes/theme-loop.phpCorrecting 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.January 3rd, 2015 at 01:27 #28916ScottThank you Zed! You are the man!
January 3rd, 2015 at 14:30 #28929ChrisThanks Zed – Kudos 🙂
January 4th, 2015 at 01:27 #28932PaulWould agree with Jason
“DO NOT UPGRADE YOUR NIRVANA THEME TO 1.0.1”Installed find went to activate and “broke my site”
January 5th, 2015 at 05:53 #28950jasonIs it safe to install v1.0.2? see it is released. Has the issue with 1.0.1 been resolved?
January 5th, 2015 at 13:19 #28955ChrisHi 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…
January 5th, 2015 at 23:35 #28968ZedCryout Creations mastermind1.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.January 6th, 2015 at 09:10 #28973SunilHi 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. -
AuthorPosts
The topic ‘Dec 31st update broke my site’ is closed to new replies.