• Resolved Ruud Laan

    (@ruudjoyo)


    Hi mgibbs189,

    Found this notice while using MailPoet with its custom popup screen.
    I wrote a small patch to fix this notice.

    @@ -264,8 +264,8 @@
    */
    function admin_head() {
    $screen = get_current_screen();

    – if ( ‘post’ == $screen->base ) {
    +
    + if ( is_a( $screen, ‘WP_Screen’ )&& ‘post’ == $screen->base ) {
    include( CFS_DIR . ‘/templates/admin_head.php’ );
    }
    }

    https://www.ads-software.com/plugins/custom-field-suite/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Notice: Trying to get property of non-object in custom-field-suite/cfs.php on li’ is closed to new replies.