Title: Fatal Error
Last modified: August 24, 2016

---

# Fatal Error

 *  Resolved [AOS](https://wordpress.org/support/users/fandoment/)
 * (@fandoment)
 * [11 years ago](https://wordpress.org/support/topic/fatal-error-1620/)
 * Hi,
 * I was trying to install your plugin to give it a try, but I ran into this:
 * Plugin could not be activated because it triggered a fatal error.
    Parse error:
   syntax error, unexpected T_FUNCTION in /home1/ce4t/public_html/courses/graphics_for_the_classroom/
   wp-content/plugins/an-gradebook/functions.php on line 6
 * I am running WP 4.2.1
 * What could be causing this, and how do I fix it?
 * Thank you.
 * [https://wordpress.org/plugins/an-gradebook/](https://wordpress.org/plugins/an-gradebook/)

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

 *  Plugin Author [Aori Nevo](https://wordpress.org/support/users/anevo/)
 * (@anevo)
 * [11 years ago](https://wordpress.org/support/topic/fatal-error-1620/#post-6072128)
 * Hi FandomEnt,
 * I haven’t upgraded the plugin to be compatible with the new version of WordPress
   yet. This could be the reason why you are getting the fatal error.
 * It is also possible that there is a dependency on a particular version of php.
 * Let me look into this and see what I can figure out. These are just some ideas
   of what may be going wrong.
 * Regards,
 * Aori Nevo
 *  Plugin Author [Aori Nevo](https://wordpress.org/support/users/anevo/)
 * (@anevo)
 * [11 years ago](https://wordpress.org/support/topic/fatal-error-1620/#post-6072310)
 * Hi FandomEnt,
 * Can you check the version of your php?
 * You can do this in shell by entering
 *     ```
       php --version
       ```
   
 * and pressing enter.
 * I think the problem might be the version of php you are using. The following 
   stackoverflow post suggests that you need php 5.3 or greater.
 * [StackOverflow Post](http://stackoverflow.com/questions/3657357/unexpected-t-function-error-when-using-function-array-matches)
 * Regards,
 * Aori Nevo
 *  Thread Starter [AOS](https://wordpress.org/support/users/fandoment/)
 * (@fandoment)
 * [11 years ago](https://wordpress.org/support/topic/fatal-error-1620/#post-6072333)
 * AH, thank you! That did the trick 🙂
 * Now I’ll start playing with the Gradebook. You may see my name again with questions.
 * In the mean time, THANKS!

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

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

 * ![](https://ps.w.org/an-gradebook/assets/icon.svg?rev=3467047)
 * [GradeBook](https://wordpress.org/plugins/an-gradebook/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/an-gradebook/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/an-gradebook/)
 * [Active Topics](https://wordpress.org/support/plugin/an-gradebook/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/an-gradebook/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/an-gradebook/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [AOS](https://wordpress.org/support/users/fandoment/)
 * Last activity: [11 years ago](https://wordpress.org/support/topic/fatal-error-1620/#post-6072333)
 * Status: resolved