Something went wrong error

STEVEN MILLER Posted in Technical Support 7 days ago

I get an error message "something went wrong" while posting an image on newsfeed. I have tried on several device same issue. I even restarted Apache, mysql,myphp services, still issues. How can I fix this issue?

Replies
us STEVEN MILLER Replied 6 days ago

I was able to increase size now to 128k. I even deleted all files and reinstalled system. Still getting same error when posting an image. Anyway to fix this?
Now here is the error in log:
[14-Oct-2021 02:07:20 UTC] PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 16384 bytes) in /home/thesocialonline/public_html/classes/OssnImage.php on line 177
enter image description here

Indonesian Arsalan Shah Replied 6 days ago

You need to ask your system administrator to increase php memory limit.

us STEVEN MILLER Replied 6 days ago

I have a total of 4gb only using 30% memoryenter image description here

Indonesian Arsalan Shah Replied 6 days ago

It appears your server have not enough memory. 33554432byes = 32MB which is not that enough for the operation to complete. Also it depends on size of image you trying to upload.

us STEVEN MILLER Replied 6 days ago

enter image description here This is the ossnimage.php file

us STEVEN MILLER Replied 6 days ago

Here is the error log, I have deleted the fakeuser components. lo :

[10-Oct-2021 12:05:35 UTC] Com Installer Error: Former component is still in place
[10-Oct-2021 12:16:26 UTC] PHP WARNING: 2021-10-10 12:16:26 (UTC): "Invalid argument supplied for foreach()" in file /home/thesocialonline/public_html/components/FakeUsers/plugins/default/settings/administrator/FakeUsers/settings.php (line 37)
[13-Oct-2021 01:46:42 UTC] PHP Fatal error:  Allowed memory size of 33554432 bytes exhausted (tried to allocate 16384 bytes) in /home/thesocialonline/public_html/classes/OssnImage.php on line 177
[13-Oct-2021 01:46:59 UTC] PHP Fatal error:  Allowed memory size of 33554432 bytes exhausted (tried to allocate 16384 bytes) in /home/thesocialonline/public_html/classes/OssnImage.php on line 177
[13-Oct-2021 01:47:30 UTC] PHP Fatal error:  Allowed memory size of 33554432 bytes exhausted (tried to allocate 16384 bytes) in /home/thesocialonline/public_html/classes/OssnImage.php on line 177

.

Indonesian Arsalan Shah Replied 7 days ago

If you mean that popup box then that means your server has returned an error for that request which need to be checked more deeply the cause of error. Did you tried to enable error log and actually see what's going on there after that box appears?