Title: Fatal error: Declaration
Last modified: March 7, 2025

---

# Fatal error: Declaration

 *  [roadkill1](https://wordpress.org/support/users/roadkill1/)
 * (@roadkill1)
 * [1 year, 1 month ago](https://wordpress.org/support/topic/fatal-error-declaration/)
 * Hi I am receving the following error message when adding a product to the cart.
 * Fatal error: Declaration of GuzzleHttp\Psr7\Request::getRequestTarget() must 
   be compatible with Psr\Http\Message\RequestInterface::getRequestTarget(): string
   in /usr/www/users/powerzjupb/wp-content/plugins/the-courier-guy/vendor/guzzlehttp/
   psr7/src/Request.php on line 59
 * The Courier Guy WP & Woocommerce Shipping functionality. Version 5.1.2
   Woocommerce
   Version 9.7.1WordPress version 6.7.2

The topic ‘Fatal error: Declaration’ is closed to new replies.

 * ![](https://ps.w.org/the-courier-guy/assets/icon-256x256.png?rev=2170879)
 * [The Courier Guy Shipping for WooCommerce](https://wordpress.org/plugins/the-courier-guy/)
 * [Support Threads](https://wordpress.org/support/plugin/the-courier-guy/)
 * [Active Topics](https://wordpress.org/support/plugin/the-courier-guy/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/the-courier-guy/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/the-courier-guy/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [roadkill1](https://wordpress.org/support/users/roadkill1/)
 * Last activity: [1 year, 1 month ago](https://wordpress.org/support/topic/fatal-error-declaration/)
 * Status: not resolved