BuddyDev

Search

Can we remove featured members automatically?

  • Keymaster
    (BuddyDev Team)
    Posts: 24879
    Brajesh Singh on #55241

    Hi Stephanie,
    I am sorry, I tried by installing after git cloning as well as zip on latest version of BuddyPress and I did not encounter any issue. I tested on PHP 8.1.2

    Can you please share the error log? I don’t see any reason for this plugin to trigger fatal.

    Regards
    Brajesh

  • Participant
    Level: Enlightened
    Posts: 77
    Stephanie on #55242

    Hi Brajesh,

    I changed the line in the wp-config.php file to allow debugging (WP_DEBUG to true) and this is what I got when I tried to install the expirable BP member plugin (note some of the messages were already there before I tried to install the plugin, and that I have changed the higher levels of the addresses of the file location in the URLs below, ie everything after “mydomain.com/public_html/” is the true file location):

    ————————————————————————————————-

    Deprecated: Creation of dynamic property Wbc_WooCommerce_Settings_Page::$id is deprecated in mydomain.com/public_html/wp-content/plugins/buddypress-recaptcha/admin/includes/class-wbc-buddypress-settings-page.php on line 28

    Deprecated: Creation of dynamic property Wbc_WooCommerce_Settings_Page::$label is deprecated in mydomain.com/public_html/wp-content/plugins/buddypress-recaptcha/admin/includes/class-wbc-buddypress-settings-page.php on line 29

    Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the jonradio-multiple-themes domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in mydomain.com/public_html/wp-includes/functions.php on line 6114

    Deprecated: Creation of dynamic property Devb_Conditional_Profile_Admin::$path is deprecated in mydomain.com/public_html/wp-content/plugins/conditional-profile-fields-for-buddypress/admin.php on line 49

    Deprecated: Creation of dynamic property Devb_Conditional_Profile_Admin::$url is deprecated in mydomain.com/public_html/wp-content/plugins/conditional-profile-fields-for-buddypress/admin.php on line 50

    Deprecated: Creation of dynamic property MPP_BuddyPress_Component::$forbidden_names is deprecated in mydomain.com/public_html/wp-content/plugins/mediapress/modules/buddypress/mpp-bp-component.php on line 188

    Deprecated: Creation of dynamic property MPP_BuddyPress_Component::$valid_status is deprecated in mydomain.com/public_html/wp-content/plugins/mediapress/modules/buddypress/mpp-bp-component.php on line 207

    ——————————————————————————————————

    I tried to deactivate all the plugins except the buddypress plugins and then reactivate the expirable members plugin and it stil said a fatal error occurred.

    Thank you
    Stephanie

  • Keymaster
    (BuddyDev Team)
    Posts: 24879
    Brajesh Singh on #55244

    Hi Stephanie,
    Thank you for reply and the details.
    I am sorry, all of the above are deprecation notice, I am not seeing any fatal error in that log. Is it probably an older log?

    Regards
    Brajesh

  • Participant
    Level: Enlightened
    Posts: 77
    Stephanie on #55245

    Hi Brajesh

    Thanks for checking. I am not sure how else I can get an error log. I could send you a screenshot of the error message but that won’t reveal much. I am not sure what else I can do here.

    Regards,
    Stephanie

  • Keymaster
    (BuddyDev Team)
    Posts: 24879
    Brajesh Singh on #55246

    I am sorry about this.

    When you enabled, WP_DEBUG, Please enable WP_DEBUG_LOG too and then check wp-content/debug.log to see if there is any fatal error there.

    It should capture the fatal error.

    Regards
    Brajesh

  • Participant
    Level: Enlightened
    Posts: 77
    Stephanie on #55247

    Hi Brajesh

    I just enabled WP_DEBUG_LOG and checked the debug.log file.

    I found two instances of the fatal error, they are both from today and reflect when I tried to activate the plugin. The error said:

    [31-Mar-2025 06:17:34 UTC] PHP Fatal error: Cannot declare class BP_Featured_Member_Expirable_Membership, because the name is already in use in /full_file_path_redacted/class-bp-featured-member-expirable-membership.php on line 16

    So I went to this folder and deleted it from the last activation attempt and tried to install it again, but I got the same error a third time.

    Thank you for helping,
    Stephanie

You must be logged in to reply to this topic.

This topic is: not resolved