• Resolved Anonymous User 11986954

    (@anonymized-11986954)


    Hello, i have the PSR-4 library installed in my root composer.json, due to the use of GuzzleHTTP.

    This generate a Fatal conflict with Gravity PDF. How can this be solved? Thanks.

    [05-Dec-2023 11:52:24 UTC] PHP Fatal error: Declaration of GFPDF_Vendor\Mpdf\PsrHttpMessageShim\Request::getRequestTarget() must be compatible with Psr\Http\Message\RequestInterface::getRequestTarget(): string in xxxxx/wp-content/plugins/gravity-forms-pdf-extended/vendor_prefixed/mpdf/psr-http-message-shim/src/Request.php on line 51

    • This topic was modified 11 months, 3 weeks ago by Anonymous User 11986954.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Jake Jackson

    (@blue-liquid-designs)

    Hey @marekmaurizio,

    Thanks for reporting this issue! I believe it’s a PSR-7 conflict (PSR-4 is for autoloading).

    I have been able to replicate the problem, and we’re testing out a potential fix https://github.com/GravityPDF/gravity-pdf/pull/1484

    I’ll notify you once we’ve published the release on WP.org ??

    Plugin Author Jake Jackson

    (@blue-liquid-designs)

    Hi @marekmaurizio,

    Version 6.7.3 has now been released, which should resolve the conflict you were having with Gravity PDF and GuzzleHTTP. Please upgrade and let me know if that did the trick.

    Thank you. ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PSR-4 Conflict’ is closed to new replies.