WordPress.org

Ready to get started?Download WordPress

Forums

Frontend Uploader
[resolved] Fatal Error (3 posts)

  1. s3rgej
    Member
    Posted 1 year ago #

    Hi,

    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?!

    Best regards

    http://wordpress.org/extend/plugins/frontend-uploader/

  2. Rinat Khaziev
    Member
    Plugin Author

    Posted 1 year ago #

    Update your WordPress installation. 3.3 is minimum requirement

  3. s3rgej
    Member
    Posted 1 year ago #

    I am using the 3.5.1 version of wordpress. Sorry for not mention it.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic