Fatal error Call to undefined method WP_Piwik\Admin\Network::getPluginURL()
-
There is a fatal error in version 1.0.25
It looks like you moved thegetPluginURL
function from theStatistics
class (or another in the inheritance tree) to the embedded$wpPiwik
object property.
But you left a reference to the old one.File
wp-piwik/classes/WP_Piwik/Admin/Network.php
line 13.wp_enqueue_script ( 'wp-piwik-chartjs', $this->getPluginURL () . 'js/chartjs/chart.min.js', "3.4.1" );
should be
wp_enqueue_script ( 'wp-piwik-chartjs', self::$wpPiwik->getPluginURL() . 'js/chartjs/chart.min.js', "3.4.1" );
I expect the space before the open parenthesis meant your search and replace missed this one.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Fatal error Call to undefined method WP_Piwik\Admin\Network::getPluginURL()’ is closed to new replies.