• In tinymce-advanced.php line 364 in the show_version_warning() method
    get_current_screen() may return null

    Therefore, you should check if get_current_screen() != null before using get_current_screen()->base

    if( null == get_current_screen() ) {
        return;
    }

    This happens if wp_editor is used in an ajax response.

    Hope this helps,
    John

The topic ‘PHP Warning: calling get_current_screen()->base on null’ is closed to new replies.