Title: LoggerInterface declaration incompatible
Last modified: May 5, 2023

---

# LoggerInterface declaration incompatible

 *  Resolved [areklam](https://wordpress.org/support/users/areklam/)
 * (@areklam)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/loggerinterface-declaration-incompatible/)
 *     ```wp-block-code
       Fatal error: Declaration of FSVendor\\WPDesk\\WooCommerce\\CurrencySwitchers\\AbstractConverter::setLogger(Psr\\Log\\LoggerInterface $logger) must be compatible with Psr\\Log\\LoggerAwareInterface::setLogger(Psr\\Log\\LoggerInterface $logger): void in flexible-shipping/vendor_prefixed/wpdesk/wc-currency-switchers-integrations/src/AbstractConverter.php on line 21
       ```
   
 * Last working version is 4.20.0

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [grzegorzturbasa](https://wordpress.org/support/users/grzegorzturbasa/)
 * (@grzegorzturbasa)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/loggerinterface-declaration-incompatible/#post-16718979)
 * Thank you for getting in touch. Can you please provide more information about
   the error? Especially valuable are:
    - When does this error occur?
    - Which version of WP and WC you’re using?
    - Does this plugin occurs when you only have WC + Flexible shipping enabled?
    - Which currency switcher do you use?
    - Which version of PHP do you use?
 * Thank you in advance.
 *  [burnagielk](https://wordpress.org/support/users/burnagielk/)
 * (@burnagielk)
 * [3 years ago](https://wordpress.org/support/topic/loggerinterface-declaration-incompatible/#post-16745030)
 * As we haven’t got any replies, I’m marking this topic as resolved for now.
 * Best regards
 * Karolina

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘LoggerInterface declaration incompatible’ is closed to new replies.

 * ![](https://ps.w.org/flexible-shipping/assets/icon.svg?rev=2737045)
 * [Weight Based Shipping Table Rate for WooCommerce – Flexible Shipping](https://wordpress.org/plugins/flexible-shipping/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/flexible-shipping/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/flexible-shipping/)
 * [Active Topics](https://wordpress.org/support/plugin/flexible-shipping/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/flexible-shipping/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/flexible-shipping/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [burnagielk](https://wordpress.org/support/users/burnagielk/)
 * Last activity: [3 years ago](https://wordpress.org/support/topic/loggerinterface-declaration-incompatible/#post-16745030)
 * Status: resolved