Title: Parse error when trying to activate plugin
Last modified: February 8, 2023

---

# Parse error when trying to activate plugin

 *  Resolved [bigbman](https://wordpress.org/support/users/bigbman/)
 * (@bigbman)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/parse-error-when-trying-to-activate-plugin-2/)
 * I’m getting **Parse error**: syntax error, unexpected ‘)’ when I try to activate
   the plugin. Would anyone know what could be causing this?
 * It is in the **class-trackserver-settings.php** on line **322**
 * PHP version is 7.2.34
   WordPress version: 6.1.1ApacheLinux
 * Thanks
    -  This topic was modified 3 years, 4 months ago by [bigbman](https://wordpress.org/support/users/bigbman/).

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

 *  Plugin Author [tinuzz](https://wordpress.org/support/users/tinuzz/)
 * (@tinuzz)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/parse-error-when-trying-to-activate-plugin-2/#post-16453942)
 * Hi,
 * Few questions:
    - Does it say in which file / line the error is?
    - Which version of WP are you running?
    - Which version of PHP?
 * Thanks,
 * Martijn.
 *  Thread Starter [bigbman](https://wordpress.org/support/users/bigbman/)
 * (@bigbman)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/parse-error-when-trying-to-activate-plugin-2/#post-16453949)
 * Yes, It is in the **class-trackserver-settings.php** on line **322**. Sorry I
   didn’t put that info initially. 🙂
 * PHP version is 7.2.34
   WordPress version: 6.1.1ApacheLinux
 * Thanks
 *  Plugin Author [tinuzz](https://wordpress.org/support/users/tinuzz/)
 * (@tinuzz)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/parse-error-when-trying-to-activate-plugin-2/#post-16453969)
 * Hi,
 * It seems that this error occurs with PHP v7.2, but it does not on PHP v7.4 or
   newer. Can you upgrade? That would be a good thing in any case, since PHP 7.2
   has been EOL for over two years, and 7.4 or greater is also recommended by WordPress
   itself.
 * Regards,
 * Martijn.
    -  This reply was modified 3 years, 4 months ago by [tinuzz](https://wordpress.org/support/users/tinuzz/).
 *  Thread Starter [bigbman](https://wordpress.org/support/users/bigbman/)
 * (@bigbman)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/parse-error-when-trying-to-activate-plugin-2/#post-16454019)
 * Thank you so much. Upgraded php and all seems fine now. Thank you for the great
   plugin.

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

The topic ‘Parse error when trying to activate plugin’ is closed to new replies.

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

 * 4 replies
 * 2 participants
 * Last reply from: [bigbman](https://wordpress.org/support/users/bigbman/)
 * Last activity: [3 years, 4 months ago](https://wordpress.org/support/topic/parse-error-when-trying-to-activate-plugin-2/#post-16454019)
 * Status: resolved