Title: Error deploying plugin in hostinger
Last modified: December 11, 2025

---

# Error deploying plugin in hostinger

 *  Resolved [raghukm](https://wordpress.org/support/users/raghukm/)
 * (@raghukm)
 * [5 months, 4 weeks ago](https://wordpress.org/support/topic/error-deploying-plugin-in-hostinger/)
 * When I deploy the plugin to WordPress on hostinger, I get this error:
   **2025-
   12-11T15:21:35+00:00 Critical Declaration of Dhii\Collection\HasCapableInterface::
   has($key) must be compatible with Psr\Container\ContainerInterface::has(string
   $id): boolI can get around it by manually modifying the interface, but seems 
   like there is probably a PHP setting that needs to be tweaked? I’m not a PHP 
   guy, so appreciate the help

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

 *  Plugin Support [Krystian Syde](https://wordpress.org/support/users/inpsydekrystian/)
 * (@inpsydekrystian)
 * [5 months, 4 weeks ago](https://wordpress.org/support/topic/error-deploying-plugin-in-hostinger/#post-18752478)
 * Hello [@raghukm](https://wordpress.org/support/users/raghukm/)
 * Most likely, this fatal error is triggered because the plugin uses a previous
   version of `psr/log` . The more recent version that would be compatible with 
   PHP 8.2 is this one: [https://packagist.org/packages/psr/log#3.0.0](https://packagist.org/packages/psr/log#3.0.0).
   However, an update to this version might result in breaking compatibility with
   very old versions of PHP.
 * To resolve this issue, I recommend performing a full conflict test to rule out
   any potential compatibility problems with your theme or other plugins. Here’s
   how you can proceed:
    1. **Activate the Default Theme **Temporarily switch to the default **Storefront**
       theme. This step will help determine if your current theme is causing the issue.
    2. **Disable Other Plugins **Deactivate all plugins except for **WooCommerce** 
       and **Zettle**
    3. **Test the Process **Check if Zettle works correctly, it should.
    4. **Re-enable Plugins One by One **If the problem resolves during the test, re-
       enable your plugins one at a time and test after each activation. This will 
       help you identify the plugin causing the conflict.
 * If the issue continues even after following these steps, please let us know, 
   and we’ll be happy to assist you further.
 * Looking for your response.
 * Kind regards,
   Krystian
 *  Thread Starter [raghukm](https://wordpress.org/support/users/raghukm/)
 * (@raghukm)
 * [5 months, 4 weeks ago](https://wordpress.org/support/topic/error-deploying-plugin-in-hostinger/#post-18752899)
 * Thanks Krystian, that seemed to work.

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

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-deploying-plugin-in-hostinger%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/zettle-pos-integration/assets/icon-256x256.png?rev=2694076)
 * [PayPal Zettle POS for WooCommerce](https://wordpress.org/plugins/zettle-pos-integration/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/zettle-pos-integration/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/zettle-pos-integration/)
 * [Active Topics](https://wordpress.org/support/plugin/zettle-pos-integration/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/zettle-pos-integration/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/zettle-pos-integration/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [raghukm](https://wordpress.org/support/users/raghukm/)
 * Last activity: [5 months, 4 weeks ago](https://wordpress.org/support/topic/error-deploying-plugin-in-hostinger/#post-18752899)
 * Status: resolved