Parse error /includes/admin/class-es-tools.php
-
Hi,
I have not accessed my WP website for a few weeks and now cannot get in. I have an error
Parse error: syntax error, unexpected ‘[‘ in /websites/gr/greyedge.net/wordpress/wp-content/plugins/email-subscribers/includes/admin/class-es-tools.php on line 23
I cannot get into my WP Dashboard either so cannot advise what version of ES I am using but sure I has been upgrade in the last month or so.Found the relevant line in the advised directory and it is highlighted in red
public function __construct() {
add_filter( ‘set-screen-option’, [ __CLASS__, ‘set_screen’ ], 10, 3 );
add_action( ‘admin_init’, array( $this, ‘setup_sections’ ) );
add_action( ‘admin_init’, array( $this, ’email_tools_settings_fields’ ) );
}Can you please advise a way forward as I am now stuck.
Thanks……
Dave
The topic ‘Parse error /includes/admin/class-es-tools.php’ is closed to new replies.