Title: main_class.php error
Last modified: August 31, 2016

---

# main_class.php error

 *  [KeenEdge](https://wordpress.org/support/users/keenedge/)
 * (@keenedge)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/main_classphp-error/)
 * Hi.
    Just after installation:
 * `Parse error: syntax error, unexpected T_FUNCTION in */wp-content/plugins/bg-
   forreaders/includes/main_class.php on line 388`
 * It’s some problems with functions **clearanchor** and **removehref**.
    Plugin
   started after I removed code of this functions.
 * [https://wordpress.org/plugins/bg-forreaders/](https://wordpress.org/plugins/bg-forreaders/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Vadim Bogaiskov](https://wordpress.org/support/users/vbog/)
 * (@vbog)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/main_classphp-error/#post-7309694)
 * Hi, keenedge!
    Which is the version PHP are using? Chances are you’re using PHP
   5.2 or earlier, which doesn’t support closures. You can find out which version
   of PHP you’re using on the System settings tab. You’ll likely need to upgrade
   to PHP 5.3+

Viewing 1 replies (of 1 total)

The topic ‘main_class.php error’ is closed to new replies.

 * ![](https://ps.w.org/bg-forreaders/assets/icon-256x256.png?rev=1400252)
 * [Bg forReaders](https://wordpress.org/plugins/bg-forreaders/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/bg-forreaders/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/bg-forreaders/)
 * [Active Topics](https://wordpress.org/support/plugin/bg-forreaders/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/bg-forreaders/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/bg-forreaders/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Vadim Bogaiskov](https://wordpress.org/support/users/vbog/)
 * Last activity: [10 years, 1 month ago](https://wordpress.org/support/topic/main_classphp-error/#post-7309694)
 * Status: not resolved