Title: Errors in debug.php
Last modified: July 27, 2024

---

# Errors in debug.php

 *  Resolved [ikiterder](https://wordpress.org/support/users/ikiterder/)
 * (@ikiterder)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/errors-in-debug-php-3/)
 * Hi
 * I switched from PHP 7.4 to 8.1 and there were errors in debug.log
 * `[27-Jul-2024 07:46:46 UTC] PHP Deprecated: trim(): Passing null to parameter#
   1 ($string) of type string is deprecated in /wp-content/plugins/accelerated-mobile-
   pages/includes/thirdparty-compatibility.php on line 1341
   [27-Jul-2024 07:46:46
   UTC] PHP Deprecated: trim(): Passing null to parameter #1 ($string) of type string
   is deprecated in /wp-content/plugins/accelerated-mobile-pages/templates/template-
   mode/template-mode.php on line 682[27-Jul-2024 07:46:46 UTC] PHP Deprecated: 
   trim(): Passing null to parameter #1 ($string) of type string is deprecated in/
   wp-content/plugins/accelerated-mobile-pages/includes/thirdparty-compatibility.
   php on line 1082[27-Jul-2024 07:46:46 UTC] PHP Deprecated: trim(): Passing null
   to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/
   accelerated-mobile-pages/templates/design-manager.php on line 21[27-Jul-2024 
   07:46:46 UTC] PHP Deprecated: trim(): Passing null to parameter #1 ($string) 
   of type string is deprecated in /wp-content/plugins/accelerated-mobile-pages/
   templates/features.php on line 7052[27-Jul-2024 07:46:46 UTC] PHP Deprecated:
   trim(): Passing null to parameter #1 ($string) of type string is deprecated in/
   wp-content/plugins/accelerated-mobile-pages/templates/design-manager.php on line
   21[27-Jul-2024 07:46:46 UTC] PHP Deprecated: trim(): Passing null to parameter#
   1 ($string) of type string is deprecated in /wp-content/plugins/accelerated-mobile-
   pages/templates/design-manager.php on line 21[27-Jul-2024 07:46:46 UTC] PHP Deprecated:
   trim(): Passing null to parameter #1 ($string) of type string is deprecated in/
   wp-content/plugins/accelerated-mobile-pages/templates/design-manager.php on line
   21
 * Sorry for my English

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

 *  Plugin Author [Ahmed Kaludi](https://wordpress.org/support/users/ahmedkaludi/)
 * (@ahmedkaludi)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/errors-in-debug-php-3/#post-17921126)
 * Hi, we’re currently looking into this concern and will provide you with an update
   soon. We kindly request your patience in the meantime.
 * [https://github.com/ahmedkaludi/accelerated-mobile-pages/issues/5621](https://github.com/ahmedkaludi/accelerated-mobile-pages/issues/5621)
 *  Thread Starter [ikiterder](https://wordpress.org/support/users/ikiterder/)
 * (@ikiterder)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/errors-in-debug-php-3/#post-17943051)
 * Hi
 * Not fixsed in **ver 1.0.98**
 *  Plugin Support [Akshay A](https://wordpress.org/support/users/akshaycode1/)
 * (@akshaycode1)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/errors-in-debug-php-3/#post-18129504)
 * Hi,
 * We’ve just released an update that addresses this issue. Please update the plugin
   to **version 1.1.1**, clear the cache once and give it a try. Feel free to reach
   out if you have any concerns.

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

The topic ‘Errors in debug.php’ is closed to new replies.

 * ![](https://ps.w.org/accelerated-mobile-pages/assets/icon-256x256.png?rev=1693616)
 * [AMP for WP - Accelerated Mobile Pages](https://wordpress.org/plugins/accelerated-mobile-pages/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/accelerated-mobile-pages/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/accelerated-mobile-pages/)
 * [Active Topics](https://wordpress.org/support/plugin/accelerated-mobile-pages/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/accelerated-mobile-pages/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/accelerated-mobile-pages/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [Akshay A](https://wordpress.org/support/users/akshaycode1/)
 * Last activity: [1 year, 6 months ago](https://wordpress.org/support/topic/errors-in-debug-php-3/#post-18129504)
 * Status: resolved