WordPress.org

Support

Support » Plugins and Hacks » WPNewsman Lite » PHP Fatal Error call to member function register()

PHP Fatal Error call to member function register()

  • Seeing this in the error logs after an upgrade to wordpress.

    PHP Fatal error: Call to a member function register() on a non-object in /home/prd-user/wordpress/wp-includes/widgets.php on line 431

    I had a look and I believe the issue is at the bottom of the widgets.php file…

    add_action(‘widgets_init’, ‘register_newsman_widget’);
    function register_newsman_widget() {
    register_widget(‘NEWSMAN_Widget_Form’);
    }
    //register_widget(‘NEWSMAN_Widget_Form’);

    Instead of just the commented out register_widget… ?

    http://wordpress.org/extend/plugins/wpnewsman-newsletters/

  • The topic ‘PHP Fatal Error call to member function register()’ is closed to new replies.
Skip to toolbar