Getting the following Fatal error when accessing the Website frontend:
Fatal error: Uncaught Error: Call to undefined function get_current_screen() in
However, the dashboard loads fine, the issue only happens in the frontend. On running a conflict test, it seems like it’s a conflict with Easy Social Share Buttons for WordPress plugin.
The issue only started to occur after updating WP Smush, older version of Smush works fine with the “Easy Social Share Buttons for WordPress” plugin. The issue resolves once the WP Smush Pro plugin is disabled.