Title: Fatal Error During Activation
Last modified: May 22, 2017

---

# Fatal Error During Activation

 *  Resolved [andygambles](https://wordpress.org/support/users/andygambles/)
 * (@andygambles)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-during-activation/)
 * Plugin will not activate instead produces error below
 * Parse error: syntax error, unexpected ‘.’, expecting ‘,’ or ‘;’ in /[path_to_wp]/
   wp-content/plugins/secure-db-connection/lib/dropin.php on line 25

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

 *  [bstump](https://wordpress.org/support/users/bstump/)
 * (@bstump)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/fatal-error-during-activation/#post-9496428)
 * Just started running into this. As of Version 1.1.2, do this:
 * – Copy lines 25 and 26 into the __construct function
    – Replace the “$” with “
   $this->” so they look like this:
 * $this->_path_dropin = WP_CONTENT_DIR . ‘/db.php’;
    $this->_path_plugin = __DIR__.‘/
   db.php’;
 * – Make lines 25 and 26 so they’re initialized w/o a value:
 * private $_path_plugin;
    private $_path_dropin;
 * That should fix it!
 *  Plugin Author [hypertextranch](https://wordpress.org/support/users/hypertextranch/)
 * (@hypertextranch)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-during-activation/#post-9631670)
 * Hi [@bstump](https://wordpress.org/support/users/bstump/), thanks for pointing
   this out, I have pushed a fix based on your comments:
 * [https://plugins.trac.wordpress.org/changeset/1754880/](https://plugins.trac.wordpress.org/changeset/1754880/)
    -  This reply was modified 8 years, 5 months ago by [hypertextranch](https://wordpress.org/support/users/hypertextranch/).
 *  Plugin Author [hypertextranch](https://wordpress.org/support/users/hypertextranch/)
 * (@hypertextranch)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-during-activation/#post-9631674)
 * Marking this as resolved, plugin has been updated to v1.1.3 with this fix.

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

The topic ‘Fatal Error During Activation’ is closed to new replies.

 * ![](https://ps.w.org/secure-db-connection/assets/icon-256x256.png?rev=1905585)
 * [Secure DB Connection](https://wordpress.org/plugins/secure-db-connection/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/secure-db-connection/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/secure-db-connection/)
 * [Active Topics](https://wordpress.org/support/plugin/secure-db-connection/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/secure-db-connection/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/secure-db-connection/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [hypertextranch](https://wordpress.org/support/users/hypertextranch/)
 * Last activity: [8 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-during-activation/#post-9631674)
 * Status: resolved