Answers.Body: <p>This is a known incompatibility between Joomla 5 and CiviCRM. The issue is being tracked here: <a href="https://lab.civicrm.org/dev/joomla/-/issues/54" rel="nofollow noreferrer">https://lab.civicrm.org/dev/joomla/-/issues/54</a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-04-09T12:43:04.140Z
Answers.LastActivityDate: 2024-04-09T12:43:04.140Z
Answers.UserDisplayName: Coleman
Answers.Body: <p>Please have a look on how to fix this <a href="https://lab.civicrm.org/dev/joomla/-/issues/54#note_158621" rel="nofollow noreferrer">HERE</a>.</p>
  <p>Replace line 26 in the file com_civicrm/admin/civicrm/vendor/psr/log/Psr/Log/NullLogger.php, change it from <code>public function log($level, $message, array $context = array())</code> to <code>public function log($level, $message, array $context = []): void</code>.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-04-09T17:08:28.613Z
Answers.LastActivityDate: 2024-04-09T17:08:28.613Z
Answers.UserDisplayName: Guitarman
Body: <p>I'm receiving the following when trying to install the latest version on my system:</p>
  <pre><code>Symfony\Component\ErrorHandler\Error\FatalError:
  Compile Error: Declaration of Psr\Log\NullLogger::log($level, $message, array $context = []) must be compatible with Psr\Log\AbstractLogger::log($level, Stringable|string $message, array $context = []): void
  
    at /var/www/joomla/administrator/components/com_civicrm/civicrm/vendor/psr/log/Psr/Log/NullLogger.php:26   
  </code></pre>
  <p>I'm following the instructions at <a href="https://docs.civicrm.org/installation/en/latest/joomla/" rel="nofollow noreferrer">https://docs.civicrm.org/installation/en/latest/joomla/</a></p>
  <p>Advice is welcomed.</p>
  <p>Thank you,
  Larry</p>
  
Tags: <extension><joomla>
Title: Install of latest CiviCRM on latest Joomla - Debian 12
ThreadText: # Install of latest CiviCRM on latest Joomla - Debian 12
  
  (Asked by: username_0 on 2024-04-08)
  
  I'm receiving the following when trying to install the latest version on my system:
  Symfony\Component\ErrorHandler\Error\FatalError:
  Compile Error: Declaration of Psr\Log\NullLogger::log($level, $message, array $context = []) must be compatible with Psr\Log\AbstractLogger::log($level, Stringable|string $message, array $context = []): void
  
    at /var/www/joomla/administrator/components/com_civicrm/civicrm/vendor/psr/log/Psr/Log/NullLogger.php:26   
  
  I'm following the instructions at https://docs.civicrm.org/installation/en/latest/joomla/
  Advice is welcomed.
  Thank you,
  Larry
  
  **Tags:** extension, joomla
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_1 on 2024-04-09. Score: 1
  
  This is a known incompatibility between Joomla 5 and CiviCRM. The issue is being tracked here: <https://lab.civicrm.org/dev/joomla/-/issues/54>
  
  
  ---
  
  ### Answer by username_2 on 2024-04-09. Score: 1
  
  Please have a look on how to fix this [HERE](https://lab.civicrm.org/dev/joomla/-/issues/54#note_158621).
  
  Replace line 26 in the file com\_civicrm/admin/civicrm/vendor/psr/log/Psr/Log/NullLogger.php, change it from `public function log($level, $message, array $context = array())` to `public function log($level, $message, array $context = []): void`.
  
  
  ---
  
  