Compatibility risk with PHP 7.0 for Affiliates Plugins

Posted in

I am currently using PHP 5.6, and would like to upgrade to PHP 7.0. I ran a compatibility test for my site’s plugins, and found that 3 of the Affiliates plugins I use were a risk for errors prior to updating. I am hosting on SiteGround and used their proprietary SG Optimizer PHP test to get these results. The warnings I received are the following:

***
Affiliates PayPal Payments Standard

FILE: /public_html/wp-content/plugins/affiliates-paypal/lib/ix-paypal-ipn/ipn/class-ix-paypal-ipn-handler.php
—————————————————————————————————————————
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
—————————————————————————————————————————
1 | WARNING | File has mixed line endings; this may cause incorrect results
—————————————————————————————————————————

FILE: /public_html/wp-content/plugins/affiliates-paypal/lib/ix-paypal-ipn/ipn/interface-ix-paypal-ipn-event-listener.php
————————————————————————————————————————————–
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
————————————————————————————————————————————–
1 | WARNING | File has mixed line endings; this may cause incorrect results
————————————————————————————————————————————–

FILE: /public_html/wp-content/plugins/affiliates-paypal/lib/ix-paypal-ipn/ix-paypal-ipn.php
———————————————————————————————————
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
———————————————————————————————————
1 | WARNING | File has mixed line endings; this may cause incorrect results
———————————————————————————————————

FILE: /public_html/wp-content/plugins/affiliates-paypal/lib/ix-paypal-ipn/uty/fake_bcmath.php
———————————————————————————————————–
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
———————————————————————————————————–
1 | WARNING | File has mixed line endings; this may cause incorrect results
———————————————————————————————————–

FILE: /public_html/wp-content/plugins/affiliates-paypal/lib/ix-paypal-ipn/uty/class-ix-log.php
————————————————————————————————————
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
————————————————————————————————————
1 | WARNING | File has mixed line endings; this may cause incorrect results
————————————————————————————————————

FILE: /public_html/wp-content/plugins/affiliates-paypal/lib/ipn.php
———————————————————————————
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
———————————————————————————
1 | WARNING | File has mixed line endings; this may cause incorrect results

***
Affiliates Pro

FILE: /public_html/wp-content/plugins/affiliates-pro/lib/core/wp-init.php
—————————————————————————————
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
—————————————————————————————
1 | WARNING | File has mixed line endings; this may cause incorrect results
—————————————————————————————

FILE: /public_html/wp-content/plugins/affiliates-pro/lib/core/class-affiliates-exclusion.php
———————————————————————————————————-
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
———————————————————————————————————-
1 | WARNING | File has mixed line endings; this may cause incorrect results
———————————————————————————————————-

FILE: /public_html/wp-content/plugins/affiliates-pro/lib/core/affiliates-admin-affiliates.php
———————————————————————————————————–
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
———————————————————————————————————–
1 | WARNING | File has mixed line endings; this may cause incorrect results
———————————————————————————————————–

FILE: /public_html/wp-content/plugins/affiliates-pro/lib/ext/includes/class-affiliates-notifications-extended.php
——————————————————————————————————————————-
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
——————————————————————————————————————————-
1 | WARNING | File has mixed line endings; this may cause incorrect results
——————————————————————————————————————————-

FILE: /public_html/wp-content/plugins/affiliates-pro/lib/ext/includes/fake_bcmath.php
—————————————————————————————————
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
—————————————————————————————————
1 | WARNING | File has mixed line endings; this may cause incorrect results
—————————————————————————————————

FILE: /public_html/wp-content/plugins/affiliates-pro/lib/ext/constants.php
—————————————————————————————-
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
—————————————————————————————-
1 | WARNING | File has mixed line endings; this may cause incorrect results
—————————————————————————————-

FILE: /public_html/wp-content/plugins/affiliates-pro/lib/ext/abstract/class-affiliates-affiliates.php
——————————————————————————————————————-
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
——————————————————————————————————————-
1 | WARNING | File has mixed line endings; this may cause incorrect results
——————————————————————————————————————-

FILE: /public_html/wp-content/plugins/affiliates-pro/lib/ext/abstract/class-affiliates-stats-renderer.php
———————————————————————————————————————–
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
———————————————————————————————————————–
1 | WARNING | File has mixed line endings; this may cause incorrect results
———————————————————————————————————————–

FILE: /public_html/wp-content/plugins/affiliates-pro/lib/ext/abstract/class-affiliates-traffic-renderer.php
————————————————————————————————————————-
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
————————————————————————————————————————-
1 | WARNING | File has mixed line endings; this may cause incorrect results
————————————————————————————————————————-

FILE: /public_html/wp-content/plugins/affiliates-pro/lib/ext/abstract/class-affiliates-totals.php
—————————————————————————————————————
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
—————————————————————————————————————
1 | WARNING | File has mixed line endings; this may cause incorrect results
—————————————————————————————————————

