WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
[resolved] Fatal error: Call to undefined method (4 posts)

  1. good_vibes
    Member
    Posted 1 year ago #

    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/

  2. mikejolley
    Member
    Plugin Author

    Posted 1 year 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
    Member
    Posted 1 year 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?

    cheers

  4. good_vibes
    Member
    Posted 1 year 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!

    cheers

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.