Open up ‘plugins/the-events-calendar/src/Tribe/Query.php’ (you can do it via file zilla ) ,download it ,edit it and put it back again .
Add the following line beneath “<?php” and it will work fine .
require_once(ABSPATH . 'wp-admin/includes/screen.php');
Let me know if there is any issue ?
I was looking to customize the website through the customize link on Dashboard (http://alnoorislami.org/web/wp-admin/customize.php) and it gave following error:
Fatal error: Call to undefined function get_current_screen() in /home/aghold5/public_html/alnoorislami.org/web/wp-content/plugins/the-events-calendar/src/Tribe/Query.php on line 302
I am getting the same error.You can deactivate the plugin ,and when you are done with customizing turn the plugin back on.