Notice (8): Trying to get property 'path' of non-object [APP/Controller/ServicesController.php, line 2001]Code Context $topY = $pdf->GetY();
$img = WWW_ROOT . $news->main_image->path;
$imgHeight = $pdf->printImage($img, 25, 160, 0.66);
$langCode = 'en_US'
$newsId = '1181'
$langId = (int) 2
$data = [
'news_id' => '1181'
]
$newsQuery = object(Cake\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT News.id AS `News__id`, News.old_id AS `News__old_id`, News.lang_es AS `News__lang_es`, News.lang_cat AS `News__lang_cat`, News.color_id AS `News__color_id`, News.news_date AS `News__news_date`, News.show_in_home AS `News__show_in_home`, News.main_image_id AS `News__main_image_id`, News.created_by AS `News__created_by`, News.validated AS `News__validated`, News.validated_by AS `News__validated_by`, News.validated_date AS `News__validated_date`, News.publication_date AS `News__publication_date`, News.off AS `News__off`, News.hide_on_web AS `News__hide_on_web`, News.created AS `News__created`, News.modified AS `News__modified`, NewsText.id AS `NewsText__id`, NewsText.news_id AS `NewsText__news_id`, NewsText.language_id AS `NewsText__language_id`, NewsText.title AS `NewsText__title`, NewsText.review AS `NewsText__review`, NewsText.abstract AS `NewsText__abstract`, NewsText.body AS `NewsText__body`, NewsText.created AS `NewsText__created`, NewsText.modified AS `NewsText__modified`, Colors.id AS `Colors__id`, Colors.hex_color AS `Colors__hex_color`, Colors.description AS `Colors__description`, MainImage.id AS `MainImage__id`, MainImage.news_id AS `MainImage__news_id`, MainImage.path AS `MainImage__path`, MainImage.square_path AS `MainImage__square_path`, MainImage.rect_path AS `MainImage__rect_path`, MainImage.created AS `MainImage__created`, MainImage.modified AS `MainImage__modified` FROM news News LEFT JOIN news_texts NewsText ON (language_id = :c0 AND News.id = (NewsText.news_id)) LEFT JOIN colors Colors ON Colors.id = (News.color_id) LEFT JOIN news_images MainImage ON MainImage.id = (News.main_image_id) WHERE (News.id = :c1 AND News.off = 0) LIMIT 1',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'News__id' => 'integer',
'News.id' => 'integer',
'id' => 'integer',
'News__old_id' => 'integer',
'News.old_id' => 'integer',
'old_id' => 'integer',
'News__lang_es' => 'boolean',
'News.lang_es' => 'boolean',
'lang_es' => 'boolean',
'News__lang_cat' => 'boolean',
'News.lang_cat' => 'boolean',
'lang_cat' => 'boolean',
'News__color_id' => 'integer',
'News.color_id' => 'integer',
'color_id' => 'integer',
'News__news_date' => 'date',
'News.news_date' => 'date',
'news_date' => 'date',
'News__show_in_home' => 'boolean',
'News.show_in_home' => 'boolean',
'show_in_home' => 'boolean',
'News__main_image_id' => 'integer',
'News.main_image_id' => 'integer',
'main_image_id' => 'integer',
'News__created_by' => 'integer',
'News.created_by' => 'integer',
'created_by' => 'integer',
'News__validated' => 'boolean',
'News.validated' => 'boolean',
'validated' => 'boolean',
'News__validated_by' => 'integer',
'News.validated_by' => 'integer',
'validated_by' => 'integer',
'News__validated_date' => 'datetime',
'News.validated_date' => 'datetime',
'validated_date' => 'datetime',
'News__publication_date' => 'datetime',
'News.publication_date' => 'datetime',
'publication_date' => 'datetime',
'News__off' => 'boolean',
'News.off' => 'boolean',
'off' => 'boolean',
'News__hide_on_web' => 'boolean',
'News.hide_on_web' => 'boolean',
'hide_on_web' => 'boolean',
'News__created' => 'datetime',
'News.created' => 'datetime',
'created' => 'datetime',
'News__modified' => 'datetime',
'News.modified' => 'datetime',
'modified' => 'datetime',
'NewsText__id' => 'integer',
'NewsText.id' => 'integer',
'NewsText__news_id' => 'integer',
'NewsText.news_id' => 'integer',
'news_id' => 'integer',
'NewsText__language_id' => 'integer',
'NewsText.language_id' => 'integer',
'language_id' => 'integer',
'NewsText__title' => 'string',
'NewsText.title' => 'string',
'title' => 'string',
'NewsText__review' => 'text',
'NewsText.review' => 'text',
'review' => 'text',
'NewsText__abstract' => 'text',
'NewsText.abstract' => 'text',
'abstract' => 'text',
'NewsText__body' => 'text',
'NewsText.body' => 'text',
'body' => 'text',
'NewsText__created' => 'datetime',
'NewsText.created' => 'datetime',
'NewsText__modified' => 'datetime',
'NewsText.modified' => 'datetime',
'Colors__id' => 'integer',
'Colors.id' => 'integer',
'Colors__hex_color' => 'string',
'Colors.hex_color' => 'string',
'hex_color' => 'string',
'Colors__description' => 'string',
'Colors.description' => 'string',
'description' => 'string',
'NewsDocuments__id' => 'integer',
'NewsDocuments.id' => 'integer',
'NewsDocuments__news_id' => 'integer',
'NewsDocuments.news_id' => 'integer',
'NewsDocuments__path' => 'string',
'NewsDocuments.path' => 'string',
'path' => 'string',
'NewsDocuments__created' => 'datetime',
'NewsDocuments.created' => 'datetime',
'NewsDocuments__modified' => 'datetime',
'NewsDocuments.modified' => 'datetime',
'NewsDocumentTexts__id' => 'integer',
'NewsDocumentTexts.id' => 'integer',
'NewsDocumentTexts__news_document_id' => 'integer',
'NewsDocumentTexts.news_document_id' => 'integer',
'news_document_id' => 'integer',
'NewsDocumentTexts__language_id' => 'integer',
'NewsDocumentTexts.language_id' => 'integer',
'NewsDocumentTexts__description' => 'string',
'NewsDocumentTexts.description' => 'string',
'NewsDocumentTexts__created' => 'datetime',
'NewsDocumentTexts.created' => 'datetime',
'NewsDocumentTexts__modified' => 'datetime',
'NewsDocumentTexts.modified' => 'datetime',
'NewsImages__id' => 'integer',
'NewsImages.id' => 'integer',
'NewsImages__news_id' => 'integer',
'NewsImages.news_id' => 'integer',
'NewsImages__path' => 'string',
'NewsImages.path' => 'string',
'NewsImages__square_path' => 'string',
'NewsImages.square_path' => 'string',
'square_path' => 'string',
'NewsImages__rect_path' => 'string',
'NewsImages.rect_path' => 'string',
'rect_path' => 'string',
'NewsImages__created' => 'datetime',
'NewsImages.created' => 'datetime',
'NewsImages__modified' => 'datetime',
'NewsImages.modified' => 'datetime',
'NewsImageTexts__id' => 'integer',
'NewsImageTexts.id' => 'integer',
'NewsImageTexts__news_image_id' => 'integer',
'NewsImageTexts.news_image_id' => 'integer',
'news_image_id' => 'integer',
'NewsImageTexts__language_id' => 'integer',
'NewsImageTexts.language_id' => 'integer',
'NewsImageTexts__title' => 'string',
'NewsImageTexts.title' => 'string',
'NewsImageTexts__description' => 'string',
'NewsImageTexts.description' => 'string',
'NewsImageTexts__created' => 'datetime',
'NewsImageTexts.created' => 'datetime',
'NewsImageTexts__modified' => 'datetime',
'NewsImageTexts.modified' => 'datetime',
'MainImage__id' => 'integer',
'MainImage.id' => 'integer',
'MainImage__news_id' => 'integer',
'MainImage.news_id' => 'integer',
'MainImage__path' => 'string',
'MainImage.path' => 'string',
'MainImage__square_path' => 'string',
'MainImage.square_path' => 'string',
'MainImage__rect_path' => 'string',
'MainImage.rect_path' => 'string',
'MainImage__created' => 'datetime',
'MainImage.created' => 'datetime',
'MainImage__modified' => 'datetime',
'MainImage.modified' => 'datetime',
'NewsCommonLinks__id' => 'integer',
'NewsCommonLinks.id' => 'integer',
'NewsCommonLinks__news_id' => 'integer',
'NewsCommonLinks.news_id' => 'integer',
'NewsCommonLinks__type' => 'string',
'NewsCommonLinks.type' => 'string',
'type' => 'string',
'NewsCommonLinks__url' => 'string',
'NewsCommonLinks.url' => 'string',
'url' => 'string',
'NewsCommonLinks__image_path' => 'string',
'NewsCommonLinks.image_path' => 'string',
'image_path' => 'string',
'NewsCommonLinks__created' => 'datetime',
'NewsCommonLinks.created' => 'datetime',
'NewsCommonLinks__modified' => 'datetime',
'NewsCommonLinks.modified' => 'datetime',
'NewsLinkTexts__id' => 'integer',
'NewsLinkTexts.id' => 'integer',
'NewsLinkTexts__news_link_id' => 'integer',
'NewsLinkTexts.news_link_id' => 'integer',
'news_link_id' => 'integer',
'NewsLinkTexts__language_id' => 'integer',
'NewsLinkTexts.language_id' => 'integer',
'NewsLinkTexts__description' => 'string',
'NewsLinkTexts.description' => 'string',
'NewsLinkTexts__created' => 'datetime',
'NewsLinkTexts.created' => 'datetime',
'NewsLinkTexts__modified' => 'datetime',
'NewsLinkTexts.modified' => 'datetime',
'NewsVideos__id' => 'integer',
'NewsVideos.id' => 'integer',
'NewsVideos__news_id' => 'integer',
'NewsVideos.news_id' => 'integer',
'NewsVideos__type' => 'string',
'NewsVideos.type' => 'string',
'NewsVideos__url' => 'string',
'NewsVideos.url' => 'string',
'NewsVideos__image_path' => 'string',
'NewsVideos.image_path' => 'string',
'NewsVideos__created' => 'datetime',
'NewsVideos.created' => 'datetime',
'NewsVideos__modified' => 'datetime',
'NewsVideos.modified' => 'datetime'
],
'decorators' => (int) 0,
'executed' => true,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 0,
'mapReducers' => (int) 0,
'contain' => [
'NewsText' => [[maximum depth reached]],
'Colors' => [[maximum depth reached]],
'NewsDocuments' => [
[maximum depth reached]
],
'NewsImages' => [
[maximum depth reached]
],
'MainImage' => [
[maximum depth reached]
],
'NewsCommonLinks' => [
[maximum depth reached]
],
'NewsVideos' => [
[maximum depth reached]
]
],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\NewsTable) {}
}
$news = object(Cake\ORM\Entity) {
'id' => (int) 1181,
'old_id' => (int) 3376,
'lang_es' => false,
'lang_cat' => false,
'color_id' => null,
'news_date' => object(Cake\I18n\FrozenDate) {},
'show_in_home' => false,
'main_image_id' => null,
'created_by' => null,
'validated' => true,
'validated_by' => null,
'validated_date' => null,
'publication_date' => null,
'off' => false,
'hide_on_web' => false,
'created' => object(Cake\I18n\FrozenTime) {},
'modified' => object(Cake\I18n\FrozenTime) {},
'news_videos' => [],
'news_common_links' => [
(int) 0 => object(Cake\ORM\Entity) {},
(int) 1 => object(Cake\ORM\Entity) {}
],
'main_image' => null,
'news_images' => [],
'news_documents' => [],
'color' => null,
'news_text' => object(Cake\ORM\Entity) {},
'[new]' => false,
'[accessible]' => [
'*' => true
],
'[dirty]' => [],
'[original]' => [],
'[virtual]' => [],
'[hasErrors]' => false,
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'News'
}
$pdf = object(App\Utility\IxolePDF) {
B => null
I => null
U => null
HREF => null
angle => (int) 0
tmpFiles => []
[protected] page => (int) 1
[protected] n => (int) 2
[protected] offsets => null
[protected] buffer => ''
[protected] pages => [
(int) 1 => '2 J
0.57 w
BT /F4 18.00 Tf ET
BT /F1 11.00 Tf ET
0.702 0.702 0.702 RG
q 85.04 0 0 28.68 70.87 756.52 cm /I1 Do Q
70.87 745.51 m 524.41 745.51 l S
0 G
'
]
[protected] state => (int) 2
[protected] compress => true
[protected] iconv => true
[protected] k => (float) 2.8346456692913
[protected] DefOrientation => 'P'
[protected] CurOrientation => 'P'
[protected] StdPageSizes => [
'a3' => [
[maximum depth reached]
],
'a4' => [
[maximum depth reached]
],
'a5' => [
[maximum depth reached]
],
'letter' => [
[maximum depth reached]
],
'legal' => [
[maximum depth reached]
]
]
[protected] DefPageSize => [
(int) 0 => (float) 210.00155555556,
(int) 1 => (float) 297.00008333333
]
[protected] CurPageSize => [
(int) 0 => (float) 210.00155555556,
(int) 1 => (float) 297.00008333333
]
[protected] CurRotation => (int) 0
[protected] PageInfo => []
[protected] wPt => (float) 595.28
[protected] hPt => (float) 841.89
[protected] w => (float) 210.00155555556
[protected] h => (float) 297.00008333333
[protected] lMargin => (int) 25
[protected] tMargin => (int) 20
[protected] rMargin => (int) 25
[protected] bMargin => (float) 20.0025
[protected] cMargin => (float) 1.000125
[protected] x => (int) 25
[protected] y => (int) 42
[protected] lasth => (int) 2
[protected] LineWidth => (float) 0.200025
[protected] fontpath => '/var/www/clients/client1/web2/web/webroot/fpdf-fonts/'
[protected] CoreFonts => [
(int) 0 => 'courier',
(int) 1 => 'helvetica',
(int) 2 => 'times',
(int) 3 => 'symbol',
(int) 4 => 'zapfdingbats'
]
[protected] fonts => [
'graphikregular' => [
[maximum depth reached]
],
'graphikregularI' => [
[maximum depth reached]
],
'helvetica' => [
[maximum depth reached]
],
'graphikregularB' => [
[maximum depth reached]
]
]
[protected] FontFiles => [
'graphik-regular.z' => [
[maximum depth reached]
],
'graphik-regular-italic.z' => [
[maximum depth reached]
],
'graphik-medium.z' => [
[maximum depth reached]
]
]
[protected] encodings => []
[protected] cmaps => []
[protected] FontFamily => 'graphikregular'
[protected] FontStyle => ''
[protected] underline => false
[protected] CurrentFont => [
'font' => 'graphik-regular.php',
'name' => '.',
'enc' => 'cp1252',
'subsetted' => true,
'type' => 'TrueType',
'desc' => [
[maximum depth reached]
],
'up' => (int) -75,
'ut' => (int) 50,
'cw' => [
[maximum depth reached]
],
'uv' => [
[maximum depth reached]
],
'file' => 'graphik-regular.z',
'originalsize' => (int) 25528,
'i' => (int) 1
]
[protected] FontSizePt => (int) 11
[protected] FontSize => (float) 3.8805555555556
[protected] DrawColor => '0 G'
[protected] FillColor => '0 g'
[protected] TextColor => '0 g'
[protected] ColorFlag => false
[protected] WithAlpha => false
[protected] ws => (int) 0
[protected] images => [
'/var/www/clients/client1/web2/web/webroot//files/project/logo.png' => [
[maximum depth reached]
]
]
[protected] PageLinks => [
(int) 1 => [[maximum depth reached]]
]
[protected] links => []
[protected] AutoPageBreak => true
[protected] PageBreakTrigger => (float) 276.99758333333
[protected] InHeader => false
[protected] InFooter => false
[protected] AliasNbPages => '{nb}'
[protected] ZoomMode => 'default'
[protected] LayoutMode => 'default'
[protected] metadata => [
'Producer' => 'FPDF 1.85'
]
[protected] CreationDate => null
[protected] PDFVersion => '1.3'
}
$topY = (int) 42App\Controller\ServicesController::getNewsPdf() - APP/Controller/ServicesController.php, line 2001
Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 606
Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 120
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 256
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 164
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\AssetMiddleware::__invoke() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 88
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Error\Middleware\ErrorHandlerMiddleware::__invoke() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 100
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Http\Runner::run() - CORE/src/Http/Runner.php, line 51
Cake\Http\Server::run() - CORE/src/Http/Server.php, line 97
[main] - ROOT/webroot/index.php, line 37
Notice (8): getimagesize() [<a href='https://secure.php.net/function.getimagesize'>function.getimagesize</a>]: read of 8192 bytes failed with errno=21 Is a directory [APP/Utility/IxolePDF.php, line 425]Code Context // The getimagesize functions provides an "imagetype" string contstant, which can be passed to the image_type_to_mime_type function for the corresponding mime type
$info = getimagesize($source_image);
$imgtype = image_type_to_mime_type($info[2]);
$source_image = '/var/www/clients/client1/web2/web/webroot/'
$destination = '/var/www/clients/client1/web2/web/tmp/img_tmp_69d5a81384c03.jpg'
$tn_w = (int) 600
$tn_h = (float) 396
$quality = (int) 80
getimagesize - [internal], line ??
App\Utility\IxolePDF::resizeImageAspectRatio() - APP/Utility/IxolePDF.php, line 425
App\Utility\IxolePDF::printImage() - APP/Utility/IxolePDF.php, line 415
App\Controller\ServicesController::getNewsPdf() - APP/Controller/ServicesController.php, line 2002
Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 606
Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 120
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 256
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 164
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\AssetMiddleware::__invoke() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 88
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Error\Middleware\ErrorHandlerMiddleware::__invoke() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 100
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Http\Runner::run() - CORE/src/Http/Runner.php, line 51
Cake\Http\Server::run() - CORE/src/Http/Server.php, line 97
Notice (8): getimagesize() [<a href='https://secure.php.net/function.getimagesize'>function.getimagesize</a>]: Read error! [APP/Utility/IxolePDF.php, line 425]Code Context // The getimagesize functions provides an "imagetype" string contstant, which can be passed to the image_type_to_mime_type function for the corresponding mime type
$info = getimagesize($source_image);
$imgtype = image_type_to_mime_type($info[2]);
$source_image = '/var/www/clients/client1/web2/web/webroot/'
$destination = '/var/www/clients/client1/web2/web/tmp/img_tmp_69d5a81384c03.jpg'
$tn_w = (int) 600
$tn_h = (float) 396
$quality = (int) 80
getimagesize - [internal], line ??
App\Utility\IxolePDF::resizeImageAspectRatio() - APP/Utility/IxolePDF.php, line 425
App\Utility\IxolePDF::printImage() - APP/Utility/IxolePDF.php, line 415
App\Controller\ServicesController::getNewsPdf() - APP/Controller/ServicesController.php, line 2002
Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 606
Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 120
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 256
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 164
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\AssetMiddleware::__invoke() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 88
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Error\Middleware\ErrorHandlerMiddleware::__invoke() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 100
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Http\Runner::run() - CORE/src/Http/Runner.php, line 51
Cake\Http\Server::run() - CORE/src/Http/Server.php, line 97
Notice (8): Trying to access array offset on value of type bool [APP/Utility/IxolePDF.php, line 426]Code Context $info = getimagesize($source_image);
$imgtype = image_type_to_mime_type($info[2]);
// Then the mime type can be used to call the correct function to generate an image resource from the provided image
$source_image = '/var/www/clients/client1/web2/web/webroot/'
$destination = '/var/www/clients/client1/web2/web/tmp/img_tmp_69d5a81384c03.jpg'
$tn_w = (int) 600
$tn_h = (float) 396
$quality = (int) 80
$info = false
App\Utility\IxolePDF::resizeImageAspectRatio() - APP/Utility/IxolePDF.php, line 426
App\Utility\IxolePDF::printImage() - APP/Utility/IxolePDF.php, line 415
App\Controller\ServicesController::getNewsPdf() - APP/Controller/ServicesController.php, line 2002
Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 606
Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 120
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 256
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 164
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\AssetMiddleware::__invoke() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 88
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Error\Middleware\ErrorHandlerMiddleware::__invoke() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 100
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Http\Runner::run() - CORE/src/Http/Runner.php, line 51
Cake\Http\Server::run() - CORE/src/Http/Server.php, line 97
[main] - ROOT/webroot/index.php, line 37
Invalid image type: application/octet-stream