Hi Opencart support,
we have the bug related with the imagecreatefromjpeg function. It occurs randomly on some links, i.e.
https://www.new2.cleverkids.ie/index.ph ... ct_id=1800 and showing the message
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 45056 bytes) in /home/new2cleverkids/public_html/system/library/image.php on line 47
the line 47 is $this->image = imagecreatefromjpeg($file); we use php 7.3.
We have increased php_memory limit as fast as possible but it did not help. It occurs with Plaza and Journal theme and dont related with them.
With Regards,
Andrei.
Try disabling you extensions and modifications one by one, until you eliminate them as being the problem.
1600 x 1600 x 3 = 7,680,000 bytes. Which is a lot less than the 134,217,728 bytes (128M) you have memory_limit set to. Which suggest the memory is being used else where and the image is just the item pushing it over the limit. Have you tried a smaller image anyway or setting memory_limit higher than 128M (use phpinfo() to check the change).
Who is online
Users browsing this forum: No registered users and 230 guests