• Resolved Big_Rich

    (@big_rich)


    Hi,

    I’ve just noticed the following error message displayed on the right hand side of the backend for Better WP security (below the donate and Need Help boxes)

    Fatal error: Call to undefined method WP_Error::get_items() in ***********hidden********/plugins/better-wp-security/lib/bit51/bit51.php on line 353

    I’m using WP 3.5.1 and Better WP Security 3.4.9 build version 3059

    The front end site seems to be OK

    I’ve done the following to try to fix it:

    Deactivate all other plugins
    Activate default theme (2012)
    Uncheck all the teweaks which are known to possibly cause conflicts

    Unfortunately the error persits.

    I’ve done a search and found 2 other threads which talk about the same problem but unfortunately no solution indicated.

    Is there a solution to this problem please?

    Server Info:
    MySQL Database Version: 5.1.67-log
    MySQL Client Version: 5.1.66
    Server Type: Apache
    Operating System: Linux
    PHP Version: 5.4.12

    Thanks in advance for your help

    https://www.ads-software.com/extend/plugins/better-wp-security/

Viewing 15 replies - 1 through 15 (of 22 total)
  • I’ve got this same problem. Is it a problem?

    I have exactly the same problem with the same specs as Big_Rich.

    ditto
    On All the 10 sites I have installed on.

    + there seems to be a log out problem- any one noticed that ?

    Fatal error: Call to undefined method WP_Error::get_items() in **************************wp-content/plugins/better-wp-security/lib/bit51/bit51.php on line 353

    Please help
    Thank you in advance
    vivi

    In my case I don’t have a log out problem.

    Just that fatal error message on the right hand side appearing regardless of which sub-menu item I’m in within the BWS.

    AB

    The line 353 is pulling the feed of the last 5 topics from BWPS.

    Obviously something has gone wrong with their feed setup. The error will not affect our own blogs, or how they operate, from what I can see.

    Visitors will not see any site error messages when going to your blog.

    Thread Starter Big_Rich

    (@big_rich)

    Thanks very much for your reply Graham.

    That makes sense because I’ve checked line 353and its this:

    /**
    		 * Display Bit51's latest posts
    		 *
    		 * Displays latest posts from Bit51 in admin page sidebar
    		 *
    		 **/
    		function news() {
    
    			include_once( ABSPATH . WPINC . '/feed.php' ); //load WordPress feed info
    
    			$feed = fetch_feed( $this->feed ); //get the feed
    
    			$feeditems = $feed->get_items( 0, $feed->get_item_quantity( 5 ) ); //narrow feed to last 5 items
    
    			$content = '<ul>'; //start list
    
    			if ( ! $feeditems ) {
    
    			    $content .= '<li class="bit51">' . __( 'No news items, feed might be broken...', $this->hook ) . '</li>';
    
    			} else {
    
    				foreach ( $feeditems as $item ) {
    
    					$url = preg_replace( '/#.*/', '', esc_url( $item->get_permalink(), $protocolls = null, 'display' ) );
    
    					$content .= '<li class="bit51"><a class="rsswidget" href="' . $url . '" target="_blank">'. esc_html( $item->get_title() ) .'</a></li>';
    
    				}
    
    			}	
    
    			$content .= '</ul>'; //end list
    
    			$this->postbox( 'bit51posts' , __( 'The Latest from Bit51', $this->hook ), $content ); //set up postbox
    
    		}

    Thanks again for putting my mind at rest !

    mscwebmaster

    (@theresajennings2011)

    This really should get fixed. I’m having the same issue.

    Same issue. It’s happening on two sites made with iThemes Builder. Then I have a site made with Headway and that one does NOT show the error. So this is bad because it’s a fatal error, but is the consensus that it really isn’t that big of a deal?

    Thread Starter Big_Rich

    (@big_rich)

    @ dpolcino

    On your site which doesn’t have the problem,

    Can you see the feeds, or just you don’t get the error message?

    All feeds on all sites seem fine. I just don’t get the error message on the headway site.

    Hello all, I don’t have any errors in my installation. I am running this plugin on all my websites without any problems or errors.

    I am using WordPress 3.5.1, WP Security 3.4.9 and my theme is Suffusion.

    Server Info:
    MySQL Database Version: 5.5.30-log
    MySQL Client Version: 5.5.30
    Server Type: Apache
    Operating System: Linux
    PHP Version: 5.2.17

    I hope this helps in some way.

    Kind regards

    I’m getting the same error on sites built with Pagelines 2.6.1 and WP 3.5.1. However, it doesn’t appear to impact the functionality.

    An update has been released that has fixed the problem.

    Thank you Graham for the update .
    Will try WP yet again with “Better WP Security”.

    I say Yet again, as I had to delete all 10 + WP sub domains!As I was having big time Front End issues too. Including Admin Log Outs and page loading on the front end. Have already migrated to an other platform all together !

    Yes I deleted all plugins including Jet Pack, to avail. The moment I deleted “Better WP Security” I was able to temporarily some control of my sub domains.

    Having said that I am a great WP fan and I believe the “Better WP Security” is one of the Best Conceived and executed Plugs– Simplicity and the complexity that come with power are a hard to find combo and BWPS manages these elements admirably .

    As such Will give WP and BWPS an other twirl.

    Thank you for the update.
    vivi

    Don’t get me wrong, I have no connection with BWPS. I was just letting people know they’ve fixed the problem.

Viewing 15 replies - 1 through 15 (of 22 total)
  • The topic ‘Fatal Error – Better WP Security’ is closed to new replies.