Assure screen object is set.

https://wordpress.org/support/topic/php-non-object-notice#post-6055863
https://wordpress.org/support/topic/php-non-object-notice-1#post-6055880