UPDATES EasyBlog 6.0.14 Released! Joomla 5.x and PHP 8.x compatible now!

Helpdesk

Your Time
Our Time
Response Time
24 — 48 hours
We strive to provide the fastest ever response possible. However, we are not super beings.

Allow at least 24 — 48 hours
  Support is online
Our support specialists is available now. We will attend to you as soon as we can.
  Support is online

Fatal error with File Field enabled in custom profile

Jordan Weinstein · ·
11:15 AM Thursday, 29 May 2014
None
Hello,

Using ES 1.2.14 on Joomla 3.3.

I have enabled a file upload custom field in custom profiles to allow users to upload a file upon registration (to verify identity).

I have 3 issues:

1. Upon completion of registration, a fatal error occurs:

Catchable fatal error: Object of class stdClass could not be converted to string in /home/DOMAIN/public_html/administrator/components/com_easysocial/tables/field.php on line 1107

This also occurred on editing and saving the file for a logged-in user's edit profile screen. Removing the file upload field solves the error, however, I would like to implement this.

2. A logged in user will get these errors if the file upload field is set as a required field, 1 fatal if the file field above is enabled:

Warning: Missing argument 2 for SocialFieldsUserFile::onFieldCheck() in /home/uhema/public_html/media/com_easysocial/apps/fields/user/file/file.php on line 429

Fatal error: Cannot use object of type SocialUser as array in /home/uhema/public_html/media/com_easysocial/apps/fields/user/file/file.php on line 185

3. Where will these files be uploaded?

If there is a fix provided, please do provide me a patch to repair other sites.

Site details enclosed.

Jordan
The replies under this section are restricted to logged in users or users with an active subscription with us