Title: Your plugin has many PHP code warnings!
Last modified: October 21, 2018

---

# Your plugin has many PHP code warnings!

 *  ResolvedPlugin Author [etalented](https://wordpress.org/support/users/etalented/)
 * (@etalented)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/your-plugin-has-many-php-code-warnings/)
 * Using PHP 7.2, your plugin generates all these warnings:
    Warning: Declaration
   of WorldpayPayments::onLoad($parent, $api) should be compatible with PaymentBase::
   onLoad() in /Applications/MAMP/htdocs/website/wp-content/plugins/multipay/PaymentsAPI/
   worldpay/WorldpayPayments.class.php on line 98
 * Warning: Declaration of AmazonPayments::onLoad($parent, $api) should be compatible
   with PaymentBase::onLoad() in /Applications/MAMP/htdocs/website/wp-content/plugins/
   multipay/PaymentsAPI/amazon/AmazonPayments.class.php on line 240
 * Warning: Declaration of PaypalPayments::onLoad($parent, $api) should be compatible
   with PaymentBase::onLoad() in /Applications/MAMP/htdocs/website/wp-content/plugins/
   multipay/PaymentsAPI/paypal/PaypalPayments.class.php on line 173
 * Warning: Declaration of StripePayments::onLoad($parent, $api) should be compatible
   with PaymentBase::onLoad() in /Applications/MAMP/htdocs/website/wp-content/plugins/
   multipay/PaymentsAPI/stripe/StripePayments.class.php on line 116
 * Notice: Undefined index: custom in /Applications/MAMP/htdocs/website/wp-content/
   plugins/multipay/multipay.php on line 1579
 * Notice: Undefined index: mode in /Applications/MAMP/htdocs/website/wp-content/
   plugins/multipay/PaymentsAPI/worldpay/WorldpayPayments.class.php on line 39
 * Notice: Undefined index: client_key in /Applications/MAMP/htdocs/website/wp-content/
   plugins/multipay/PaymentsAPI/amazon/AmazonPayments.class.php on line 47
 * Notice: Undefined index: handle-colours in /Applications/MAMP/htdocs/website/
   wp-content/plugins/multipay/multipay.php on line 1262
 * Notice: Undefined variable: bg in /Applications/MAMP/htdocs/website/wp-content/
   plugins/multipay/multipay.php on line 1266
 * Notice: Undefined index: use_custom in /Applications/MAMP/htdocs/website/wp-content/
   plugins/multipay/multipay.php on line 1267
 * Can you please resolve??

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Graham](https://wordpress.org/support/users/aerin/)
 * (@aerin)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/your-plugin-has-many-php-code-warnings/#post-10846140)
 * I know. But so few people are using the plugin I can’t really justify putting
   in the hours to fix everything.
 * So I’ve reluctantly stopped providing support.
 *  Plugin Author [etalented](https://wordpress.org/support/users/etalented/)
 * (@etalented)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/your-plugin-has-many-php-code-warnings/#post-10883995)
 * These issues have now been fixed. Please update!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Your plugin has many PHP code warnings!’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/multipay_bd9468.svg)
 * [MultiPay](https://wordpress.org/plugins/multipay/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/multipay/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/multipay/)
 * [Active Topics](https://wordpress.org/support/plugin/multipay/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/multipay/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/multipay/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [etalented](https://wordpress.org/support/users/etalented/)
 * Last activity: [7 years, 6 months ago](https://wordpress.org/support/topic/your-plugin-has-many-php-code-warnings/#post-10883995)
 * Status: resolved