Title: Parse error: syntax error, unexpected &#8216;)&#8217; &#8230;
Last modified: November 15, 2021

---

# Parse error: syntax error, unexpected ‘)’ …

 *  Resolved [Jason](https://wordpress.org/support/users/zushiba/)
 * (@zushiba)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-271/)
 * I am getting the following error when attempting to activate this plugin.
    `Parse
   error: syntax error, unexpected ')' in /var/www/html/wp-content/plugins/mega-
   forms/common/partials/form/actions/class-mega-forms-action-email.php on line 
   50`
 * The line in question
    `$from_email = $this->get_setting_value('from_email',);`
   removing the , seems to fix it though I’ve not thoroughly tested it. `$from_email
   = $this->get_setting_value('from_email');`

Viewing 1 replies (of 1 total)

 *  Plugin Author [Ali Khallad](https://wordpress.org/support/users/alikhallad/)
 * (@alikhallad)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-271/#post-15140875)
 * Hello, thanks for reporting!
    This is fixed in version 1.1.6

Viewing 1 replies (of 1 total)

The topic ‘Parse error: syntax error, unexpected ‘)’ …’ is closed to new replies.

 * ![](https://ps.w.org/mega-forms/assets/icon.svg?rev=2445007)
 * [Mega Forms – Drag & Drop Form Builder with Multi-Step & Conditional Logic](https://wordpress.org/plugins/mega-forms/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/mega-forms/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/mega-forms/)
 * [Active Topics](https://wordpress.org/support/plugin/mega-forms/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mega-forms/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mega-forms/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Ali Khallad](https://wordpress.org/support/users/alikhallad/)
 * Last activity: [4 years, 6 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-271/#post-15140875)
 * Status: resolved