I am able to reproduce the issues in both the browsers – safari and chrome. Chrome is able to pinpoint the issue while safari isnt very helpful (which is why I spent hours debugging!) but both show errors in console. Also forgot to mention another minor bug deactivation hook needs to call removes_required_caps… looks like a cut and paste error.
public function activations_hooks()
{
register_activation_hook(uip_plugin_path_name . ‘/uipress-lite.php’, [$this, ‘add_required_caps’]);
register_deactivation_hook(uip_plugin_path_name . ‘/uipress-lite.php’, [$this, ‘add_required_caps’]);
}