Membership Pro Plugin Auto Deactivated.

WPMUDEV,
I have a client btuanalytics.com - They are using membership pro plugin. I have been reported by the client that the plugin has deactivated twice in the last month or so. Please advise.

  • James Morris

    Hello Peter,

    I hope you are well today.

    Unfortunately, with the information you've given, it's really not possible to determine what would be causing this. There's nothing on our end that would cause a plugin to just automatically deactivate. In order to narrow down the cause of this issue, we will need you to enable debugging and let it run until this happens again. Once it happens again, we can take a look at the debug output and possibly narrow this down a bit.

    To enable WP_DEBUG, change the following line in your wp-config.php file:

    define('WP_DEBUG', false);

    To this:

    // Enable WP_DEBUG mode
    define( 'WP_DEBUG', true );
    
    // Enable Debug logging to the /wp-content/debug.log file
    define( 'WP_DEBUG_LOG', true );
    
    // Disable display of errors and warnings
    define( 'WP_DEBUG_DISPLAY', false );
    @ini_set( 'display_errors', 0 );

    After the plugin has deactivated on the client site, please go to wp-content/ on your server via FTP and download the debug.log file to your local computer. Then, open that file with a text editor like notepad (Windows), GEdit (Linux), or TextEdit (Mac). You can then paste the contents of that file at http://pastebin.com/ and share the URL of the pasted output with us so we can examine it further.

    I look forward to seeing the results of your tests.

    Best regards,

    James Morris

  • Peter

    James - thanks for the reply - see attached:
    [07-Feb-2017 16:28:06 UTC] PHP Notice: The called constructor method for WP_Widget in membershipavatarwidget is deprecated since version 4.3.0! Use

    __construct()
    instead. in /nas/content/live/btuanalytics/wp-includes/functions.php on line 3891
    [07-Feb-2017 16:28:06 UTC] PHP Notice: The called constructor method for WP_Widget in membershipleveltext is deprecated since version 4.3.0! Use
    __construct()
    instead. in /nas/content/live/btuanalytics/wp-includes/functions.php on line 3891
    [07-Feb-2017 16:28:06 UTC] PHP Notice: The called constructor method for WP_Widget in membershipsubtext is deprecated since version 4.3.0! Use
    __construct()
    instead. in /nas/content/live/btuanalytics/wp-includes/functions.php on line 3891
    [07-Feb-2017 16:28:07 UTC] PHP Notice: The called constructor method for WP_Widget in membershipavatarwidget is deprecated since version 4.3.0! Use
    __construct()
    instead. in /nas/content/live/btuanalytics/wp-includes/functions.php on line 3891
    [07-Feb-2017 16:28:07 UTC] PHP Notice: The called constructor method for WP_Widget in membershipleveltext is deprecated since version 4.3.0! Use
    __construct()
    instead. in /nas/content/live/btuanalytics/wp-includes/functions.php on line 3891
    [07-Feb-2017 16:28:07 UTC] PHP Notice: The called constructor method for WP_Widget in membershipsubtext is deprecated since version 4.3.0! Use
    __construct()
    instead. in /nas/content/live/btuanalytics/wp-includes/functions.php on line 3891
    [07-Feb-2017 16:28:07 UTC] PHP Notice: Constant WP_POST_REVISIONS already defined in /nas/content/live/btuanalytics/wp-config.php on line 145
    [07-Feb-2017 16:28:07 UTC] PHP Notice: Constant WP_POST_REVISIONS already defined in /nas/content/live/btuanalytics/wp-config.php on line 145
    [07-Feb-2017 16:28:07 UTC] PHP Notice: The called constructor method for WP_Widget in membershipavatarwidget is deprecated since version 4.3.0! Use
    __construct()
    instead. in /nas/content/live/btuanalytics/wp-includes/functions.php on line 3891
    [07-Feb-2017 16:28:07 UTC] PHP Notice: The called constructor method for WP_Widget in membershipleveltext is deprecated since version 4.3.0! Use
    __construct()
    instead. in /nas/content/live/btuanalytics/wp-includes/functions.php on line 3891
    [07-Feb-2017 16:28:07 UTC] PHP Notice: The called constructor method for WP_Widget in membershipsubtext is deprecated since version 4.3.0! Use
    __construct()
    instead. in /nas/content/live/btuanalytics/wp-includes/functions.php on line 3891
    [07-Feb-2017 16:28:07 UTC] PHP Notice: Constant WP_POST_REVISIONS already defined in /nas/content/live/btuanalytics/wp-config.php on line 145
    [07-Feb-2017 16:28:09 UTC] PHP Notice: The called constructor method for WP_Widget in membershipavatarwidget is deprecated since version 4.3.0! Use
    __construct()
    instead. in /nas/content/live/btuanalytics/wp-includes/functions.php on line 3891
    [07-Feb-2017 16:28:09 UTC] PHP Notice: The called constructor method for WP_Widget in membershipleveltext is deprecated since version 4.3.0! Use
    __construct()
    instead. in /nas/content/live/btuanalytics/wp-includes/functions.php on line 3891
    [07-Feb-2017 16:28:09 UTC] PHP Notice: The called constructor method for WP_Widget in membershipsubtext is deprecated since version 4.3.0! Use
    __construct()
    instead. in /nas/content/live/btuanalytics/wp-includes/functions.php on line 3891
    [07-Feb-2017 16:28:09 UTC] PHP Notice: Constant WP_POST_REVISIONS already defined in /nas/content/live/btuanalytics/wp-config.php on line 145
    [07-Feb-2017 16:28:11 UTC] PHP Notice: The called constructor method for WP_Widget in membershipavatarwidget is deprecated since version 4.3.0! Use
    __construct()
    instead. in /nas/content/live/btuanalytics/wp-includes/functions.php on line 3891
    [07-Feb-2017 16:28:11 UTC] PHP Notice: The called constructor method for WP_Widget in membershipleveltext is deprecated since version 4.3.0! Use
    __construct()
    instead. in /nas/content/live/btuanalytics/wp-includes/functions.php on line 3891
    [07-Feb-2017 16:28:11 UTC] PHP Notice: The called constructor method for WP_Widget in membershipsubtext is deprecated since version 4.3.0! Use
    __construct()
    instead. in /nas/content/live/btuanalytics/wp-includes/functions.php on line 3891
    [07-Feb-2017 16:28:11 UTC] PHP Notice: Constant WP_POST_REVISIONS already defined in /nas/content/live/btuanalytics/wp-config.php on line 145
    [07-Feb-2017 16:28:12 UTC] PHP Notice: The called constructor method for WP_Widget in membershipavatarwidget is deprecated since version 4.3.0! Use
    __construct()
    instead. in /nas/content/live/btuanalytics/wp-includes/functions.php on line 3891
    [07-Feb-2017 16:28:12 UTC] PHP Notice: The called constructor method for WP_Widget in membershipleveltext is deprecated since version 4.3.0! Use
    __construct()
    instead. in /nas/content/live/btuanalytics/wp-includes/functions.php on line 3891
    [07-Feb-2017 16:28:12 UTC] PHP Notice: The called constructor method for WP_Widget in membershipsubtext is deprecated since version 4.3.0! Use
    __construct()
    instead. in /nas/content/live/btuanalytics/wp-includes/functions.php on line 3891
    [07-Feb-2017 16:28:12 UTC] PHP Notice: Constant WP_POST_REVISIONS already defined in /nas/content/live/btuanalytics/wp-config.php on line 145
    [07-Feb-2017 16:28:15 UTC] PHP Notice: The called constructor method for WP_Widget in membershipavatarwidget is deprecated since version 4.3.0! Use
    __construct()
    instead. in /nas/content/live/btuanalytics/wp-includes/functions.php on line 3891
    [07-Feb-2017 16:28:15 UTC] PHP Notice: The called constructor method for WP_Widget in membershipleveltext is deprecated since version 4.3.0! Use
    __construct()
    instead. in /nas/content/live/btuanalytics/wp-includes/functions.php on line 3891
    [07-Feb-2017 16:28:15 UTC] PHP Notice: The called constructor method for WP_Widget in membershipsubtext is deprecated since version 4.3.0! Use
    __construct()
    instead. in /nas/content/live/btuanalytics/wp-includes/functions.php on line 3891
    [07-Feb-2017 16:28:15 UTC] PHP Notice: Constant WP_POST_REVISIONS already defined in /nas/content/live/btuanalytics/wp-config.php on line 145
    [07-Feb-2017 16:28:17 UTC] PHP Notice: The called constructor method for WP_Widget in membershipavatarwidget is deprecated since version 4.3.0! Use
    __construct()
    instead. in /nas/content/live/btuanalytics/wp-includes/functions.php on line 3891
    [07-Feb-2017 16:28:17 UTC] PHP Notice: The called constructor method for WP_Widget in membershipleveltext is deprecated since version 4.3.0! Use
    __construct()
    instead. in /nas/content/live/btuanalytics/wp-includes/functions.php on line 3891
    [07-Feb-2017 16:28:17 UTC] PHP Notice: The called constructor method for WP_Widget in membershipsubtext is deprecated since version 4.3.0! Use
    __construct()
    instead. in /nas/content/live/btuanalytics/wp-includes/functions.php on line 3891
    [07-Feb-2017 16:28:17 UTC] PHP Notice: Constant WP_POST_REVISIONS already defined in /nas/content/live/btuanalytics/wp-config.php on line 145
    [07-Feb-2017 16:28:20 UTC] PHP Notice: The called constructor method for WP_Widget in membershipavatarwidget is deprecated since version 4.3.0! Use
    __construct()
    instead. in /nas/content/live/btuanalytics/wp-includes/functions.php on line 3891
    [07-Feb-2017 16:28:20 UTC] PHP Notice: The called constructor method for WP_Widget in membershipleveltext is deprecated since version 4.3.0! Use
    __construct()
    instead. in /nas/content/live/btuanalytics/wp-includes/functions.php on line 3891
    [07-Feb-2017 16:28:20 UTC] PHP Notice: The called constructor method for WP_Widget in membershipsubtext is deprecated since version 4.3.0! Use
    __construct()
    instead. in /nas/content/live/btuanalytics/wp-includes/functions.php on line 3891
    [07-Feb-2017 16:28:20 UTC] PHP Notice: Constant WP_POST_REVISIONS already defined in /nas/content/live/btuanalytics/wp-config.php on line 145
    [07-Feb-2017 16:28:25 UTC] PHP Notice: The called constructor method for WP_Widget in membershipavatarwidget is deprecated since version 4.3.0! Use
    __construct()
    instead. in /nas/content/live/btuanalytics/wp-includes/functions.php on line 3891
    [07-Feb-2017 16:28:25 UTC] PHP Notice: The called constructor method for WP_Widget in membershipleveltext is deprecated since version 4.3.0! Use
    __construct()
    instead. in /nas/content/live/btuanalytics/wp-includes/functions.php on line 3891
    [07-Feb-2017 16:28:25 UTC] PHP Notice: The called constructor method for WP_Widget in membershipsubtext is deprecated since version 4.3.0! Use
    __construct()
    instead. in /nas/content/live/btuanalytics/wp-includes/functions.php on line 3891
    [07-Feb-2017 16:28:25 UTC] PHP Notice: Constant WP_POST_REVISIONS already defined in /nas/content/live/btuanalytics/wp-config.php on line 145
    [07-Feb-2017 16:28:28 UTC] PHP Notice: The called constructor method for WP_Widget in membershipavatarwidget is deprecated since version 4.3.0! Use
    __construct()
    instead. in /nas/content/live/btuanalytics/wp-includes/functions.php on line 3891
    [07-Feb-2017 16:28:28 UTC] PHP Notice: The called constructor method for WP_Widget in membershipleveltext is deprecated since version 4.3.0! Use
    __construct()
    instead. in /nas/content/live/btuanalytics/wp-includes/functions.php on line 3891
    [07-Feb-2017 16:28:28 UTC] PHP Notice: The called constructor method for WP_Widget in membershipsubtext is deprecated since version 4.3.0! Use
    __construct()
    instead. in /nas/content/live/btuanalytics/wp-includes/functions.php on line 3891
    [07-Feb-2017 16:28:28 UTC] PHP Notice: Constant WP_POST_REVISIONS already defined in /nas/content/live/btuanalytics/wp-config.php on line 145
    [07-Feb-2017 16:28:34 UTC] PHP Notice: The called constructor method for WP_Widget in membershipavatarwidget is deprecated since version 4.3.0! Use
    __construct()
    instead. in /nas/content/live/btuanalytics/wp-includes/functions.php on line 3891
    [07-Feb-2017 16:28:34 UTC] PHP Notice: The called constructor method for WP_Widget in membershipleveltext is deprecated since version 4.3.0! Use
    __construct()
    instead. in /nas/content/live/btuanalytics/wp-includes/functions.php on line 3891
    [07-Feb-2017 16:28:34 UTC] PHP Notice: The called constructor method for WP_Widget in membershipsubtext is deprecated since version 4.3.0! Use
    __construct()
    instead. in /nas/content/live/btuanalytics/wp-includes/functions.php on line 3891
    [07-Feb-2017 16:28:34 UTC] PHP Notice: Constant WP_POST_REVISIONS already defined in /nas/content/live/btuanalytics/wp-config.php on line 145
    [07-Feb-2017 16:28:37 UTC] PHP Notice: The called constructor method for WP_Widget in membershipavatarwidget is deprecated since version 4.3.0! Use
    __construct()
    instead. in /nas/content/live/btuanalytics/wp-includes/functions.php on line 3891
    [07-Feb-2017 16:28:37 UTC] PHP Notice: The called constructor method for WP_Widget in membershipleveltext is deprecated since version 4.3.0! Use
    __construct()
    instead. in /nas/content/live/btuanalytics/wp-includes/functions.php on line 3891
    [07-Feb-2017 16:28:37 UTC] PHP Notice: The called constructor method for WP_Widget in membershipsubtext is deprecated since version 4.3.0! Use
    __construct()
    instead. in /nas/content/live/btuanalytics/wp-includes/functions.php on line 3891
    [07-Feb-2017 16:28:37 UTC] PHP Notice: Constant WP_POST_REVISIONS already defined in /nas/content/live/btuanalytics/wp-config.php on line 145
    [07-Feb-2017 16:28:58 UTC] PHP Notice: The called constructor method for WP_Widget in membershipavatarwidget is deprecated since version 4.3.0! Use
    __construct()
    instead. in /nas/content/live/btuanalytics/wp-includes/functions.php on line 3891
    [07-Feb-2017 16:28:58 UTC] PHP Notice: The called constructor method for WP_Widget in membershipleveltext is deprecated since version 4.3.0! Use
    __construct()
    instead. in /nas/content/live/btuanalytics/wp-includes/functions.php on line 3891
    [07-Feb-2017 16:28:58 UTC] PHP Notice: The called constructor method for WP_Widget in membershipsubtext is deprecated since version 4.3.0! Use
    __construct()
    instead. in /nas/content/live/btuanalytics/wp-includes/functions.php on line 3891
    [07-Feb-2017 16:28:59 UTC] PHP Notice: The called constructor method for WP_Widget in membershipavatarwidget is deprecated since version 4.3.0! Use
    __construct()
    instead. in /nas/content/live/btuanalytics/wp-includes/functions.php on line 3891
    [07-Feb-2017 16:28:59 UTC] PHP Notice: The called constructor method for WP_Widget in membershipleveltext is deprecated since version 4.3.0! Use
    __construct()
    instead. in /nas/content/live/btuanalytics/wp-includes/functions.php on line 3891
    [07-Feb-2017 16:28:59 UTC] PHP Notice: The called constructor method for WP_Widget in membershipsubtext is deprecated since version 4.3.0! Use
    __construct()
    instead. in /nas/content/live/btuanalytics/wp-includes/functions.php on line 3891
    [07-Feb-2017 16:28:59 UTC] PHP Notice: Constant WP_POST_REVISIONS already defined in /nas/content/live/btuanalytics/wp-config.php on line 145
    [07-Feb-2017 16:28:59 UTC] PHP Notice: Constant WP_POST_REVISIONS already defined in /nas/content/live/btuanalytics/wp-config.php on line 145
    [07-Feb-2017 16:29:05 UTC] PHP Notice: The called constructor method for WP_Widget in membershipavatarwidget is deprecated since version 4.3.0! Use
    __construct()
    instead. in /nas/content/live/btuanalytics/wp-includes/functions.php on line 3891
    [07-Feb-2017 16:29:05 UTC] PHP Notice: The called constructor method for WP_Widget in membershipleveltext is deprecated since version 4.3.0! Use
    __construct()
    instead. in /nas/content/live/btuanalytics/wp-includes/functions.php on line 3891
    [07-Feb-2017 16:29:05 UTC] PHP Notice: The called constructor method for WP_Widget in membershipsubtext is deprecated since version 4.3.0! Use
    __construct()
    instead. in /nas/content/live/btuanalytics/wp-includes/functions.php on line 3891
    [07-Feb-2017 16:29:05 UTC] PHP Notice: Constant WP_POST_REVISIONS already defined in /nas/content/live/btuanalytics/wp-config.php on line 145
    [07-Feb-2017 16:29:16 UTC] PHP Notice: The called constructor method for WP_Widget in membershipavatarwidget is deprecated since version 4.3.0! Use
    __construct()
    instead. in /nas/content/live/btuanalytics/wp-includes/functions.php on line 3891
    [07-Feb-2017 16:29:16 UTC] PHP Notice: The called constructor method for WP_Widget in membershipleveltext is deprecated since version 4.3.0! Use
    __construct()
    instead. in /nas/content/live/btuanalytics/wp-includes/functions.php on line 3891
    [07-Feb-2017 16:29:16 UTC] PHP Notice: The called constructor method for WP_Widget in membershipsubtext is deprecated since version 4.3.0! Use
    __construct()
    instead. in /nas/content/live/btuanalytics/wp-includes/functions.php on line 3891
    [07-Feb-2017 16:29:16 UTC] PHP Notice: Constant WP_POST_REVISIONS already defined in /nas/content/live/btuanalytics/wp-config.php on line 145
    [07-Feb-2017 16:29:26 UTC] PHP Notice: The called constructor method for WP_Widget in membershipavatarwidget is deprecated since version 4.3.0! Use
    __construct()
    instead. in /nas/content/live/btuanalytics/wp-includes/functions.php on line 3891
    [07-Feb-2017 16:29:26 UTC] PHP Notice: The called constructor method for WP_Widget in membershipleveltext is deprecated since version 4.3.0! Use
    __construct()
    instead. in /nas/content/live/btuanalytics/wp-includes/functions.php on line 3891
    [07-Feb-2017 16:29:26 UTC] PHP Notice: The called constructor method for WP_Widget in membershipsubtext is deprecated since version 4.3.0! Use
    __construct()
    instead. in /nas/content/live/btuanalytics/wp-includes/functions.php on line 3891
    [07-Feb-2017 16:29:26 UTC] PHP Notice: Constant WP_POST_REVISIONS already defined in /nas/content/live/btuanalytics/wp-config.php on line 145
    [07-Feb-2017 16:29:27 UTC] PHP Notice: The called constructor method for WP_Widget in membershipavatarwidget is deprecated since version 4.3.0! Use
    __construct()
    instead. in /nas/content/live/btuanalytics/wp-includes/functions.php on line 3891
    [07-Feb-2017 16:29:27 UTC] PHP Notice: The called constructor method for WP_Widget in membershipleveltext is deprecated since version 4.3.0! Use
    __construct()
    instead. in /nas/content/live/btuanalytics/wp-includes/functions.php on line 3891
    [07-Feb-2017 16:29:27 UTC] PHP Notice: The called constructor method for WP_Widget in membershipsubtext is deprecated since version 4.3.0! Use
    __construct()
    instead. in /nas/content/live/btuanalytics/wp-includes/functions.php on line 3891
    [07-Feb-2017 16:29:27 UTC] PHP Notice: Constant WP_POST_REVISIONS already defined in /nas/content/live/btuanalytics/wp-config.php on line 145

  • Ash

    Hi there

    All of the above are notices and that can't deactivate any plugin. The notice you are getting because you are using a plugin that is coded in old way to create a widget, so wordpress is sending a notice that the way the widget is created is deprecated and will no longer be supported in future.

    Now, about the original issue, is there any security plugin in your site? Do you use any backup and restore plugin? How many admins are in that site? Is it possible to change all of the admin's password? And it would be great for next couple of days if only one admin can access the site.

    Please let us know about this.

    Have a good day!

    Cheers
    Ash

  • Ash

    Hello Peter

    Which version of membership are you using? Membership2 has no such issue that can generates notices regarding widgets. To make more sure, I have just checked again enabling debug log and got no such notice.

    If you are using membership2, would you please run a plugin conflict test? Please deactivate all plugins except this one and check if you still face the problem. If not, then enable one by one and check which one is causing the problem. You can see the flowchart here: http://premium.wpmudev.org/manuals/using-wpmu-dev/getting-support/

    Please let me know what you get.

    Cheers
    Ash

  • Luís

    Hi Peter ,

    Hope you're doing well today!

    You may need to do the upgrade, because we are not developing and supporting Membership Premium anymore.

    I am not sure about the Membership version you are using, but to do the upgrade you should have the 3.5.3.3 version. If you are not using this version, please, download the .zip file provided in the below topic from my teammate Adam:

    https://premium.wpmudev.org/forums/topic/not-getting-the-option-to-upgrade-membership-pro#post-937716

    If you already have this version, please do the upgrade through your admin panel. Also, we have the instructions in the plugins usage page to proceed to the upgrade, with the title "Upgrading from Membership":

    https://premium.wpmudev.org/project/membership#usage

    Some shortcode changed in Membership 2, so, you will if you are using them in pages/posts, you will need to replace them with the M2Pro shortcodes.

    Also, we strongly advise so make a backup of your entire website before proceed to the upgrade, just to stay in the safe side.

    I hope this information has been helpful. If I can help you in this or other questions, please let me know!

    Cheers, Luís

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.