Title: Fix
Last modified: November 21, 2023

---

# Fix

 *  [mrfedor](https://wordpress.org/support/users/mrfedor/)
 * (@mrfedor)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/fix-10/)
 * Hello.
   After moving to php8.1, errors started appearing in the logs:
 * `2023-11-20T10:59:20+00:00 CRITICAL Uncaught TypeError: Unsupported operand types:
   string - int in /var/www/html/wp-content/plugins/duracelltomi-google-tag-manager/
   integration/woocommerce.php:1427`
 * Could you make adjustments to the plugin code?
   Now I have made corrections to
   the code, but after updating the plugin these corrections will be lost(

The topic ‘Fix’ is closed to new replies.

 * ![](https://ps.w.org/duracelltomi-google-tag-manager/assets/icon-256x256.png?
   rev=1708451)
 * [GTM4WP - A Google Tag Manager (GTM) plugin for WordPress](https://wordpress.org/plugins/duracelltomi-google-tag-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/duracelltomi-google-tag-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/duracelltomi-google-tag-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/duracelltomi-google-tag-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/duracelltomi-google-tag-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/duracelltomi-google-tag-manager/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [mrfedor](https://wordpress.org/support/users/mrfedor/)
 * Last activity: [2 years, 4 months ago](https://wordpress.org/support/topic/fix-10/)
 * Status: not resolved