Fatal error when trying to activate
-
I’m trying to activate the plugin, but get an error message when trying to activate. I’m running the latest version of WordPress on a self-hosted site (https://michelleandthomas.net). Any ideas as to what might be causing this?
The error message I’m getting:
Plugin could not be activated because it triggered a fatal error. Parse error: syntax error, unexpected '[' in /home/thomasre/public_html/michelleandthomas.net/wp-content/plugins/wpgiftregistry/admin/class-WP_Gift_Registry-admin.php on line 251
This is line 251, doesn’t strike me as particularly problematic:
$currency_symbol_placement = get_option('wishlist_settings')['currency_symbol_placement'];
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Fatal error when trying to activate’ is closed to new replies.