By cbais on Friday, 26 November 2021
Posted in Technical Issues
Likes 0
Views 788
Votes 0
At my community, I want to enable storage management, so that the user cannot upload more media then I say they are allowed to..

However, when I enable storage management (backend --> easysocial --> settings --> storage (see screenshot)), users that don't have uploaded pictures yet (no profile picture, no cover picture, no media at all and fresh profilies) receive an error when trying to edit their profile data:

1048 Column 'size' cannot be null error


feel free to reproduce on my site. The attached user has no media so when using that user, You should be able to reproduce this error.

Keep in mind that You have to enable storage management in the backend first, before You can reproduce this error. I have disabled it for now so that new users dont run into this problem.


Used versions:
easysocial 4.0.7
joomla 4.0.4
Can you try to download my attached file then replace it with the following file location and see how it goes?

JoomlaFolder/administrator/components/com_easysocial/models/storage.php
·
Monday, 29 November 2021 10:54
·
0 Likes
·
0 Votes
·
0 Comments
·
thanks!
Tested it and as far as I can see now, it looks like it is fixed.
·
Thursday, 02 December 2021 15:33
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

You are most welcome. Glad to hear that your issue has been resolved now.

Just for your information, I have locked and marked this thread as resolved to avoid confusion in the future. Please start a new thread if you have any other issues in the future so it will be easier for us to manage your inquiries.

Thanks for understanding.
·
Thursday, 02 December 2021 15:44
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post