• I just have a general question. I scanned one of my sites today for compatibility with Php 7.2 and it came back not compatible. I have the free version of Membership 2.

    When will it be compatible or what do I need to do to make it compatible?

    Thank you,
    Suzi

    Here is the scan information:

    Filename: wp-content/plugins/membership/lib/stripe-php/lib/Stripe/Object.php
    Warning
    239 | WARNING | Method name Stripe_Object::__toJSON is discouraged; PHP has reserved all method names with a double underscore prefix for future use 254 | WARNING | Method name Stripe_Object::__toArray is discouraged; PHP has reserved all method names with a double underscore prefix for future use Filename: wp-content/plugins/membership/app_old/membershipincludes/classes/class.adminbar.php
    Error
    50 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead Filename: wp-content/plugins/membership/app_old/membershipincludes/classes/class.membersearch.php
    Warning
    10 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7. Filename: wp-content/plugins/membership/app_old/membershipincludes/classes/membershipadmin.php
    Error
    6096 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead 6172 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead 6226 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead Filename: wp-content/plugins/membership/app_old/membershipincludes/classes/membershippublic.php
    Warning
    894 | WARNING | Function create_function() is deprecated since PHP 7.2; Use an anonymous function instead Filename: wp-content/plugins/membership/app_old/membershipincludes/gateways/gateway.freesubscriptions.php
    Warning
    17 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7. Filename: wp-content/plugins/membership/app_old/membershipincludes/gateways/gateway.paypalexpress.php
    Error
    717 | ERROR | Global variable ‘$HTTP_POST_VARS’ is deprecated since PHP 5.3 and removed since PHP 5.4; Use $_POST instead
    Warning
    14 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7. Filename: wp-content/plugins/membership/app_old/membershipincludes/gateways/gateway.paypalsolo.php
    Error
    369 | ERROR | Global variable ‘$HTTP_POST_VARS’ is deprecated since PHP 5.3 and removed since PHP 5.4; Use $_POST instead
    Warning
    15 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.

Viewing 1 replies (of 1 total)
  • Plugin Support Predrag – WPMU DEV Support

    (@wpmudev-support1)

    Hi @suzi2320,

    Apologies for the long overdue on your question, we have missed the ticket somehow 🙁

    Membership 2 should be working fine with PHP 7.2 and it seems to me that those are mostly backward compatibility codes that are not being used when 7.2 is running.
    It does seem that some things should still be investigated so I have passed this over to our devs to check it out further.

    Cheers,
    Predrag

Viewing 1 replies (of 1 total)
  • The topic ‘Php 7.2 Compatibility’ is closed to new replies.