News:

Support the VirtueMart project and become a member

Main Menu

Front end product on J4 view PDF Link don't work

Started by Darko F., October 08, 2022, 11:12:23 AM

Previous topic - Next topic

Darko F.

Virtuemart version: com_virtuemart.4.0.7.10718_package_or_extract.zip
Joomal 4 version: Joomla! 4.2.3 Stable

If you click on icon PDF on  Front end product J4 view PDF  you get these error.


TypeError

Cannot access offset of type string on string

in /home/xxxx/domains/my-site/private_html/libraries/src/Document/HtmlDocument.php (line 592)


$options['type'] = $args[1];           
$options['name'] = $args[2] ?? null;           
$options['title'] = $args[3] ?? null;       

}       
parent::$_buffer[$options['type']][$options['name']][$options['title']] = $content;        return $this;   


}   
/**



HtmlDocument->setBuffer()
in /home/xxxx/domains/my-site/private_html/libraries/src/Document/HtmlDocument.php (line 565)
HtmlDocument->getBuffer()
in /home/xxxx/domains/my-site/private_html/libraries/src/Document/HtmlDocument.php (line 848)
HtmlDocument->_renderTemplate()
in /home/xxxx/domains/my-site/private_html/libraries/src/Document/HtmlDocument.php (line 633)
HtmlDocument->render()
in /home/xxxx/domains/my-site/private_html/libraries/src/Document/ErrorDocument.php (line 139)
ErrorDocument->render()
in /home/xxxx/domains/my-site/private_html/libraries/src/Error/Renderer/HtmlRenderer.php (line 78)
HtmlRenderer->render()
in /home/xxxx/domains/my-site/private_html/libraries/src/Exception/ExceptionHandler.php (line 121)
ExceptionHandler::render()
in /home/xxxx/domains/my-site/private_html/libraries/src/Exception/ExceptionHandler.php (line 72)
ExceptionHandler::handleException()
in /home/xxxx/domains/my-site/private_html/libraries/src/Application/CMSApplication.php (line 323)
CMSApplication->execute()
in /home/xxxx/domains/my-site/private_html/includes/app.php (line 61)
require_once('/home/xxxx/domains/my-site/private_html/includes/app.php')
in /home/xxxx/domains/my-site/private_html/index.php (line 32)
Error
Class "JResponse" not found
There in no problem if you fall. Problem is if you don't get up