When a user tries to up load an image I get the follow message.
Warning: Illegal offset type in _avatarapproval_get_upload_settings() (line 233 of C:\xampp\htdocs\test\drupal-7.7\sites\all\modules\avatarapproval\avatarapproval.module).
Warning: Illegal offset type in isset or empty in file_save_upload() (line 1405 of C:\xampp\htdocs\test\drupal-7.7\includes\file.inc).
Warning: Illegal offset type in isset or empty in file_save_upload() (line 1410 of C:\xampp\htdocs\test\drupal-7.7\includes\file.inc).
Warning: Illegal offset type in _avatarapproval_get_upload_settings() (line 233 of C:\xampp\htdocs\test\drupal-7.7\sites\all\modules\avatarapproval\avatarapproval.module).
Warning: Illegal offset type in isset or empty in file_save_upload() (line 1405 of C:\xampp\htdocs\test\drupal-7.7\includes\file.inc).
Warning: Illegal offset type in isset or empty in file_save_upload() (line 1410 of C:\xampp\htdocs\test\drupal-7.7\includes\file.inc).
I searched to find out why this is happening, can you look at this and provide me with a fix?
Comments
Comment #1
dalad commentedI committed a bugfix to this in the latest dev. Thanks for reporting