Title: Leads plugin activate FATAL ERROR
Last modified: August 31, 2016

---

# Leads plugin activate FATAL ERROR

 *  [ahoubavlis](https://wordpress.org/support/users/ahoubavlis/)
 * (@ahoubavlis)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/leads-plugin-activate-fatal-error/)
 * Parse error: syntax error, unexpected T_CLASS in /home/content/41/11019041/html/
   wp-content/plugins/leads/classes/class.dashboard.php on line 1
 * [https://wordpress.org/plugins/leads/](https://wordpress.org/plugins/leads/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [zeljkoprsa](https://wordpress.org/support/users/zeljkoprsa/)
 * (@zeljkoprsa)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/leads-plugin-activate-fatal-error/#post-7127740)
 * I’m also investigating the problem after update.
    [Wed Mar 02 10:50:43 2016] [
   warn] [client 162.158.54.242] mod_fcgid: stderr: PHP Parse error: syntax error,
   unexpected ‘{‘, expecting T_STRING or T_VARIABLE or ‘$’ in /…/…/…/jakesharp.co/…/
   wp-content/plugins/leads/classes/class.batch-processing.php on line 80, referer:
   [http://jakesharp.co/magento/magento-emails-not-sent/](http://jakesharp.co/magento/magento-emails-not-sent/)
 * It’s preventing me to access the admin area.
 *  [zeljkoprsa](https://wordpress.org/support/users/zeljkoprsa/)
 * (@zeljkoprsa)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/leads-plugin-activate-fatal-error/#post-7127760)
 * Looks like we got it solved, at least for the 500 error for the admin.
 * Don’t know if anything else is broken though.
 * In your wp-content/plugins/leads/classes/class.batch-processing.php
 * Go to line 80 and change this:
 * `self::{$args['method']}($args);`
 * into this:
 * `self::${$args['method']}($args);`
 * Clear any caching if enabled.
 *  Thread Starter [ahoubavlis](https://wordpress.org/support/users/ahoubavlis/)
 * (@ahoubavlis)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/leads-plugin-activate-fatal-error/#post-7127767)
 * Still getting the Parse error: syntax error, unexpected T_CLASS in /home/content/
   41/11019041/html/wp-content/plugins/leads/classes/class.dashboard.php on line
   1
 *  [zeljkoprsa](https://wordpress.org/support/users/zeljkoprsa/)
 * (@zeljkoprsa)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/leads-plugin-activate-fatal-error/#post-7127920)
 * ahoubavlis did you try updating to the latest version?

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Leads plugin activate FATAL ERROR’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/leads_6e6e6e.svg)
 * [WordPress Leads](https://wordpress.org/plugins/leads/)
 * [Support Threads](https://wordpress.org/support/plugin/leads/)
 * [Active Topics](https://wordpress.org/support/plugin/leads/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/leads/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/leads/reviews/)

## Tags

 * [activate](https://wordpress.org/support/topic-tag/activate/)
 * [fatal error](https://wordpress.org/support/topic-tag/fatal-error/)

 * 4 replies
 * 2 participants
 * Last reply from: [zeljkoprsa](https://wordpress.org/support/users/zeljkoprsa/)
 * Last activity: [10 years, 5 months ago](https://wordpress.org/support/topic/leads-plugin-activate-fatal-error/#post-7127920)
 * Status: not resolved