We have problem in VirtueMart that category and product detail page not working.
After removed some lines from below file, both page works well.
File Name : libraries/joomla/document/renderer/html/head.php
Error details : Argument 1 passed to Joomla\Utilities\ArrayHelper::toString() must be of the type array, string given, called in /var/www/clients/client1/web35/web/libraries/joomla/document/renderer/html/head.php on line 119
Line no 115 to 120
// Generate link declarations
foreach ($document->_links as $link => $linkAtrr)
{
$buffer .= $tab . '<link href="' . $link . '" ' . $linkAtrr['relType'] . '="' . $linkAtrr['relation'] . '"';
if ($temp = ArrayHelper::toString($linkAtrr['attribs']))
{
$buffer .= ' ' . $temp;
}
$buffer .= ' />' . $lnEnd;
}
Title |
|
i think is the same issue described in #8968
If so, it's already resolved in latest staging.
https://github.com/joomla/joomla-cms/blob/staging/libraries/joomla/document/renderer/html/head.php
Yup that fixed it, thanks
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2016-02-12 10:20:11 |
Closed_By | ⇒ | joomlaproffs |
Labels |
Added:
?
|
To add to this is that we are running a server Nginx, PHP 7.0.3 and MariaDB.