Title: Parse error: syntax error
Last modified: August 22, 2016

---

# Parse error: syntax error

 *  Resolved [Mohammad Kamal](https://wordpress.org/support/users/mohammad-kamal/)
 * (@mohammad-kamal)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-105/)
 * Hello,
 * Suddenly, the following error appeared and the plugin stopped working!
 * Plugin could not be activated because it triggered a fatal error.
 * Parse error: syntax error, unexpected T_FUNCTION in /wp-content/plugins/notice-
   board/msnb-notice-board.php on line 239
 * [https://wordpress.org/plugins/notice-board/](https://wordpress.org/plugins/notice-board/)

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

 *  Plugin Author [Jitendriya Tripathy](https://wordpress.org/support/users/jitendriya14/)
 * (@jitendriya14)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-105/#post-5799938)
 * This plugin correctly working on my site. Please send your plugin file and list
   of other plugin you use to [jitendriya14@gmail.com](https://wordpress.org/support/topic/parse-error-syntax-error-105/jitendriya14@gmail.com?output_format=md).
 *  Thread Starter [Mohammad Kamal](https://wordpress.org/support/users/mohammad-kamal/)
 * (@mohammad-kamal)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-105/#post-5799959)
 * Done. I’ve just sent you an email.
 * Thanks!
 *  Plugin Author [Jitendriya Tripathy](https://wordpress.org/support/users/jitendriya14/)
 * (@jitendriya14)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-105/#post-5800176)
 * I have looked around in the web and it seems, that you are using a PHP Version
   which is to old … What version of PHP are you using?
    Try to replace the code
   above in the **msnb-notice-board.php** with the following. If the problem is 
   fixed then, I will change it for the next update.
 *     ```
       /**
        * Register Notice Board widget on Widgets Initialization
        */
       function register_Notice_Board_Widget() {
           register_widget( 'Notice_Board_Widget' );
       }
       add_action( 'widgets_init', 'register_Notice_Board_Widget' );
       ```
   
 *  Thread Starter [Mohammad Kamal](https://wordpress.org/support/users/mohammad-kamal/)
 * (@mohammad-kamal)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-105/#post-5800182)
 * I use PHP version 5.4.24
 * I replaced the code with the one above and everything is working like a charm
   now!
 * Thank you!

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

The topic ‘Parse error: syntax error’ is closed to new replies.

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

 * 4 replies
 * 2 participants
 * Last reply from: [Mohammad Kamal](https://wordpress.org/support/users/mohammad-kamal/)
 * Last activity: [11 years, 3 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-105/#post-5800182)
 * Status: resolved