Smush Fatal error

I am getting the following error:

Fatal error: Uncaught Error: Call to undefined function get_current_screen() in /wp-content/plugins/wp-smush-pro/lib/class-wp-smush-admin.php:341

  • Adam Czajczyk

    Hello Sebastian

    I hope you're well today and thank you for your question!

    I have been testing this with the plugins mentioned in the chat on the test setup but wasn't able to reproduce the issue. However, I noticed that you're using Visual Composer and we had similar issues reported with builder type of plugins/themes, occurring in some environments.

    There's been an update to the WP Smush Pro released just today which brings a series of fixes related to it. Could you please update the plugin to the most recent 2.7.9.1 version and give it another try?

    Let me know if that solves the problem or if further investigation would be required.

    Kind regards,
    Adam

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.