News:

Support the VirtueMart project and become a member

Main Menu

Errors after upgrading to version VirtueMart 3.2.12

Started by Stasweb, January 17, 2018, 06:48:10 AM

Previous topic - Next topic

Stasweb

An error often appears in the logs (View not found). You can also see this error by calling 404 th _https: //lik-astana.kz/imidzhevaya-produktsiya.html25_.
I believe that in the logs this error is somehow connected with the answer 404. Tell me who faced this problem.

There are also such warnings in the logs:

mod_fcgid: stderr: PHP Fatal error: Uncaught Exception: \xd0\x9f\xd1\x80\xd0\xb5\xd0\xb4\xd1\x81\xd1\x82\xd0\xb0\xd0\xb2\xd0\xbb\xd0\xb5\xd0\xbd\xd0\xb8\xd0\xb5 \xd0\xbd\xd0\xb5 \xd0\xbd\xd0\xb0\xd0\xb9\xd0\xb4\xd0\xb5\xd0\xbd\xd0\xbe [name, type, prefix]: category, gif, virtuemartView in /var/www/vhosts/lik-astana.kz/httpdocs/libraries/src/MVC/Controller/BaseController.php:847, referer: https://lik-astana.kz/bagetnaya-masterskaya/izgotovlenie-ram-dlya-kartin-detail.html
mod_fcgid: stderr: #2 /var/www/vhosts/lik-astana.kz/httpdocs/components/com_virtuemart/virtuemart.php(126): Joomla\\CMS\\MVC\\Controller\\BaseController->execute('')
mod_fcgid: stderr: #3 /var/www/vhosts/lik-astana.kz/httpdocs/libraries/src/Component/ComponentHelper.php(381): require_once('/var/www/vhosts...')
mod_fcgid: stderr: #4 /var/www/vhosts/lik-astana.kz/httpdocs/libraries/src/Component/ComponentHelper.php(356): Joomla\\CMS\\Component\\ComponentHelper::executeComponent('/var/www/vhosts...')
mod_fcgid: stderr: PHP Fatal error: Uncaught Exception: \xd0\x9f\xd1\x80\xd0\xb5\xd0\xb4\xd1\x81\xd1\x82\xd0\xb0\xd0\xb2\xd0\xbb\xd0\xb5\xd0\xbd\xd0\xb8\xd0\xb5 \xd0\xbd\xd0\xb5 \xd0\xbd\xd0\xb0\xd0\xb9\xd0\xb4\xd0\xb5\xd0\xbd\xd0\xbe [name, type, prefix]: category, php, virtuemartView in /var/www/vhosts/lik-astana.kz/httpdocs/libraries/src/MVC/Controller/BaseController.php:847


The error itself looks like this

Fatal error: Uncaught Exception: ПреSPAMставление не найSPAMено [name, type, prefix]: category, html21, virtuemartView in /var/www/vhosts/lik-astana.kz/httpdocs/libraries/src/MVC/Controller/BaseController.php:847 Stack trace:
#0 /var/www/vhosts/lik-astana.kz/httpdocs/components/com_virtuemart/controllers/category.php(51): Joomla\CMS\MVC\Controller\BaseController->getView('category', 'html21', 'virtuemartView', Array)
#1 /var/www/vhosts/lik-astana.kz/httpdocs/libraries/src/MVC/Controller/BaseController.php(710): VirtueMartControllerCategory->display()
#2 /var/www/vhosts/lik-astana.kz/httpdocs/components/com_virtuemart/virtuemart.php(126): Joomla\CMS\MVC\Controller\BaseController->execute('')
#3 /var/www/vhosts/lik-astana.kz/httpdocs/libraries/src/Component/ComponentHelper.php(381): require_once('/var/www/vhosts...')
#4 /var/www/vhosts/lik-astana.kz/httpdocs/libraries/src/Component/ComponentHelper.php(356): Joomla\CMS\Component\ComponentHelper::executeComponent('/var/www/vhosts...')
#5 /var/www/vhosts/lik-as in /var/www/vhosts/lik-astana.kz/httpdocs/libraries/src/MVC/Controller/BaseController.php on line 847


if I change the code with \components\com_virtuemart\controllers\category.php
$viewType = $document->getType();
on
$viewType = 'html';

I get an error

Fatal error: Uncaught Error: Call to undefined method Joomla\CMS\Document\RawDocument::addHeadLink() in /var/www/vhosts/lik-astana.kz/httpdocs/components/com_virtuemart/views/category/view.html.php:330 Stack trace:
#0 /var/www/vhosts/lik-astana.kz/httpdocs/components/com_virtuemart/controllers/category.php(55): VirtuemartViewCategory->display()
#1 /var/www/vhosts/lik-astana.kz/httpdocs/libraries/src/MVC/Controller/BaseController.php(710): VirtueMartControllerCategory->display()
#2 /var/www/vhosts/lik-astana.kz/httpdocs/components/com_virtuemart/virtuemart.php(126): Joomla\CMS\MVC\Controller\BaseController->execute('')
#3 /var/www/vhosts/lik-astana.kz/httpdocs/libraries/src/Component/ComponentHelper.php(381): require_once('/var/www/vhosts...')
#4 /var/www/vhosts/lik-astana.kz/httpdocs/libraries/src/Component/ComponentHelper.php(356): Joomla\CMS\Component\ComponentHelper::executeComponent('/var/www/vhosts...')
#5 /var/www/vhosts/lik-astana.kz/httpdocs/libraries/src/Application/SiteApplication.php(194): Joomla\CMS\Component\ in /var/www/vhosts/lik-astana.kz/httpdocs/components/com_virtuemart/views/category/view.html.php on line 330


Help solve the problem with errors  :o :o :o :o :o :o :o

Jumbo!


Stasweb

Hello, Jumbo.
The version of Joomla I use is 3.8.3. Constantly update. The version of VirtueMart 3.2.12.