• Resolved AiratTop

    (@airathalitov)


    FILE: /var/www/test.site/wp-content/plugins/paid-memberships-pro/includes/updates/upgrade_1_8_8.php
    ---------------------------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ---------------------------------------------------------------------------------------------------
     1 | WARNING | File has mixed line endings; this may cause incorrect results
    ---------------------------------------------------------------------------------------------------
    
    FILE: /var/www/test.site/wp-content/plugins/paid-memberships-pro/includes/updates/upgrade_1_8_6_9.php
    -----------------------------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    -----------------------------------------------------------------------------------------------------
     1 | WARNING | File has mixed line endings; this may cause incorrect results
    -----------------------------------------------------------------------------------------------------
    
    FILE: /var/www/test.site/wp-content/plugins/paid-memberships-pro/includes/updates/upgrade_1_2_3.php
    ---------------------------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ---------------------------------------------------------------------------------------------------
     1 | WARNING | File has mixed line endings; this may cause incorrect results
    ---------------------------------------------------------------------------------------------------
    
    FILE: /var/www/test.site/wp-content/plugins/paid-memberships-pro/includes/updates/upgrade_1_1_15.php
    ----------------------------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ----------------------------------------------------------------------------------------------------
     1 | WARNING | File has mixed line endings; this may cause incorrect results
    ----------------------------------------------------------------------------------------------------
    
    FILE: /var/www/test.site/wp-content/plugins/paid-memberships-pro/includes/updates/upgrade_1_8_7.php
    ---------------------------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ---------------------------------------------------------------------------------------------------
     1 | WARNING | File has mixed line endings; this may cause incorrect results
    ---------------------------------------------------------------------------------------------------
    
    FILE: /var/www/test.site/wp-content/plugins/paid-memberships-pro/includes/updates/upgrade_1_7.php
    -------------------------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    -------------------------------------------------------------------------------------------------
     1 | WARNING | File has mixed line endings; this may cause incorrect results
    -------------------------------------------------------------------------------------------------
    
    FILE: /var/www/test.site/wp-content/plugins/paid-memberships-pro/includes/updates/upgrade_1_5.php
    -------------------------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    -------------------------------------------------------------------------------------------------
     1 | WARNING | File has mixed line endings; this may cause incorrect results
    -------------------------------------------------------------------------------------------------
    
    FILE: /var/www/test.site/wp-content/plugins/paid-memberships-pro/includes/updates/upgrade_1_3_18.php
    ----------------------------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ----------------------------------------------------------------------------------------------------
     1 | WARNING | File has mixed line endings; this may cause incorrect results
    ----------------------------------------------------------------------------------------------------
    
    FILE: /var/www/test.site/wp-content/plugins/paid-memberships-pro/includes/updates/upgrade_1_4_2.php
    ---------------------------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ---------------------------------------------------------------------------------------------------
     1 | WARNING | File has mixed line endings; this may cause incorrect results
    ---------------------------------------------------------------------------------------------------
    
    FILE: /var/www/test.site/wp-content/plugins/paid-memberships-pro/includes/updates/upgrade_1_5_9.php
    ---------------------------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ---------------------------------------------------------------------------------------------------
     1 | WARNING | File has mixed line endings; this may cause incorrect results
    ---------------------------------------------------------------------------------------------------
    
    FILE: /var/www/test.site/wp-content/plugins/paid-memberships-pro/includes/updates/upgrade_1_6.php
    -------------------------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    -------------------------------------------------------------------------------------------------
     1 | WARNING | File has mixed line endings; this may cause incorrect results
    -------------------------------------------------------------------------------------------------
    
    FILE: /var/www/test.site/wp-content/plugins/paid-memberships-pro/includes/updates/upgrade_1_4_8.php
    ---------------------------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ---------------------------------------------------------------------------------------------------
     1 | WARNING | File has mixed line endings; this may cause incorrect results
    ---------------------------------------------------------------------------------------------------
    
    FILE: /var/www/test.site/wp-content/plugins/paid-memberships-pro/includes/updates/upgrade_1_4.php
    -------------------------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    -------------------------------------------------------------------------------------------------
     1 | WARNING | File has mixed line endings; this may cause incorrect results
    -------------------------------------------------------------------------------------------------
    
    FILE: /var/www/test.site/wp-content/plugins/paid-memberships-pro/includes/lib/Braintree/lib/Braintree/Util.php
    --------------------------------------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    --------------------------------------------------------------------------------------------------------------
     210 | WARNING | Function create_function() is deprecated since PHP 7.2; Use an anonymous function instead
    --------------------------------------------------------------------------------------------------------------
    
    FILE: /var/www/test.site/wp-content/plugins/paid-memberships-pro/includes/lib/Stripe/lib/StripeObject.php
    ---------------------------------------------------------------------------------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
    ---------------------------------------------------------------------------------------------------------------------------------------------------------
     269 | WARNING | Method name "StripeObject::__toJSON" is discouraged; PHP has reserved all method names with a double underscore prefix for future use.
     284 | WARNING | Method name "StripeObject::__toArray" is discouraged; PHP has reserved all method names with a double underscore prefix for future use.
    ---------------------------------------------------------------------------------------------------------------------------------------------------------
    
    FILE: /var/www/test.site/wp-content/plugins/paid-memberships-pro/adminpages/admin_footer.php
    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
     1 | WARNING | No PHP code was found in this file and short open tags are not allowed by this install of PHP. This file may be using short open tags but PHP does not allow them.
    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    
    FILE: /var/www/test.site/wp-content/plugins/paid-memberships-pro/classes/gateways/class.pmprogateway_stripe.php
    ---------------------------------------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ---------------------------------------------------------------------------------------------------------------
     1753 | WARNING | Function create_function() is deprecated since PHP 7.2; Use an anonymous function instead
    ---------------------------------------------------------------------------------------------------------------

    In some cases you can use dos2unix *.php command to fix some warnings.

    Paid Memberships Pro 1.9.5.5
    PHP Compatibility Checker 1.4.6

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Andrew Lima

    (@andrewza)

    Hi Airat,

    Thank you for using Paid Memberships Pro.

    These warnings should not affect your site negatively as a lot of the warnings come from the upgrading code inside Paid Memberships Pro.

    We will be looking into improving some of the other areas such as the Stripe gateway to remove the warnings.

    Thank you for sharing this with us, we will continue to test it further.

    Thread Starter AiratTop

    (@airathalitov)

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Paid Memberships Pro PHP 7.2 Compatibility test’ is closed to new replies.