Title: Error
Last modified: August 21, 2016

---

# Error

 *  Resolved [baldmark](https://wordpress.org/support/users/baldmark/)
 * (@baldmark)
 * [11 years, 12 months ago](https://wordpress.org/support/topic/error-376/)
 * I get this error:
 * Parse error: syntax error, unexpected T_FUNCTION in /home/baldman/domains/kampengeniet.
   nl/public_html/wp-content/plugins/easy-related-posts/easy_related_posts.php on
   line 75
 * Please help
 * [https://wordpress.org/plugins/easy-related-posts/](https://wordpress.org/plugins/easy-related-posts/)

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

 *  [wyst](https://wordpress.org/support/users/wyst/)
 * (@wyst)
 * [11 years, 12 months ago](https://wordpress.org/support/topic/error-376/#post-4975867)
 * I also get the same error.
 *  Plugin Author [xdark](https://wordpress.org/support/users/xdarkeu/)
 * (@xdarkeu)
 * [11 years, 12 months ago](https://wordpress.org/support/topic/error-376/#post-4975878)
 * This is happening because your server has PHP V < 5.3. If this a private server
   you should update the server, if not in file [ERP plugin folder]/easy_related_posts.
   php lines 75-77 you now see
 *     ```
       add_action('widgets_init', function () {
           register_widget("ERP_Widget");
       });
       ```
   
 * change these three lines with the following code
 *     ```
       function regERPWidget() {
           register_widget("ERP_Widget");
       }
       add_action('widgets_init', 'regERPWidget');
       ```
   
 *  [wyst](https://wordpress.org/support/users/wyst/)
 * (@wyst)
 * [11 years, 12 months ago](https://wordpress.org/support/topic/error-376/#post-4975881)
 * Thanks!
 *  [Andrej Pavlovic](https://wordpress.org/support/users/andrejpavlovic/)
 * (@andrejpavlovic)
 * [11 years, 12 months ago](https://wordpress.org/support/topic/error-376/#post-4975899)
 * So will this plugin support PHP 5.2?
 *  Plugin Author [xdark](https://wordpress.org/support/users/xdarkeu/)
 * (@xdarkeu)
 * [11 years, 12 months ago](https://wordpress.org/support/topic/error-376/#post-4975900)
 * Sure, just make the change to make it work till next release. 🙂

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

The topic ‘Error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/easy-related-posts_7c7c7c.svg)
 * [Easy Related Posts](https://wordpress.org/plugins/easy-related-posts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/easy-related-posts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/easy-related-posts/)
 * [Active Topics](https://wordpress.org/support/plugin/easy-related-posts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/easy-related-posts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/easy-related-posts/reviews/)

 * 5 replies
 * 4 participants
 * Last reply from: [xdark](https://wordpress.org/support/users/xdarkeu/)
 * Last activity: [11 years, 12 months ago](https://wordpress.org/support/topic/error-376/#post-4975900)
 * Status: resolved