Quantcast
Channel: Joomla! Forum - community, help and support
Viewing all articles
Browse latest Browse all 2569

General Questions/New to Joomla! 3.x • Re: Trying to upgrade PHP

$
0
0
I rolled back to a server snapshot from before the upgrade, removed K2, and re-ran the upgrade to 4.0.0.

The admin area now works fine, but the front end is giving 500 errors again.

Code:

behavior::caption not found....\libraries\src\HTML\HTMLHelper.php:149144 145 $toCall = array($service, $func);146 147 if (!\is_callable($toCall))148 {149 throw new \InvalidArgumentException(sprintf('%s::%s not found.', $file, $func), 500);150 }151 152 static::register($key, $toCall);153 154 return static::call($toCall, $methodArgs);

Code:

Joomla\CMS\HTML\HTMLHelper::_()...\templates\aafes\html\com_content\featured\default.php:1510 // no direct access11 defined('_JEXEC') or die;12 13 JHtml::addIncludePath(JPATH_COMPONENT . '/helpers');14 15 JHtml::_('behavior.caption');16 17 // If the page class is defined, add to class as suffix.18 // It will be a separate class if the user starts it with a space19 ?>20 <div class="blog-featured<?php echo $this->pageclass_sfx;?>">Argumentskeystring(22) "jhtml.behavior.caption"

Code:

include()...\libraries\src\MVC\View\HtmlView.php:429424 // Start capturing output into a buffer425 ob_start();426 427 // Include the requested template filename in the local scope428 // (this will execute the view logic).429 include $this->_template;430 431 // Done with the requested template; get the buffer and432 // clear it.433 $this->_output = ob_get_contents();434 ob_end_clean();Arguments0string(64) "D:\webRoot\templates\aafes\html\com_content\featured\default.php"

Code:

Joomla\CMS\MVC\View\HtmlView->loadTemplate()...\libraries\src\MVC\View\HtmlView.php:218213 'extension'  => $context214 ]215 )216 );217 218 $result = $this->loadTemplate($tpl);219 220 $eventResult = $app->getDispatcher()->dispatch(221 'onAfterDisplay',222 AbstractEvent::create(223 'onAfterDisplay',

Statistics: Posted by ross_thompson — Wed Feb 28, 2024 4:01 pm



Viewing all articles
Browse latest Browse all 2569

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>