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;