Title: Parse error /includes/admin/class-es-tools.php
Last modified: May 4, 2019

---

# Parse error /includes/admin/class-es-tools.php

 *  Resolved [Katrina](https://wordpress.org/support/users/greyedge2/)
 * (@greyedge2)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/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.

 * ![](https://ps.w.org/email-subscribers/assets/icon-256x256.png?rev=2274172)
 * [Email Subscribers & Newsletters - Email Marketing, Post Notifications & Newsletter Plugin for WordPress](https://wordpress.org/plugins/email-subscribers/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/email-subscribers/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/email-subscribers/)
 * [Active Topics](https://wordpress.org/support/plugin/email-subscribers/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/email-subscribers/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/email-subscribers/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [Katrina](https://wordpress.org/support/users/greyedge2/)
 * Last activity: [7 years, 1 month ago](https://wordpress.org/support/topic/parse-error-includes-admin-class-es-tools-php/)
 * Status: resolved