• Resolved Appaloosa

    (@benoitappaloosa)


    Hello Florian,
    After a year and a half without any problems with wp-mpdf, the ouput give an error.
    An single custom post example : https://www.paysan-breton.fr/annonces-legales/l023511/
    Technically:
    – No cache activation,
    – Personalized custom template with ACF fields
    – Debug is enabled but does not generate HTML or I don’t know where to look !

    Do you have any idea where this could come from?

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author fkrauthan

    (@fkrauthan)

    Did you check your PHP Server logs? Usually this happens if some php extension is not enabled for example. Or if you are running a very outdated PHP version.

    lulech23

    (@lulech23)

    I am also experiencing this. Enabling debugging outputs the following error message:

    Warning: Attempt to read property “login” on null in?/<redacted>/public_html/wp-content/plugins/wp-mpdf/wp-mpdf.php?on line?455

    Fatal error: Declaration of Psr\Log\AbstractLogger::emergency(Stringable|string $message, array $context = []): void must be compatible with Psr\Log\LoggerInterface::emergency($message, array $context = []) in?/<redacted>/public_html/wp-content/plugins/wp-mpdf/vendor/psr/log/src/LoggerTrait.php?on line?23

    Plugin Author fkrauthan

    (@fkrauthan)

    What PHP version are you currently using?

    lulech23

    (@lulech23)

    I am on PHP 8.1.27. Thanks for investigating!

    Plugin Author fkrauthan

    (@fkrauthan)

    Ok I am in the process of releasing version 3.8.3 that downgrades psr/log back to version 1. Let me know if that fixes your problem after updating.

    • This reply was modified 1 year ago by fkrauthan.
    lulech23

    (@lulech23)

    I can confirm that 3.8.3 solves the issue on my end. Thanks again!

    Plugin Author fkrauthan

    (@fkrauthan)

    No problem. Glad it was an easy fix of downgrading a dependency.

    Thread Starter Appaloosa

    (@benoitappaloosa)

    The same for me Florian.

    It works again
    Thank you for all and for your fast response!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘There has been a critical error on this site.’ is closed to new replies.