Conversation
supportHello! 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 .
Quick note: I got the current version wrong. I updated to 3.8.3, not 3.7.1
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/ I will reach out to wordpress support and see what is going on.
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).
Interesting. Yeah, I will try a fresh installation today. Thanks for looking into this.
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!
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.
Hahaha no, you’re all good. Sorry for the panic attack.
Quick note: I got the current version wrong. I updated to 3.8.3, not 3.7.1
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/ I will reach out to wordpress support and see what is going on.
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).
Interesting. Yeah, I will try a fresh installation today. Thanks for looking into this.
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!
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.
Hahaha no, you’re all good. Sorry for the panic attack.