Thank you for the response.
As you can see the issue isn’t in Mpdf itself but in fact that it’s getRequestTarget method isn’t compatible with Psr\Http\Message\RequestInterface.
That probably happens because a lot of plugins are using various versions of Psr but with the same namespace, so you plugin is getting the wrong Psr\Http\Message\RequestInterface by that namespace. I believe the unique namespace prefix would solve this issue.
Here is the list of our website’s plugins using the Psr\Http\Message\RequestInterface:
- activecampaign-for-woocommerce
- atum-stock-manager-for-woocommerce
- google-listings-and-ads
- ultimate-elementor
- wc-shipstation-shipping-pro
- wordpress-seo
- wp-mail-smtp