Support » Plugin: WooCommerce » Fatal error: Call to undefined method

  • Resolved good_vibes

    (@good_vibes)


    Hi,

    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

    http://wordpress.org/extend/plugins/woocommerce/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Mike Jolley (a11n)

    (@mikejolley)

    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.

    Thread Starter good_vibes

    (@good_vibes)

    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?

    cheers

    Thread Starter good_vibes

    (@good_vibes)

    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!

    cheers

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Fatal error: Call to undefined method’ is closed to new replies.