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 thegetPluginURLfunction from theStatisticsclass (or another in the inheritance tree) to the embedded$wpPiwikobject property.
But you left a reference to the old one.File
wp-piwik/classes/WP_Piwik/Admin/Network.phpline 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.