| ( ! ) Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 53248 bytes) in /var/www/html/classes/ImageManager.php on line 616 |
| Call Stack |
| # | Time | Memory | Function | Location |
| 1 | 0.0053 | 363896 | {main}( ) | .../index.php:0 |
| 2 | 0.0884 | 3096856 | DispatcherCore->dispatch( ) | .../index.php:78 |
| 3 | 0.0937 | 3190768 | ControllerCore->run( ) | .../Dispatcher.php:487 |
| 4 | 0.3565 | 6039512 | ProductControllerCore->initContent( ) | .../Controller.php:330 |
| 5 | 0.3598 | 6048640 | ProductControllerCore->assignManufacturer( ) | .../ProductController.php:324 |
| 6 | 0.3646 | 6189776 | PrestaShop\PrestaShop\Adapter\Presenter\AbstractLazyArray->offsetGet( $index = 'image' ) | .../ProductController.php:863 |
| 7 | 0.3646 | 6189776 | PrestaShop\PrestaShop\Adapter\Presenter\Manufacturer\ManufacturerLazyArray->getImage( ) | .../AbstractLazyArray.php:264 |
| 8 | 0.3648 | 6190328 | PrestaShop\PrestaShop\Adapter\Image\ImageRetriever->getImage( $object = class Manufacturer { public $id = 158; protected $id_lang = 2; protected $lang_associated = NULL; protected $id_shop = 1; public $id_shop_list = []; protected $get_shop_from_context = TRUE; protected $table = NULL; protected $identifier = NULL; protected $tables = []; protected $webserviceParameters = ['fields' => [...], 'associations' => [...]]; protected $image_dir = '/var/www/html/img/m/'; protected $image_format = 'jpg'; protected $translator = NULL; protected $def = ['table' => 'manufacturer', 'primary' => 'id_manufacturer', 'multilang' => TRUE, 'fields' => [...], 'classname' => 'Manufacturer', 'associations' => [...]]; protected $update_fields = NULL; public $force_id = FALSE; public $name = 'Inox Baltic'; public $description = ''; public $short_description = ''; public $id_address = NULL; public $date_add = '2020-12-09 16:26:22'; public $date_upd = '2020-12-10 12:31:41'; public $link_rewrite = 'inox-baltic'; public $meta_title = ''; public $meta_description = ''; public $active = 1 }, $id_image = 158 ) | .../ManufacturerLazyArray.php:97 |
| 9 | 0.3673 | 6315864 | PrestaShop\PrestaShop\Adapter\Image\ImageRetriever->checkOrGenerateImageType( $originalImagePath = '/var/www/html/img/m/158.jpg', $imageFolderPath = '/var/www/html/img/m', $idImage = 158, $imageTypeData = ['id_image_type' => 21, 'name' => 'large_default', 'width' => 800, 'height' => 800, 'products' => 1, 'categories' => 0, 'manufacturers' => 1, 'suppliers' => 1, 'stores' => 0, 'theme_name' => 'invertus_style'], $imageFormat = 'jpg' ) | .../ImageRetriever.php:236 |
| 10 | 0.3673 | 6316264 | ImageManagerCore::resize( $sourceFile = '/var/www/html/img/m/158.jpg', $destinationFile = '/var/www/html/img/m/158-large_default.jpg', $destinationWidth = 800, $destinationHeight = 800, $destinationFileType = 'jpg', $forceType = ???, $error = ???, $targetWidth = ???, $targetHeight = ???, $quality = ???, $sourceWidth = ???, $sourceHeight = ??? ) | .../ImageRetriever.php:306 |
| 11 | 0.3767 | 9609496 | ImageManagerCore::create( $type = 3, $filename = '/var/www/html/img/m/158.jpg' ) | .../ImageManager.php:325 |
| 12 | 0.3767 | 9609496 | imagecreatefrompng( $filename = '/var/www/html/img/m/158.jpg' ) | .../ImageManager.php:616 |