Title: Fatal error
Last modified: May 22, 2023

---

# Fatal error

 *  Resolved [onfix](https://wordpress.org/support/users/bharat52/)
 * (@bharat52)
 * [3 years ago](https://wordpress.org/support/topic/fatal-error-4451/)
 * Uncaught Error: Undefined constant “RATINGS_IMG_EXT” in …/public_html/wp-content/
   plugins/wp-postratings/includes/postratings-scripts.php on line **48**
 * please fix the issue
    -  This topic was modified 3 years ago by [onfix](https://wordpress.org/support/users/bharat52/).

Viewing 1 replies (of 1 total)

 *  Plugin Author [Lester Chan](https://wordpress.org/support/users/gamerz/)
 * (@gamerz)
 * [3 years ago](https://wordpress.org/support/topic/fatal-error-4451/#post-16759870)
 * I got a feeling it is your theme or plugin conflict probably due to the loading
   order of the file. Because it works on my end, and the file has not been touched
   for 4 years.
 * Also RATINGS_IMG_EXT is being defined in [https://github.com/lesterchan/wp-postratings/blob/master/wp-postratings.php#L74](https://github.com/lesterchan/wp-postratings/blob/master/wp-postratings.php#L74)
   when the plugins init.

Viewing 1 replies (of 1 total)

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

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

 * 1 reply
 * 2 participants
 * Last reply from: [Lester Chan](https://wordpress.org/support/users/gamerz/)
 * Last activity: [3 years ago](https://wordpress.org/support/topic/fatal-error-4451/#post-16759870)
 * Status: resolved