Error in PHP Script
/index.php
PHP Version: 5.6.40-5+ubuntu16.04.1+deb.sury.org+1;  Zend Engine Version: 2.6.0;  Qcodo Version: 0.3.21 (Qcodo Beta 3)
Application: Apache/2.4.18 (Ubuntu);  Server Name: www.baforum.no
HTTP User Agent: Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
imagecreatefromjpeg(): gd-jpeg: JPEG library reports unrecoverable error: Not a JPEG file: starts with 0x42 0x4d
Error Type:   E_WARNING

Rendered Page:   Click here to view contents able to be rendered

Source File:   /home/sites/siteman5/wwwroot/includes/utils/thumbnail.inc.php     Line:   157

Line 152:                switch($this->format) {
Line 153:                    case 'GIF':
Line 154:                        $this->oldImage = ImageCreateFromGif($this->fileName);
Line 155:                        break;
Line 156:                    case 'JPG':
Line 157:                        $this->oldImage = ImageCreateFromJpeg($this->fileName);
Line 158:                        break;
Line 159:                    case 'PNG':
Line 160:                        $this->oldImage = ImageCreateFromPng($this->fileName);
Line 161:                        break;
Line 162:                }

Call Stack:

#0 (): QcodoHandleError()
#1 /home/sites/siteman5/wwwroot/includes/utils/thumbnail.inc.php(157): imagecreatefromjpeg()
#2 /home/sites/mforumcore/custom/mforum/profil.php(898): Thumbnail->__construct()
#3 /home/sites/mforumcore/custom/mforum/maler/mk_kundeprofil.tpl.php(12): MProfilFrontend::LagLogoThumb()
#4 /home/sites/mforumcore/custom/mforum/profil.php(389): include()
#5 /home/sites/mforumcore/custom/mforum/profil.php(36): MProfilFrontend::RenderProfilside()
#6 /home/sites/baforum.no/tilpassning.php(93): MProfilFrontend::MActions()
#7 /home/sites/mforumfelles/controller.php(129): hent_tilpassning()
#8 /home/sites/baforum.no/index.php(199): hent_hovedfelt()

Variable Dump:   Show/Hide



Error Report Generated:  Friday, December 27 2024, 12:08:12 AM