WordPress.org

Ready to get started?Download WordPress

Forums

WP-Piwik
[resolved] Fatal error: Call to undefined method wp_piwik::footer() (4 posts)

  1. good_vibes
    Member
    Posted 1 year ago #

    Hello und guten Abend,

    after installing and enabling the WP-Piwik plugin. I have the following error.. (I think since the last version but I'm not sure)

    Fatal error: Call to undefined method wp_piwik::footer() in /../wp-content/plugins/woocommerce/woocommerce-functions.php on line 1215

    The error appears only at the woocommerce (2.0.5) "Order Received" site. After enabling WP-Piwik the footer only of the "Order Received" site disappears and the error comes up. Disabling the plugin and the footer is present again.

    Has someone an idea or a little help?! Or is this an question for the woocommerce devs?

    Many thanks! Herzlichen Dank!

    cheers, Chris

    http://wordpress.org/extend/plugins/wp-piwik/

  2. braekling
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Chris,

    woocommerce calls WP-Piwik functions directly. Because of some changes in Piwik, the tracking code is added to your page's header now. There are two new functions: site_header (javascript tracking code) and site_footer (noscript code).

    Please tell the woocommerce developers to call this functions in future.

    Best regards
    André

  3. good_vibes
    Member
    Posted 1 year ago #

    Hi André,

    I would like to put you in knowledge - with WooCommerce 2.0.6 the error is fixed. The devs from woocommerce are speedy..

    Thank you for your help. I look forward to see many new developments of your plugin.

    cheers, Chris

  4. braekling
    Member
    Plugin Author

    Posted 1 year ago #

    Thank you very much - nice to hear!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.