Title: PHP warnings
Last modified: January 16, 2019

---

# PHP warnings

 *  Resolved [martynsaunders](https://wordpress.org/support/users/martynsaunders/)
 * (@martynsaunders)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/php-warnings-73/)
 * Hi There,
 * I’m getting these php warnings id my debug log.
 * > htmlentities() expects parameter 1 to be string, object given
   >  Type: PHP Warning
   > Line: 1544 File: /home/southern/public_html/wp-content/plugins/afterpay-gateway-
   > for-woocommerce/class/WC_Gateway_Afterpay.php
 * > html_entity_decode() expects parameter 1 to be string, array given
   >  Type: PHP
   > Warning Line: 1764 File: /home/southern/public_html/wp-content/plugins/afterpay-
   > gateway-for-woocommerce/class/WC_Gateway_Afterpay.php
 * > base64_decode() expects parameter 1 to be string, array given
   >  Type: PHP Warning
   > Line: 1760 File: /home/southern/public_html/wp-content/plugins/afterpay-gateway-
   > for-woocommerce/class/WC_Gateway_Afterpay.php
 * Does anyone know how to fix?

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

 *  [Encify](https://wordpress.org/support/users/damiafaw/)
 * (@damiafaw)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/php-warnings-73/#post-11333797)
 * I am getting the same, any resolution from two months ago?
 *  Plugin Author [Afterpay](https://wordpress.org/support/users/afterpayit/)
 * (@afterpayit)
 * [7 years ago](https://wordpress.org/support/topic/php-warnings-73/#post-11480166)
 * Hi martynsaunders & damiafaw,
 * Thanks for your patience. While no action has been taken specifically to address
   these warnings, an update to the plugin provides a revision to the relevant processes
   which avoid the use of the `htmlentities` and `html_entity_decode` functions 
   altogether.
 * Please stand by for the release of version 2.0.5 and feel free to follow up if
   the challenge persists.
 * Thank you.

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

The topic ‘PHP warnings’ is closed to new replies.

 * ![](https://ps.w.org/afterpay-gateway-for-woocommerce/assets/icon.svg?rev=3261877)
 * [Afterpay Gateway for WooCommerce](https://wordpress.org/plugins/afterpay-gateway-for-woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/afterpay-gateway-for-woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/afterpay-gateway-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/afterpay-gateway-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/afterpay-gateway-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/afterpay-gateway-for-woocommerce/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [Afterpay](https://wordpress.org/support/users/afterpayit/)
 * Last activity: [7 years ago](https://wordpress.org/support/topic/php-warnings-73/#post-11480166)
 * Status: resolved