Answers.Body: <p>A ton of files were moved into core extensions in 5.64. It sounds like you still have the originals in the original places. I would replace your civi folder with a fresh copy.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-03-25T02:49:30.443Z
Answers.Text: That solved the 500 error, though now I have a `Class "Civi\Api4\PaymentProcessor" not found`  ... would that have been one of the files?
Answers.UserDisplayName: Elin
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-03-25T02:55:42.460Z
Answers.Text: Well wait first I have to get the database upgrade to run. It's not 500-ing but not working either it seems.
Answers.UserDisplayName: Elin
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-03-25T13:58:34.620Z
Answers.Text: Would need more info about what "not working" means but yes PaymentProcessor is one of the files.
Answers.UserDisplayName: Demerit
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-03-26T19:41:32.967Z
Answers.Text: It finally ran when I got rid of the files.  But for anyone else, I would also say, the upgrade automatically sets the configuration of Civicrm plugins to enabled, but until you get it all completed this will block access to your admin interface.  So go to your data base and manually change in the extensions table.
Answers.UserDisplayName: Elin
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-03-24T23:13:01.267Z
Answers.LastActivityDate: 2024-03-24T23:13:01.267Z
Answers.UserDisplayName: Demerit
Body: <p>I had a working instance of Civicrm on my Joomla 3 site. Now I updated to Joomla 4.
  I don't think I should have had to update Civicrm, but I was getting a 500 error for Civicrm.  Therefore I followed the usual update procedures going from 5.63 to 5.71.1.</p>
  <p>The database update generated a  500 and turning error reporting on I am getting</p>
  <pre><code>Warning: file_put_contents(xxxx/media/civicrm/templates_c/CachedExtLoader.bba06b40bfffc98f82be5c6c2465da63.php): Failed to open stream: No such file or directory in xxx/administrator/components/com_civicrm/civicrm/CRM/Extension/ClassLoader.php on line 86
  
  Fatal error: Declaration of Civi\Api4\CaseContact::getEntityTitle($plural = false) must be compatible with Civi\Api4\Generic\AbstractEntity::getEntityTitle(bool $plural = false): string in /xxxx/administrator/components/com_civicrm/civicrm/Civi/Api4/CaseContact.php on line 26
  
  </code></pre>
  <p>(as well as a bunch of deprecation messages).</p>
  <p>The only thing I see on the upgrade instructions is the possibility of deleted files.  Does anyone else have a clue?</p>
  <p>I am on php 8.2.16 which is also a change with the update to Joomla 4.</p>
  
Tags: <upgrade><joomla>
Title: Fatal error after upgrade
ThreadText: # Fatal error after upgrade
  
  (Asked by: username_0 on 2024-03-24)
  
  I had a working instance of Civicrm on my Joomla 3 site. Now I updated to Joomla 4.
  I don't think I should have had to update Civicrm, but I was getting a 500 error for Civicrm. Therefore I followed the usual update procedures going from 5.63 to 5.71.1.
  
  The database update generated a 500 and turning error reporting on I am getting
  
  ```
  Warning: file_put_contents(xxxx/media/civicrm/templates_c/CachedExtLoader.bba06b40bfffc98f82be5c6c2465da63.php): Failed to open stream: No such file or directory in xxx/administrator/components/com_civicrm/civicrm/CRM/Extension/ClassLoader.php on line 86
  
  Fatal error: Declaration of Civi\Api4\CaseContact::getEntityTitle($plural = false) must be compatible with Civi\Api4\Generic\AbstractEntity::getEntityTitle(bool $plural = false): string in /xxxx/administrator/components/com_civicrm/civicrm/Civi/Api4/CaseContact.php on line 26
  
  ```
  
  (as well as a bunch of deprecation messages).
  
  The only thing I see on the upgrade instructions is the possibility of deleted files. Does anyone else have a clue?
  
  I am on php 8.2.16 which is also a change with the update to Joomla 4.
  
  **Tags:** upgrade, joomla
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2024-03-24. Score: 1 | Accepted answer
  
  A ton of files were moved into core extensions in 5.64. It sounds like you still have the originals in the original places. I would replace your civi folder with a fresh copy.
  
  > **Comments:**
  > **username_0**: That solved the 500 error, though now I have a `Class "Civi\Api4\PaymentProcessor" not found`  ... would that have been one of the files?  
  > **username_0**: Well wait first I have to get the database upgrade to run. It's not 500-ing but not working either it seems.  
  > **username_1**: Would need more info about what "not working" means but yes PaymentProcessor is one of the files.  
  > **username_0**: It finally ran when I got rid of the files.  But for anyone else, I would also say, the upgrade automatically sets the configuration of Civicrm plugins to enabled, but until you get it all completed this will block access to your admin interface.  So go to your data base and manually change in the extensions table.  
  
  ---
  
  