• Resolved stuartbartley

    (@stuartbartley)


    Hi

    I wanted to switch from PHP 5.6 to PHP 7.0 but I get an error at the top of the page on line 302, the error reads:

    WARNING: Declaration of WeDevs_WC_Tracking_Integration::validate_textarea_field($key) should be compatible with WC_Settings_Api::validate_textarea_field($key,$value) in woocommerce-conversion-tracking/includes/integration.php on line 302. Any ideas how to fix this as I’d like to continue using the plugin and also run PHP7!

    Cheers
    Stuart

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter stuartbartley

    (@stuartbartley)

    sorry i’ve just realised this is for another plugin with a similar name!

    Plugin Author alekv

    (@alekv)

    No problem. As far as I know our plugins work with PHP 7.

    But if you find any issues don’t hesitate to post them here.

    Thread Starter stuartbartley

    (@stuartbartley)

    cheers, yep i use your plugin as well (i did a search in my plugins for “conversion” and only saw yours for some reason so assumed it was your plugin causing the error), but I can confirm yours is working fine with PHP 7 ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Error on Line 302 when Using PHP 7’ is closed to new replies.