Author Topic: Errors after upgrading to version VirtueMart 3.2.12  (Read 1816 times)

Stasweb

  • Beginner
  • *
  • Posts: 2
  • help me
Errors after upgrading to version VirtueMart 3.2.12
« on: January 17, 2018, 06:48:10 am »
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:
Code: [Select]
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
Code: [Select]
Fatal error: Uncaught Exception: Представление не найдено [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
 
Code: [Select]
$viewType = $document->getType();
on
Code: [Select]
$viewType = 'html';

I get an error
Code: [Select]
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!

  • 3rd party VirtueMart Developer
  • Full Member
  • *
  • Posts: 851
  • Full-stack Web Developer
    • www.virtueplanet.com
  • VirtueMart Version: Always the latest
Re: Errors after upgrading to version VirtueMart 3.2.12
« Reply #1 on: January 18, 2018, 17:54:01 pm »
Which version of Joomla are you using?

Stasweb

  • Beginner
  • *
  • Posts: 2
  • help me
Re: Errors after upgrading to version VirtueMart 3.2.12
« Reply #2 on: January 19, 2018, 04:28:22 am »
Hello, Jumbo.
The version of Joomla I use is 3.8.3. Constantly update. The version of VirtueMart 3.2.12.