Title: Fatal error
Last modified: August 19, 2016

---

# Fatal error

 *  Resolved [uomstyle](https://wordpress.org/support/users/uomstyle/)
 * (@uomstyle)
 * [16 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-167/)
 * `Fatal error: Call to a member function display_rating() on a non-object in /
   home/attract3/public_html/mensclothes/wp-content/plugins/vote-the-post/vote-the-
   post.php on line 236`
 * 🙁
 * to do with the Vote The Post plugin.. was working fine until i had quite a few
   people voting…
 *     ```
       /*
       Plugin Name: Vote the Post
       Plugin URI: http://www.1800blogger.com/word-press-voting-plugin/
       Description: Rate posts from one to five.
       Version: 1.1
       Author: Crowd Favorite
       Author URI: http://crowdfavorite.com/
       */
   
       class ratepost {
   
       	function ratepost() {
       		$this->cookie = '';
       	}
   
       	function install() {
       		global $wpdb;
   
       		$charset_collate = '';
       		if ( version_compare(mysql_get_server_info(), '4.1.0', '>=') ) {
       			if (!empty($wpdb->charset)) {
       				$charset_collate .= sprintf(' DEFAULT CHARACTER SET %s', $wpdb->charset);
       			}
       			if (!empty($wpdb->collate)) {
       ```
   
 * that ^ the top and down to line 26 … I have no idea!

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [uomstyle](https://wordpress.org/support/users/uomstyle/)
 * Last activity: [16 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-167/)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
