Parse error class-redux-import-export.php (fix)
-
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 bracketfixed line is:
$secret = wp_create_nonce( 'redux_io_' . $this->parent->args['opt_name'] );
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.