Title: Fatal Error &#8211; &#8220;\Psr\Log\LoggerAwareInterface&#8221;
Last modified: April 10, 2024

---

# Fatal Error – “\Psr\Log\LoggerAwareInterface”

 *  Resolved [bored2tears](https://wordpress.org/support/users/bored2tears/)
 * (@bored2tears)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-psrlogloggerawareinterface/)
 * Hello!
 * I recently updated to the 8.3.1 version of the plugin from 3.7.1, and I started
   getting a fatal error when attempting to export PDFs from this plugin. The basic
   error is the following:
   **Fatal error**: Uncaught Error: Interface “Psr\Log\LoggerAwareInterface”
   not found in “…/wp-content/plugins/wp-mpdf/vendor/mpdf/mpdf/src/Mpdf.php:29”
 * Mpdf.php:29 is the following line:
 * **class Mpdf implements \Psr\Log\LoggerAwareInterface** {
 * This line is trying to call LoggerAwareInterface.php inside /vendor/psr/log/Psr/
   Log. This path and file are present in the 7.3.1 version, but seemed to have 
   been removed somewhere along the line. The newest version goes to /vendor/psr/
   log, and then stops. While fixing this error on my end was pretty simple – replacing
   the missing directories and files – it’s all subject to rewriting with future
   updates. I’m not sure if this change was intentional or not, but I figured it
   was worth mentioning, since the plugin itself is calling to something that has
   been moved or isn’t there at all.
    -  This topic was modified 2 years, 1 month ago by [bored2tears](https://wordpress.org/support/users/bored2tears/).

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Thread Starter [bored2tears](https://wordpress.org/support/users/bored2tears/)
 * (@bored2tears)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-psrlogloggerawareinterface/#post-17678191)
 * Quick note: I got the current version wrong. I updated to 3.8.3, not 3.7.1
 *  Plugin Author [fkrauthan](https://wordpress.org/support/users/fkrauthan/)
 * (@fkrauthan)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-psrlogloggerawareinterface/#post-17678451)
 * Hmm that is very strange, for some reason trying to access the folder on wordpress
   SVN repo it errors out. Looks like some WordPress plugin repo bug. You can actually
   see that the last change did upload the files: [https://plugins.trac.wordpress.org/changeset/3031867/](https://plugins.trac.wordpress.org/changeset/3031867/)
   I will reach out to wordpress support and see what is going on.
 *  Plugin Author [fkrauthan](https://wordpress.org/support/users/fkrauthan/)
 * (@fkrauthan)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-psrlogloggerawareinterface/#post-17678456)
 * It looks like the SVN server is behaving strange right now. Can you try re-installing
   the plugin in a couple of hours? From my side the missing file exists and is 
   correctly published (as besides of you no one has reported that issue).
 *  Thread Starter [bored2tears](https://wordpress.org/support/users/bored2tears/)
 * (@bored2tears)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-psrlogloggerawareinterface/#post-17680403)
 * Interesting. Yeah, I will try a fresh installation today. Thanks for looking 
   into this.
 *  Thread Starter [bored2tears](https://wordpress.org/support/users/bored2tears/)
 * (@bored2tears)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-psrlogloggerawareinterface/#post-17680653)
 * Looks like you were right. Just a fluke somewhere in the update process. On fresh
   install, those directories and files are there.
 * Thanks for the help!
 *  Plugin Author [fkrauthan](https://wordpress.org/support/users/fkrauthan/)
 * (@fkrauthan)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-psrlogloggerawareinterface/#post-17680654)
 * No problem. Glad it resolved itself. For a second I was really worried that I
   published a fully broken version and no one told me.
 *  Thread Starter [bored2tears](https://wordpress.org/support/users/bored2tears/)
 * (@bored2tears)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-psrlogloggerawareinterface/#post-17680659)
 * Hahaha no, you’re all good. Sorry for the panic attack.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Fatal Error – “\Psr\Log\LoggerAwareInterface”’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-mpdf.svg)
 * [wp-mpdf](https://wordpress.org/plugins/wp-mpdf/)
 * [Support Threads](https://wordpress.org/support/plugin/wp-mpdf/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-mpdf/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-mpdf/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-mpdf/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [bored2tears](https://wordpress.org/support/users/bored2tears/)
 * Last activity: [2 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-psrlogloggerawareinterface/#post-17680659)
 * Status: resolved