Title: Fatal error when activating plugin
Last modified: June 25, 2018

---

# Fatal error when activating plugin

 *  Resolved [waldorf2007](https://wordpress.org/support/users/waldorf2007/)
 * (@waldorf2007)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-when-activating-plugin-48/)
 * Hey all,
 * this plugin looks like a godsend for someone using bcrypt and wanting something
   more recent than…3 years ago. I’m trying to hook up a wordpress (4.7 currently)
   to an external DB. When I activate this plugin I get the following:
 * Parse error: syntax error, unexpected ‘[‘ in /data00/html/portals/<REDACTED>/
   wp-content/plugins/external-login/options/add_plugin_options_links.php on line
   4
 * I don’t know how a syntax error bracket could get through, and I don’t think 
   that’s what it is. The file referenced by the error looks like it’s trying to
   add a link to the plugin settings. I’m currently using the responsive theme, 
   and wondering if editing theme HTML is messing it up.
 * Here’s the code snippet that’s erroring:
 *     ```
       function exlog_plugin_action_links( $links ) {
           $links = array_merge( array(
               '<a href="' . esc_url( admin_url( '/options-general.php?page=' . EXLOG_PLUGIN_DATA['slug']) ) . '">Settings</a>'
           ), $links );
           return $links;
       }
       ```
   
 * Has anyone else run into this problem? Can’t even activate the plugin to try 
   other stuff!

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

 *  Plugin Author [tbenyon](https://wordpress.org/support/users/tbenyon/)
 * (@tbenyon)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-when-activating-plugin-48/#post-10438821)
 * Just letting you know that I’m looking into this now for you. Will update when
   I know more.
 *  Plugin Author [tbenyon](https://wordpress.org/support/users/tbenyon/)
 * (@tbenyon)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-when-activating-plugin-48/#post-10438879)
 * Hey [@waldorf2007](https://wordpress.org/support/users/waldorf2007/),
 * Really appreciate you flagging this bug.
 * It was a mistake on my end. When previously making the plugin better supported
   for earlier PHP versions I missed this correction.
 * For some reason it wasn’t throwing an error in my code but I’m not sure why it
   wasn’t.
 * Could you please try downloading version 1.3.1 of the plugin and let me know 
   if your issue is fixed.
 * If it is and your happy with the plugin, a review would be much appreciated.
 * Thanks again for flagging the issue,
 * Tom

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

The topic ‘Fatal error when activating plugin’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/external-login_fbebd6.svg)
 * [External Login](https://wordpress.org/plugins/external-login/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/external-login/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/external-login/)
 * [Active Topics](https://wordpress.org/support/plugin/external-login/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/external-login/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/external-login/reviews/)

## Tags

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

 * 2 replies
 * 2 participants
 * Last reply from: [tbenyon](https://wordpress.org/support/users/tbenyon/)
 * Last activity: [7 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-when-activating-plugin-48/#post-10438879)
 * Status: resolved