• Resolved s3rgej

    (@s3rgej)


    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://ww.wp.xz.cn/extend/plugins/frontend-uploader/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Rinat

    (@rinatkhaziev)

    Update your WordPress installation. 3.3 is minimum requirement

    Thread Starter s3rgej

    (@s3rgej)

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

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Fatal Error’ is closed to new replies.