[Resolved] Fatal Error
after installation of All-in-One Event Calendar i get the following error accessing the admin panel:
Fatal error: Call to undefined function get_current_screen() in C:\root\wp-content\plugins\frontend-uploader\frontend-uploader.php on line 185
I figuered out that you have to include the screen.php file from the wp-admin directory like this:
.... require_once FU_ROOT . '/lib/php/class-html-helper.php'; require_once FU_ROOT . '/lib/php/settings-api/class.settings-api.php'; require_once FU_ROOT . '/lib/php/functions.php'; require_once FU_ROOT . '/lib/php/frontend-uploader-settings.php'; require_once( FU_ROOT . '../../../../wp-admin/includes/screen.php' );
Is this a general problem of frontend uploader?!
- The topic ‘[Resolved] Fatal Error’ is closed to new replies.