Title: PHP Fatal error Psr\Log PHP8
Last modified: May 16, 2024

---

# PHP Fatal error Psr\Log PHP8

 *  [khanhvo](https://wordpress.org/support/users/khanhvo/)
 * (@khanhvo)
 * [2 years ago](https://wordpress.org/support/topic/php-fatal-error-psrlog-php8/)
 * I found that this plugin conflicts with Mpdf’s required package on PHP 8.
 * _PHP message: PHP Fatal error: Declaration of Psr\Log\NullLogger::log($level,
   Stringable|string $message, array $context = []) must be compatible with Psr\
   Log\LoggerInterface::log($level, $message, array $context = []) in /var/…/wp-
   content/themes/…/includes/mpdf/vendor/psr/log/src/NullLogger.php on line 26_
 * Can you please advise?

The topic ‘PHP Fatal error Psr\Log PHP8’ is closed to new replies.

 * ![](https://ps.w.org/cloudflare/assets/icon-256x256.png?rev=2471183)
 * [Cloudflare](https://wordpress.org/plugins/cloudflare/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cloudflare/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cloudflare/)
 * [Active Topics](https://wordpress.org/support/plugin/cloudflare/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cloudflare/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cloudflare/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [khanhvo](https://wordpress.org/support/users/khanhvo/)
 * Last activity: [2 years ago](https://wordpress.org/support/topic/php-fatal-error-psrlog-php8/)
 * Status: not resolved