-
AuthorPosts
-
May 20th, 2017 at 18:59 #45659
Hello all,
Just updated my Nirvana theme today and now am unable to access the Dashboard without getting the following error:
Parse error: syntax error, unexpected ‘[‘, expecting ‘)’ in /home/content/82/11964382/html/TheTechInformist/wp-content/themes/nirvana/admin/sanitize.php on line 211
Any suggestions on what I can do, or correct via FTP so I can get back in?
Thanks
Website: www.thetechinformist.com
May 21st, 2017 at 19:55 #45690What I did was made this modification on line 211 of sanitize.php:
if ( !isset($input[$key][$subkey]) ) $input[$key] = array( $subkey => ” );
(I removed the [ ] around $subkey in array() )
But I would expect a fix real soon from Cryout, this is quite severe.
May 22nd, 2017 at 16:30 #45724ZedCryout Creations mastermindWe’re sorry the issue affected your sites. We’ve published the update correcting it today.
The problem only manifests on PHP 5.3 and older, which do not support the
array( [$key] => 'value' )
format.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.May 23rd, 2017 at 19:50 #45739still can’t access to dashboard, so how can I update the theme?
May 23rd, 2017 at 19:53 #45740Same here.
May 26th, 2017 at 07:32 #45823Hello zed
Any news for this issue?
I can’t access to the dash board so I cannot update the theme with your fix
Can you help me?May 26th, 2017 at 18:01 #45844Waiting here as well for any tips since we are unable to access the dashboard to install the update. I’m familiar with FTP and can get into the site that way, but would rather not try overwriting the theme and lose all customizations.
May 28th, 2017 at 14:18 #45937ZedCryout Creations mastermindIt is safe to entirely delete the theme folder via FTP (if you are comfortable with FTP). You can then access the dashboard (as WordPress will re-set to the default Twenty theme) and reinstall Nirvana. All configured options will remain as they were (being stored in the database).
Nirvana 1.4.1 resolves this problem with PHP <5.3
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.May 30th, 2017 at 05:21 #46157Thanks. I just downloaded the theme again from the website and uploaded the Nirvana folder and all appears well again.
Thank you all for getting this squared away so quickly.
-
AuthorPosts
The topic ‘Parser error after theme update’ is closed to new replies.