• I’m getting a lot of the following error anytime someone visits the website: PHP Warning: Declaration of WC_Piwik::validate_checkbox_field($key) should be compatible with WC_Settings_API::validate_checkbox_field($key, $value) in /home/wp-content/plugins/woocommerce-piwik-integration/includes/class-wc-piwik.php on line 639

    I fixed this by editing line 503 to “public function validate_checkbox_field($key,$value)” instead of “public function validate_checkbox_field($key)” this also sped up my website loading as errors slow down the website.

    https://wordpress.org/plugins/wp-piwik/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘PHP Warnings’ is closed to new replies.