Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 12288 bytes) in /homepages/14/d541952220/htdocs/moorhallhotel2020/vendor/intervention/image/src/Intervention/Image/Gd/Decoder.php on line 136
GET /dine/dining-options/country-kitchen-carvery/

[Alert] Allowed memory size of 268435456 bytes exhausted (tried to allocate 12288 bytes)

GET /dine/dining-options/country-kitchen-carvery/

Line 136 in /homepages/14/d541952220/htdocs/moorhallhotel2020/vendor/intervention/image/src/Intervention/Image/Gd/Decoder.php

Source

127      * @param  resource $resource
128      * @return bool
129      */
130     public function gdResourceToTruecolor(&$resource)
131     {
132         $width = imagesx($resource);
133         $height = imagesy($resource);
134 
135         // new canvas
136         $canvas = imagecreatetruecolor($width, $height);
137 
138         // fill with transparent color
139         imagealphablending($canvas, false);
140         $transparent = imagecolorallocatealpha($canvas, 255, 255, 255, 127);
141         imagefilledrectangle($canvas, 0, 0, $width, $height, $transparent);
142         imagecolortransparent($canvas, $transparent);

Trace