WordPress.org

Ready to get started?Download WordPress

Forums

WPNewsman Lite
PHP Fatal Error call to member function register() (1 post)

  1. greben99
    Member
    Posted 1 year ago #

    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/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.