Parse error: syntax error, unexpected ‘)’ …
-
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)
Viewing 1 replies (of 1 total)
- The topic ‘Parse error: syntax error, unexpected ‘)’ …’ is closed to new replies.