• Resolved martynsaunders

    (@martynsaunders)


    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)
  • I am getting the same, any resolution from two months ago?

    Plugin Author Afterpay

    (@afterpayit)

    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.