WordPress.org

Ready to get started?Download WordPress

Forums

Simple Local Avatars
Problem with avatar plugin (3 posts)

  1. diki_t0
    Member
    Posted 3 years ago #

    Hello,
    I want to use this plugin - http://wordpress.org/extend/plugins/simple-local-avatars/
    I installed it, activated it, everything was fine. But when I try to upload an avatar, this error appears:
    Fatal error: Call to undefined function wp_handle_upload() in /home/account/public_html/wp-content/plugins/simple-local-avatars/simple-local-avatars.php on line 197
    Can you please tell me how can I fix this problem?
    Thanks in advance

  2. gfiore88
    Member
    Posted 3 years ago #

    Hi! Add this at the top of your simple-local-avatars.php

    require_once(ABSPATH . 'wp-admin/includes/file.php');

    :)

  3. Guy1992
    Member
    Posted 3 years ago #

    Thanks gfiore88 you fixed my problem

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic