Support » Plugin: Gutenberg Template and Pattern Library & Redux Framework » Parse error class-redux-import-export.php (fix)

  • Resolved mrtvy.kenny

    (@mrtvykenny)


    There is unnecessary comma in the code that causes Fatal Error on probably older PHP versions…

    The Error:

    Parse error: syntax error, unexpected ')' in /www/doc/www.XXXX.com/www/wp-content/plugins/redux-framework/redux-core/inc/extensions/import_export/import_export/class-redux-import-export.php on line 63

    The problem (and fix):
    locate the file /wp-content/plugins/redux-framework/redux-core/inc/extensions/import_export/import_export/class-redux-import-export.php and find line 63.
    delete the last comma before the right bracket

    fixed line is:
    $secret = wp_create_nonce( 'redux_io_' . $this->parent->args['opt_name'] );

    • This topic was modified 1 year, 5 months ago by mrtvy.kenny.
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Parse error class-redux-import-export.php (fix)’ is closed to new replies.