Showing fatal error while activating plugin
-
Hello,
We have tried a few times now to upload and activate your Events Made Easy plugin with our WordPress website. We loaded the plugin through our WP Plugins dashboard and manually by downloading the zip file and adding it via FTP. Both show this fatal error in a PHP file. Perhaps you could tell me how to fix this PHP file
Our website: https://www.awcthehague.org
We get this error each time we try to activate the plugin.
Plugin could not be activated because it triggered a fatal error.
Parse error: syntax error, unexpected ‘[‘ in /home/thehague/public_html/site/wp-content/plugins/events-made-easy/eme_payments.php on line 1164Here is the line of code #1164 that it speaks about in the php file.
‘metadata’ => [$metadata_key => $metadata_val, ‘payment_id’=>$payment_id]
Thanks for your help! Hope we can find a solution. We would like to use your plugin. We are running WordPress 4.8.6 .
The page I need help with: [log in to see the link]
- The topic ‘Showing fatal error while activating plugin’ is closed to new replies.