Thread Starter
benborie
(@frenchdistrict)
Thank you for pointing us in the right direction… The debug output mentions:
PHP Fatal error: Call to undefined function wp_cache_reset() in /wp-content/plugins/groups/lib/core/class-groups-controller.php on line 46
We are on a multisite setup. We added if(function_exists(‘wp_cache_reset’) to the code and everything works now:
public static function switch_to_blog( $blog_id ) {
switch_to_blog( $blog_id );
if ( function_exists( ‘wp_cache_switch_to_blog’ ) ) {
wp_cache_switch_to_blog( $blog_id ); // introduced in WP 3.5.0
} else {
if(function_exists(‘wp_cache_reset’))
wp_cache_reset(); // deprecated in WP 3.5.0
}
}
Thanks again
I would like to track clicks on slides as well, using _gaq.push and _trackEvent
Automating the tracking info would be even better:
Category: promotion-slider
Label: Title of the promotion item
Has anyone done a similar mod?