Hallo,
Not sure if this is actually caused by an EasyMedia issue, but it occurred while trying to access an Album
ISSUE: Receive a Fatal Error and the Site is not loading. However I can still access the ACP (from a Tab that I already had open)
NOTE: Just updated the system to the WSC 6.04
Code
What happened?
An error has occurred while trying to handle your request and execution has been terminated. Please forward the above error code to the site administrator.
System Information
PHP Version:
8.2.13
WoltLab Suite Core:
6.0.4
Peak Memory Usage:
37.171/256 MiB
Request URI:
GET /
Referrer:
https://*******.com/easymedia/
User Agent:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0
Alles anzeigen
PHP
Error
Error Message:
Undefined array key "width"
Error Type:
wcf\system\exception\ErrorException
*/lib/system/WCF.class.php:368
Template Context:
$this->v['tpl']['template'] = 'mediaBBCodeTag';
?>
<?php if ( ! isset($this->v['removeLinks'])) { ?><?php $this->assign('removeLinks', false); ?><?php } ?>
<?php if ($this->v['float'] === 'center') { ?><p class="text-center"><?php } ?>
====> <span class="mediaBBCode<?php if ($this->v['float'] != 'none') { ?> messageFloatObject<?=wcf\util\StringUtil::encodeHTML(ucfirst($this->v['float']));?><?php } ?>"<?php if ($this->v['width'] !== 'auto') { ?> style="width: <?=wcf\util\StringUtil::encodeHTML($this->v['width']);?>px; display: inline-flex"<?php } ?>>
<?php if ($this->v['media']->isImage) { ?>
<?php if ($this->v['thumbnailSize'] != 'original') { ?>
<?php if ( ! $this->v['removeLinks']) { ?>
<a href="<?=wcf\util\StringUtil::encodeHTML($this->v['mediaLink']);?>" class="embeddedAttachmentLink jsImageViewer">
<?php } ?>
<img src="<?=wcf\util\StringUtil::encodeHTML($this->v['thumbnailLink']);?>" alt="<?=wcf\util\StringUtil::encodeHTML($this->v['media']->altText);?>" title="<?=wcf\util\StringUtil::encodeHTML($this->v['media']->title);?>" width="<?=$this->v['media']->getThumbnailWidth($this->v['thumbnailSize']);?>" height="<?=$this->v['media']->getThumbnailHeight($this->v['thumbnailSize']);?>" loading="lazy">
Alles anzeigen
Code
Stack Trace
#0 wcf\system\WCF::handleError(2, 'Undefined array key "width"', '*/templates/compiled/2_wcf_2_mediaBBCodeTag.php', 13)
*/templates/compiled/2_wcf_2_mediaBBCodeTag.php:13
#1 include('*/templates/compiled/2_wcf_2_mediaBBCodeTag.php')
*/lib/system/template/TemplateEngine.class.php:340
#2 wcf\system\template\TemplateEngine->display('mediaBBCodeTag', 'wcf', false)
*/lib/system/template/TemplateEngine.class.php:581
#3 wcf\system\template\TemplateEngine->fetch('mediaBBCodeTag', 'wcf', [ mediaLink => , removeLinks => , float => , media => ])
*/lib/system/bbcode/WoltLabSuiteMediaBBCode.class.php:78
#4 wcf\system\bbcode\WoltLabSuiteMediaBBCode->getParsedTag([ attributes => , name => ], '<!-- META_CODE_INNER_CONTENT -->', [ name => , __parents => ], wcf\system\bbcode\HtmlBBCodeParser)
*/lib/system/bbcode/HtmlBBCodeParser.class.php:337
#5 wcf\system\bbcode\HtmlBBCodeParser->getHtmlOutput('wsm', [ 0 => ], DOMElement)
*/lib/system/html/output/node/HtmlOutputNodeWoltlabMetacode.class.php:52
#6 wcf\system\html\output\node\HtmlOutputNodeWoltlabMetacode->replaceTag([ name => , attributes => , element => ])
*/lib/system/html/node/AbstractHtmlNodeProcessor.class.php:120
#7 wcf\system\html\node\AbstractHtmlNodeProcessor::wcf\system\html\node\{closure}('[error_during_sanitization]')
[internal function]:?
#8 preg_replace_callback('~<wcfNode-3de2c8e937bf2c6f411a4f229cb5b671>(?P<content>[\\s\\S]*)</wcfNode-3de2c8e937bf2c6f411a4f229cb5b671>~', Closure, '<p>"Pt C Sharo is a SHE"</p><p>Yup 💯% <img src="https://*******.com/images/smilies/emojione/1f606.png" alt=":D" title="biggrin" class="smiley" srcset="https://*******.com/images/smilies/emojione/1f606@2x.png 2x" height="23" width="23" loading="eager" translate="no"></p><wcfNode-3de2c8e937bf2c6f411a4f229cb5b671></wcfNode-3de2c8e937bf2c6f411a4f229cb5b671><p>why do certain types of media attachments like videos in a post are not visible except if you do a preview or only after it is subbmitted</p>')
*/lib/system/html/node/AbstractHtmlNodeProcessor.class.php:115
#9 wcf\system\html\node\AbstractHtmlNodeProcessor->getHtml()
*/lib/system/html/output/node/HtmlOutputNodeProcessor.class.php:183
#10 wcf\system\html\output\node\HtmlOutputNodeProcessor->getHtml()
*/lib/system/html/output/HtmlOutputProcessor.class.php:103
#11 wcf\system\html\output\HtmlOutputProcessor->getHtml()
*/lib/data/comment/Comment.class.php:85
#12 wcf\data\comment\Comment->getFormattedMessage()
*/lib/data/DatabaseObjectDecorator.class.php:95
#13 wcf\data\DatabaseObjectDecorator->__call('getFormattedMessage', [ ])
*/templates/compiled/2_timeline_2_boxTimelineActivity.php:1269
#14 include('*/templates/compiled/2_timeline_2_boxTimelineActivity.php')
*/lib/system/template/TemplateEngine.class.php:340
#15 wcf\system\template\TemplateEngine->display('boxTimelineActivity', 'timeline', false)
*/lib/system/template/TemplateEngine.class.php:581
#16 wcf\system\template\TemplateEngine->fetch('boxTimelineActivity', 'timeline', [ 11 items ], true)
*/timeline/lib/system/box/TimelineActivityBoxController.class.php:105
#17 timeline\system\box\TimelineActivityBoxController->getTemplate()
*/lib/system/box/AbstractDatabaseObjectListBoxController.class.php:339
#18 wcf\system\box\AbstractDatabaseObjectListBoxController->loadContent()
*/lib/system/box/AbstractDatabaseObjectListBoxController.class.php:303
#19 wcf\system\box\AbstractDatabaseObjectListBoxController->hasContent()
*/timeline/lib/system/box/TimelineActivityBoxController.class.php:215
#20 timeline\system\box\TimelineActivityBoxController->hasContent()
*/lib/data/box/Box.class.php:332
#21 wcf\data\box\Box->hasContent()
*/lib/data/box/Box.class.php:313
#22 wcf\data\box\Box->render()
*/templates/compiled/2_wcf_2_cms.php:2564
#23 include('*/templates/compiled/2_wcf_2_cms.php')
*/lib/system/template/TemplateEngine.class.php:340
#24 wcf\system\template\TemplateEngine->display('cms', 'wcf')
*/lib/page/AbstractPage.class.php:386
#25 wcf\page\AbstractPage->show()
*/lib/page/AbstractPage.class.php:134
#26 wcf\page\AbstractPage->__run()
*/lib/system/request/Request.class.php:57
Alles anzeigen
Any guidance on how to fix this would be greatly appreciated.
Greetz,
DS