• [21-Oct-2016 12:08:29 UTC] PHP Strict Standards: Declaration of WC_Piwik::validate_checkbox_field() should be compatible with WC_Settings_API::validate_checkbox_field($key, $value) in /kunden/wesleyhb.de/webseiten/marquardt/wordpress/wp-content/plugins/woocommerce-piwik-integration/includes/class-wc-piwik.php on line 648

    thanks for helping

    i got this out of the debug.log

    define(‘WP_DEBUG’, true);
    define(‘WP_DEBUG_LOG’, true);
    define(‘WP_DEBUG_DISPLAY’, false);

Viewing 2 replies - 1 through 2 (of 2 total)
  • I got he same problem:
    Array ( [type] => 2 [message] => Declaration of WC_Piwik::validate_checkbox_field($key) should be compatible with WC_Settings_API::validate_checkbox_field($key, $value) [file] => */wp-content/plugins/woocommerce-piwik-integration/includes/class-wc-piwik.php [line] => 0

    Cheers

    • This reply was modified 8 years, 3 months ago by Jan_A..

    Quick fix:

    replace the following line (513) in class-wc-piwik.php:

    public function validate_checkbox_field($key)

    with:

    public function validate_checkbox_field($key, $value=null)

    • This reply was modified 8 years, 2 months ago by Soft79.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Declaration of WC_Piwik’ is closed to new replies.