No Code Attached Yet Information Required
avatar boris-grinac
boris-grinac
12 May 2022

Steps to reproduce the issue

Tried to update Joomla site with Virtuemart. Update fails with "Invalid controller class: update"
Joomla front end also reports error after update ""Invalid controller class: display"
Tried both ways: standard update and manual upload update. The result is the same.
This is a brand new site, installed from scratch on Ubuntu 22.04 LTS.
Call stack

Function Location

1 () JROOT/libraries/src/Dispatcher/ComponentDispatcher.php:178
2 Joomla\CMS\Dispatcher\ComponentDispatcher->getController() JROOT/libraries/src/Dispatcher/ComponentDispatcher.php:145
3 Joomla\CMS\Dispatcher\ComponentDispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:389
4 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/SiteApplication.php:204
5 Joomla\CMS\Application\SiteApplication->dispatch() JROOT/libraries/src/Application/SiteApplication.php:243
6 Joomla\CMS\Application\SiteApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:278
7 Joomla\CMS\Application\CMSApplication->execute() JROOT/includes/app.php:63
8 require_once() JROOT/index.php:32

Expected result

Update runs with no error and Joomla version is displayed as 4.1.3

Actual result

System information (as much as possible)

Additional comments

avatar boris-grinac boris-grinac - open - 12 May 2022
avatar boris-grinac boris-grinac - change - 12 May 2022
Labels Removed: ?
avatar joomla-cms-bot joomla-cms-bot - change - 12 May 2022
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 12 May 2022
avatar drmenzelit
drmenzelit - comment - 12 May 2022

What happens if you disable Virtuemart? Did you tried the update on a website without Virtuemart?

avatar chmst
chmst - comment - 12 May 2022

Which Virtumart Version? The latest 4 for Joomla4? Which php version?

avatar chmst chmst - change - 12 May 2022
Labels Added: Information Required
avatar chmst chmst - labeled - 12 May 2022
avatar boris-grinac
boris-grinac - comment - 13 May 2022

Tried to disable all Virtuemart* and all VM* extensions. Upgrade from
Joomla 4.1.2 to 4.1.3 still fails with the same messages.

System information:
Setting Value
PHP Built On Linux shop-upsserv-cz 5.15.0-27-generic #28-Ubuntu SMP Thu Apr
14 04:55:28 UTC 2022 x86_64
Database Type mysql
Database Version 10.6.7-MariaDB-2ubuntu1
Database Collation utf8mb4_general_ci
Database Connection Collation utf8mb4_general_ci
Database Connection Encryption None
Database Server Supports Connection Encryption No
PHP Version 8.1.2
Web Server nginx/1.18.0
WebServer to PHP Interface fpm-fcgi
Joomla! Version Joomla! 4.1.2 Stable [ Kuamini ] 30-March-2022 16:00 GMT
User Agent Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:100.0)
Gecko/20100101 Firefox/100.0

On Thu, May 12, 2022 at 1:15 PM Viviana Menzel @.***>
wrote:

What happens if you disable Virtuemart? Did you tried the update on a
website without Virtuemart?


Reply to this email directly, view it on GitHub
#37782 (comment),
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AW7DR4VFVAJKMOJG2TXIJMLVJTR3TANCNFSM5VXBPRVQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

avatar drmenzelit
drmenzelit - comment - 13 May 2022

PHP Version 8.1.2

Maybe that is the problem. Are you sure Virtuemart is compatible with PHP 8.1? You should try with PHP 7.4 or 8.0

avatar brianteeman
brianteeman - comment - 13 May 2022

This is really a support issue that should be dealt with on the forum

avatar drmenzelit drmenzelit - change - 13 May 2022
Status New Closed
Closed_Date 0000-00-00 00:00:00 2022-05-13 07:45:53
Closed_By drmenzelit
avatar drmenzelit drmenzelit - close - 13 May 2022
avatar drmenzelit
drmenzelit - comment - 13 May 2022

As Brian said that is a support issue that should be posted in the forum (forum.joomla.org)

avatar boris-grinac
boris-grinac - comment - 15 May 2022

Dear Viviana, thanks for the idea to downgrade PHP to 8.0
This downgrade created a bunch of other issues, needed to configure php and nginx from scratch. But using error logs I have managed to make my shop work, Joomla upgrades now work.
Thanks.

Add a Comment

Login with GitHub to post a comment