Issue on uploading a file by using web service

Issue on uploading a file by using web service

by Azmat Ullah -
Number of replies: 1
Picture of Plugin developers

Hi,

I'm using Moodle version 3.8 and by webservice function core_user_update_users I'm uploading a file.  I used custom plugin for upload a file from user profile.

Now we've two instances, first instance successfully uploading a file while second instance showing below error.

Note: Same error were showing on first instance but after purging a cache it was resolved, but on second instance the error still persistent. 

{"exception":"Error","message":"Call to undefined function file_save_draft_area_files()"}

Thanks! 

Average of ratings: -
In reply to Azmat Ullah

Re: Issue on uploading a file by using web service

by Azmat Ullah -

Its done by clearing ALL MUC cache. I guess when I was purging all cache due to some reason all cache was not purging while the purge cache page showing that the cache purge successfully.  So we purge All MUC cache separately, now its start working.


Thanks for reading!!