I ran into this too, with text block widgets in the sidebar. Managed to fix it by having the plugin script only run when a page or post is being edited.
In wp-content/plugins/anchor-block/anchor-block.php, I added these lines at the beginning of anchor_block_enqueue_scripts_admin() :
if(!isset($_GET['post']) ){
return false;
}
Hope this helps someone.
-
This reply was modified 6 years ago by ronaldk. Reason: layout
Similar issue in the same file (class-admin.php) with calls to $this->is_action_page_set on lines 161 and 176. Should probably be Events_Maker()->is_action_page_set.
Replacing $this->get_action_page_id with Events_Maker()->get_action_page_id on lines 156 and 171 in class-admin.php seems to fix the error. But please note that I have no idea of what I’m doing.