thumbnail url and filename issue???

0xym0r0n

Well-known member
I signed on to my site today and see the following errors that were not there before. I have not done any updates and my staff have no power to do this either.

Template Errors: thread_view

Code:
    Illegal string offset 'thumbnailUrl' in /home/sitename/public_html/library/XenForo/Template/Abstract.php(265) : eval()'d code, line 2062:
 
    2061: <li id="' . (($__compilerVar73) ? ('AttachedFileTemplate') : ('attachment' . htmlspecialchars($__compilerVar74['attachment_id']))) . '"
    2062:    class="AttachedFile ' . (($__compilerVar74['thumbnailUrl']) ? ('AttachedImage') : ('')) . ' secondaryContent">
    2063:
 
    Illegal string offset 'thumbnailUrl' in /home/sitename/public_html/library/XenForo/Template/Abstract.php(265) : eval()'d code, line 2066:
 
    2065:        ';
    2066: if ($__compilerVar74['thumbnailUrl'])
    2067: {
 
    Illegal string offset 'filename' in /home/sitename/public_html/library/XenForo/Template/Abstract.php(265) : eval()'d code, line 2081:
 
    2080: $__compilerVar75 .= '
    2081:            <!--<img src="' . XenForo_Template_Helper_Core::styleProperty('imagePath') . '/xenforo/widgets/page.png" alt="' . htmlspecialchars($__compilerVar74['filename']) . '" />-->
    2082:            <span class="genericAttachment"></span>
 
    Illegal string offset 'filename' in /home/sitename/public_html/library/XenForo/Template/Abstract.php(265) : eval()'d code, line 2089:
 
    2088:    <div class="AttachmentText">
    2089:        <div class="Filename"><a href="' . XenForo_Template_Helper_Core::link('attachments', $__compilerVar74, array()) . '" target="_blank">' . htmlspecialchars($__compilerVar74['filename']) . '</a></div>
    2090:

Template Errors: EWRporta_ArticleView
Code:
    Illegal string offset 'thumbnailUrl' in /home/sitename/public_html/library/XenForo/Template/Abstract.php(265) : eval()'d code, line 2450:
 
    2449: <li id="' . (($__compilerVar86) ? ('AttachedFileTemplate') : ('attachment' . htmlspecialchars($__compilerVar87['attachment_id']))) . '"
    2450:    class="AttachedFile ' . (($__compilerVar87['thumbnailUrl']) ? ('AttachedImage') : ('')) . ' secondaryContent">
    2451:
 
    Illegal string offset 'thumbnailUrl' in /home/sitename/public_html/library/XenForo/Template/Abstract.php(265) : eval()'d code, line 2454:
 
    2453:        ';
    2454: if ($__compilerVar87['thumbnailUrl'])
    2455: {
 
    Illegal string offset 'filename' in /home/sitename/public_html/library/XenForo/Template/Abstract.php(265) : eval()'d code, line 2469:
 
    2468: $__compilerVar88 .= '
    2469:            <!--<img src="' . XenForo_Template_Helper_Core::styleProperty('imagePath') . '/xenforo/widgets/page.png" alt="' . htmlspecialchars($__compilerVar87['filename']) . '" />-->
    2470:            <span class="genericAttachment"></span>
 
    Illegal string offset 'filename' in /home/sitename/public_html/library/XenForo/Template/Abstract.php(265) : eval()'d code, line 2477:
 
    2476:    <div class="AttachmentText">
    2477:        <div class="Filename"><a href="' . XenForo_Template_Helper_Core::link('attachments', $__compilerVar87, array()) . '" target="_blank">' . htmlspecialchars($__compilerVar87['filename']) . '</a></div>
    2478:

all my attachments are working... I'm going to revert some files right now but I have no idea how and what happened!!!!
 
Top Bottom