WordPress.org

Ready to get started?Download WordPress

Forums

Members
Warning message on first install (3 posts)

  1. Ben Huson
    Member
    Posted 2 years ago #

    Warning: Creating default object from empty value in /homepages/44/d100305517/htdocs/site2.co.uk/staging/dacbeachcroft250/site/wp-content/plugins/members/includes/functions.php on line 21

    Think it because get_option( 'members_settings' ) is not set

    http://wordpress.org/extend/plugins/members/

  2. styledev
    Member
    Posted 1 year ago #

    Bump, just got this too. Weird because I have used this plugin numerous times, this version too...

  3. styledev
    Member
    Posted 1 year ago #

    I forgot I did see this before and even commented on this other thread:

    http://wordpress.org/support/topic/plugin-members-creating-default-object-from-empty-value-in-functionsphp?replies=5

    I managed to fix this error by adding in the line In /web/wp-content/plugins/members/includes/functions.php

    if(!is_object($members))
    	    $members = new stdClass;
    just above if ( !isset( $members->settings ) )

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags