Thank you the response!!
I found a workaround. I was trying to load the analytics data into a new top level admin page. This was because when I did "add_menu_page()" the admin nav was not correctly adding the current class for the active page.
I ended up just adding some jQuery to add the classes in.
The plugin works fine in the original submenu page under dashboard. Only when I called the class elsewhere it throws the error.