Call to undefined function doing_action() Updating WordPress Plugins

Recently upgrading a customer wordpress plugins I got greated with a

Call to undefined function doing_action()

When trying to login to the admin section , this was on Line 616 in file /google-analytics-for-wordpress/admin/class-admin.php

Comment this line out ( change to

//return doing_action( 'yst_ga_aggregate_data' ) && defined( 'DOING_CRON' ) && DOING_CRON;

Which will let you login to wordpress , update the wordpress version , and re-uncomment the line and save

return doing_action( 'yst_ga_aggregate_data' ) && defined( 'DOING_CRON' ) && DOING_CRON;
VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)

Tags: Call to undefined function, doing_action(), google-analytics-for-wordpress, update, wordpress

Trackback from your site.