• Resolved uomstyle

    (@uomstyle)


    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.