I'm trying to upgrade CiviCRM in a Joomla 3.9.26 environment from 5.25.0 to 5.37.0.
I ran the file installation, cleared the media/template_c folder, then tried to run the database upgrade script. I get this error:
An error has occurred.
0 Call to undefined method CRM_Upgrade_Incremental_php_FourOne::getMajorMinor()
The ConfigLog file and the PHP error logs don't show this error, and the ConfigLog files don't seem to show anything related to any database upgrade script. Also, the civicrm_domain table still shows 5.25.0 in the version column, so I don't think the update script has run at all.
I have no idea why this upgrade would be calling a 4.1 incremental upgrade script? And I'm not sure what steps to take next to recover -- or if I just roll back to my backup. However, I will eventually need to get this upgraded!
Suggestions appreciated!
UPDATE: call stack as requested...
0 Call to undefined method CRM_Upgrade_Incremental_php_FourOne::getMajorMinor() JROOT/administrator/components/com_civicrm/civicrm/CRM/Upgrade/Form.php:125
1 () JROOT/administrator/components/com_civicrm/civicrm/CRM/Upgrade/Form.php:125
2 CRM_Upgrade_Form::incrementalPhpObjectVersions() JROOT/administrator/components/com_civicrm/civicrm/CRM/Upgrade/Form.php:324
3 CRM_Upgrade_Form->getRevisionSequence() JROOT/administrator/components/com_civicrm/civicrm/CRM/Upgrade/Form.php:845
4 CRM_Upgrade_Form->setPreUpgradeMessage() JROOT/administrator/components/com_civicrm/civicrm/CRM/Upgrade/Page/Upgrade.php:108
5 CRM_Upgrade_Page_Upgrade->runIntro() JROOT/administrator/components/com_civicrm/civicrm/CRM/Upgrade/Page/Upgrade.php:57
6 CRM_Upgrade_Page_Upgrade->run() JROOT/administrator/components/com_civicrm/civicrm/CRM/Core/Invoke.php:313
7 CRM_Core_Invoke::runItem() JROOT/administrator/components/com_civicrm/civicrm/CRM/Core/Invoke.php:69
8 CRM_Core_Invoke::_invoke() JROOT/administrator/components/com_civicrm/civicrm/CRM/Core/Invoke.php:36
9 CRM_Core_Invoke::invoke() JROOT/administrator/components/com_civicrm/civicrm.php:121
10 civicrm_invoke() JROOT/administrator/components/com_civicrm/civicrm.php:40
11 require_once() JROOT/libraries/src/Component/ComponentHelper.php:402
12 Joomla\CMS\Component\ComponentHelper::executeComponent() JROOT/libraries/src/Component/ComponentHelper.php:377
13 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/AdministratorApplication.php:101
14 Joomla\CMS\Application\AdministratorApplication->dispatch() JROOT/libraries/src/Application/AdministratorApplication.php:159
15 Joomla\CMS\Application\AdministratorApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:203
16 Joomla\CMS\Application\CMSApplication->execute() JROOT/administrator/index.php:51
administrator/components/com_civicrm/civicrm
with the new files? For all the CMS's except Joomla you need to do that to avoid problems like this, but one thing I don't understand about joomla is that the civi upgrade instructions don't tell you to do that. I would try completely replacing the civicrm folder with the new files (make a backup in case you have something custom in there - you shouldn't but sometimes people do).