[Hustle] PHP Notice in Hustle

Hustle generates 1000's of PHP Notices in my error_log:

PHP Notice: Trying to get property of non-object in /wp-content/plugins/hustle/inc/hustle-module-model.php on line 331

Could your developers please fix this?

It should be quite simple to fix - the conditional assumes that $post->post_type is always set but that's not true for pages where $post isn\'t set. One way to fix would be to change

if ( $args['post_type'] === 'ms_membership' ) {
	// do nothing so this will went through
} else if ( $skip_all_cpt || $post->post_type != $args['post_type'] ) {
	continue;
}

to

if ( $args['post_type'] === 'ms_membership' ) {
	// do nothing so this will went through
} else if ( $skip_all_cpt || ( !empty( $post->post_type ) && $post->post_type != $args['post_type']) ) {
	continue;
}

In /wp-content/plugins/hustle/inc/hustle-module-model.php at around line 331

Thanks,

mark.