• Resolved q120000

    (@q120000)


    Last update; now get this error:

    Parse error: syntax error, unexpected ‘[‘, expecting ‘)’ in /home/wyocomm/public_html/wp-content/themes/nirvana/admin/sanitize.php on line 211

    Using a child theme for Nirvana. Running in MultiSite. All that use Nirvana have the same error. Tried substituting sanitize.php from another web site with same version of Nirvana (Version: 1.4.0) – I get the same error.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter q120000

    (@q120000)

    Found fix at CryoutCreation’s website’s Bugs forum by Raymond.

    ————–
    What 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.
    ————–

    It worked!

    Thank you Raymond.

    I had the same issue.
    I think the author of this theme works on PHP 7. So I fixed this problem by changing my PHP version. On PHP >=7.0, there is no problem.
    I hope that will help you.

    Theme Author CryoutCreations

    (@cryout-creations)

    Hi guys,

    Thanks for the feedback. We’ve fixed this in version 1.4.1. Sorry for any problems this might’ve created.

    I have the same problem:

    Parse error: syntax error, unexpected ‘[‘, expecting ‘)’ in /home/drano/domains/matkowanie.pl/public_html/wp-content/themes/nirvana/admin/sanitize.php on line 211
    I don’t know how to login for wp-admin. Can you help me with this?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘unexpected ‘[‘’ is closed to new replies.