FILE: /public_html/wp-content/plugins/affiliates-pro/lib/ext/abstract/class-affiliates-database.php
—————————————————————————————————————–
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
—————————————————————————————————————–
1 | WARNING | File has mixed line endings; this may cause incorrect results
—————————————————————————————————————–

FILE: /public_html/wp-content/plugins/affiliates-pro/lib/ext/abstract/class-affiliates-affiliate-profile.php
————————————————————————————————————————–
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
————————————————————————————————————————–
1 | WARNING | File has mixed line endings; this may cause incorrect results
————————————————————————————————————————–

FILE: /public_html/wp-content/plugins/affiliates-pro/lib/ext/abstract/class-affiliates-affiliate-stats-renderer.php
———————————————————————————————————————————
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
———————————————————————————————————————————
1 | WARNING | File has mixed line endings; this may cause incorrect results
———————————————————————————————————————————

FILE: /public_html/wp-content/plugins/affiliates-pro/lib/ext/abstract/class-affiliates-link-renderer.php
———————————————————————————————————————-
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
———————————————————————————————————————-
1 | WARNING | File has mixed line endings; this may cause incorrect results
———————————————————————————————————————-

FILE: /public_html/wp-content/plugins/affiliates-pro/lib/ext/abstract/class-affiliates-graph-renderer.php
———————————————————————————————————————–
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
———————————————————————————————————————–
1 | WARNING | File has mixed line endings; this may cause incorrect results
———————————————————————————————————————–

FILE: /public_html/wp-content/plugins/affiliates-pro/lib/ext/abstract/class-affiliates-affiliate.php
——————————————————————————————————————
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
——————————————————————————————————————
1 | WARNING | File has mixed line endings; this may cause incorrect results
——————————————————————————————————————

FILE: /public_html/wp-content/plugins/affiliates-pro/lib/ext/abstract/class-affiliates-referral.php
—————————————————————————————————————–
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
—————————————————————————————————————–
1 | WARNING | File has mixed line endings; this may cause incorrect results
—————————————————————————————————————–

FILE: /public_html/wp-content/plugins/affiliates-pro/lib/ext/abstract/abstract.php
————————————————————————————————
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
————————————————————————————————
1 | WARNING | File has mixed line endings; this may cause incorrect results
————————————————————————————————

FILE: /public_html/wp-content/plugins/affiliates-pro/lib/ext/abstract/class-affiliates-attributes.php
——————————————————————————————————————-
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
——————————————————————————————————————-
1 | WARNING | File has mixed line endings; this may cause incorrect results
——————————————————————————————————————-

FILE: /public_html/wp-content/plugins/affiliates-pro/lib/ext/abstract/class-affiliates-url-renderer.php
———————————————————————————————————————
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
———————————————————————————————————————
1 | WARNING | File has mixed line endings; this may cause incorrect results
———————————————————————————————————————

FILE: /public_html/wp-content/plugins/affiliates-pro/lib/ext/abstract/class-affiliates-validator.php
——————————————————————————————————————
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
——————————————————————————————————————
1 | WARNING | File has mixed line endings; this may cause incorrect results
——————————————————————————————————————

FILE: /public_html/wp-content/plugins/affiliates-pro/lib/ext/wordpress/wordpress.php
————————————————————————————————–
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
————————————————————————————————–
1 | WARNING | File has mixed line endings; this may cause incorrect results
————————————————————————————————–

FILE: /public_html/wp-content/plugins/affiliates-pro/lib/ext/interfaces.php
—————————————————————————————–
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
—————————————————————————————–
1 | WARNING | File has mixed line endings; this may cause incorrect results
—————————————————————————————–

***

Affiliates WooCommerce Integration

FILE: /public_html/wp-content/plugins/affiliates-woocommerce/affiliates-woocommerce.php
—————————————————————————————————–
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
—————————————————————————————————–
1 | WARNING | File has mixed line endings; this may cause incorrect results
—————————————————————————————————–

****

Please advise if you know of any issues regarding these warnings, as I do not want to update if it is going to break all my affiliate tracking plugins. Of all my plugins, these were some of the only ones SiteGrounds PHP checker came up with warnings for. I just want to make sure everything is safe before moving forward with the update.

Thank you so much for your time!!!

One Response to Compatibility risk with PHP 7.0 for Affiliates Plugins

  1. antonio June 30, 2017 at 5:08 pm #

    Hi Ian,
    I have tried our latest versions with PHP 7.1 and all seem correct.
    Please check if you have the latest plugin version installed.
    Don’t worry about these warnings.
    Kind Regards,
    Antonio B.

We use cookies to optimize your experience on our site and assume you're OK with that if you stay.
OK, hide this message.

Affiliates · Contact · Jobs · Terms & Conditions · Privacy Policy · Documentation · Downloads · Useful Plugins · My Account

Share