[resolved] Fatal error: Call to undefined method (4 posts)

  1. good_vibes
    Posted 3 years ago #


    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. Otherwise it works like a charm! After enabling WP-Piwik plugin the footer of the "Order Received" site disappears and the error comes up. Disabling the WP-Piwik plugin and the footer is present again.

    Has someone an idea or a little help?! Or is this an question for the WP-Piwik dev?

    Many thanks!

    cheers, Chris


  2. Mike Jolley
    Plugin Author

    Posted 3 years ago #

    In WooCommerce Integration settings, turn off PWIK integration. Something must have changed in the PWIK Plugin to break the code.

    I've logged a ticket here: https://github.com/woothemes/woocommerce/issues/2845 It will either be updated, or removed, depending on the changes within PWIK.

  3. good_vibes
    Posted 3 years ago #

    Thanks Mike for the opening of a ticket!

    The last changelog of WP-Piwik says "Made code optional. Move code to site footer." ..could this be the reason?


  4. good_vibes
    Posted 3 years ago #

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

    Please call this functions in future. :-)

    Thank you!


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.