Title: php error
Last modified: February 21, 2018

---

# php error

 *  Resolved [Davide Radice](https://wordpress.org/support/users/davide-radice/)
 * (@davide-radice)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/php-error-265/)
 * The plugin generates a PHP ERROR:
 *     ```
       2018/02/21 08:33:41 [error] 1258#0: *31419 FastCGI sent in stderr: "PHP message: PHP Warning:  A non-numeric value encountered in /var/www/analisilaica.it/htdocs/wp-content/plugins/accelerated-mobile-pages/components/logo/logo.php on line 52
       PHP message: PHP Stack trace:
       PHP message: PHP   1. {main}() /var/www/analisilaica.it/htdocs/index.php:0
       PHP message: PHP   2. require() /var/www/analisilaica.it/htdocs/index.php:17
       PHP message: PHP   3. require_once() /var/www/analisilaica.it/htdocs/wp-blog-header.php:19
       PHP message: PHP   4. do_action() /var/www/analisilaica.it/htdocs/wp-includes/template-loader.php:12
       PHP message: PHP   5. WP_Hook->do_action() /var/www/analisilaica.it/htdocs/wp-includes/plugin.php:453
       PHP message: PHP   6. WP_Hook->apply_filters() /var/www/analisilaica.it/htdocs/wp-includes/class-wp-hook.php:310
       PHP message: PHP   7. amp_render() /var/www/analisilaica.it/htdocs/wp-includes/class-wp-hook.php:286
       PHP message: PHP   8. AMP_Post_Template->load() /var/www/analisilaica.it/htdocs/wp-content/plugins/accelerated-mobile-pages/includes/vendor/amp/amp.php:87
       PHP message: PHP   9. AMP_Post_Template->load_parts() /var/www/analisilaica.it/htdocs/wp-content/plugins/accelerated-mobile-pages/includes/vendor/amp/includes/class-amp-post-template.php:131
       PHP message: PHP  10. AMP_Post_Template->verify_and_include() /var/www/analisilaica.it/htdocs/wp-content/plugins/accelerated-mobile-pages/includes/vendor/amp/includes/class-amp-post-template.php:137
       PHP message: PHP  11. include() /var/www/analisilaica.it/htdocs/wp-content/plugins/accelerated-mobile-pages/includes/vendor/amp/includes/class-amp-post-template.php:433
       PHP message: PHP  12. do_action() /var/www/analisilaica.it/htdocs/wp-content/plugins/accelerated-mobile-pages/templates/design-manager/design-3/single.php:10
       PHP message: PHP  13. WP_Hook->do_action() /var/www/analisilaica.it/htdocs/wp-includes/plugin.php:453
       PHP message: PHP  14. WP_Hook->apply_filters() /var/www/analisilaica.it/htdocs/wp-includes/class-wp-hook.php:310
       PHP message: PHP  15. amp_fr
       ```
   
 * Some details
 *     ```
       WordPress: 4.9.4
       Web Server: nginx/1.10.3
       PHP: 7.2.2-3+ubuntu16.04.1+deb.sury.org+1
       MySQL: 5.5.5
       ext/mysqli: yes
       PHP Memory Limit: 256M
       WP Memory Limit: 40M
       Memory Usage: 10 MB
       Blocked External HTTP Requests: None
       WP Locale: it_IT
       Organize uploads by month/year: Enabled
       WP_DEBUG: No
       WP_DEBUG_LOG: No
       WP_DEBUG_DISPLAY: Yes
       SCRIPT_DEBUG: No
       WP Max Upload Size: 2 MB
       PHP Time Limit: 30
       PHP Error Log: 
       WP Cron: Enabled
       fsockopen: Enabled
       allow_url_fopen: Enabled
       OpenSSL: OpenSSL 1.1.0g  2 Nov 2017
       cURL: 7.47.0
       Zlib Compression: Enabled
       PHP GD: 2.2.5
       Imagick: Enabled
       Basic Auth: Disabled
       Proxy: Disabled
       Active Theme Name: Twenty Sixteen
       Active Theme Version: 1.4
       Active Theme Folder: twentysixteen
       ```
   
 * This is the list of my active plugins:
 *     ```
       Accelerated Mobile Pages (v0.9.82.1) by Ahmed Kaludi, Mohammed Kaludi
       Akismet Anti-Spam (v4.0.3) by Automattic
       Amazon Polly (v1.0.2) by AWS Labs, WP Engine
       Amazon Web Services (v1.0.5) by Delicious Brains
       Autoptimize (v2.3.2) by Frank Goossens (futtta)
       Better Related Content (v0.4.3.4) by Nicolas Kuttler
       Debug This (v0.5.2) by Brian Fegter, Chris Dillon
       Disqus for WordPress (v3.0.12) by Disqus
       Easy Google Analytics for WordPress (v1.6.0) by Shaon
       Easy rel=author Plugin (v0.71b) by Kevin Meyer
       FeedBurner FeedSmith Extend (v1.0.0) by Jiayu (James) Ji
       Gmail SMTP (v1.1.7) by naa986
       Italy Cookie Choices (for EU Cookie Law) (v2.5.1) by Enea Overclokk, Andrea Pernici, Andrea Cardinale
       Jetpack by WordPress.com (v5.8) by Automattic
       Nginx Helper (v1.9.10) by rtCamp
       P3 (Plugin Performance Profiler) (v1.5.3.9) by GoDaddy.com
       PHP Compatibility Checker (v1.4.5) by WP Engine
       Page Speed Optimization (v2.9.10) by o10n-x
       Redirection (v3.2.1) by John Godley
       SSL Insecure Content Fixer (v2.5.0) by WebAware
       Security Headers (v0.9) by Simon Waters (Surevine Ltd)
       Simple Open Graph (v2.4) by Kevin Bowers
       Simple Sitemap (v2.4) by David Gwyer
       UpdraftPlus - Backup/Restore (v1.14.4) by UpdraftPlus.Com, DavidAnderson
       WP Offload S3 Lite (v1.3.1) by Delicious Brains
       WP to Twitter (v3.3.2) by Joseph Dolson
       WP-PageNavi (v2.92) by Lester «GaMerZ» Chan
       WP-Piwik (v1.0.19) by André Bräkling
       Yoast SEO (v6.3.1) by Team Yoast
       iThemes Security (v6.9.0) by iThemes
       miniOrange 2 Factor Authentication (v4.5.7) by miniOrange
       ```
   
    -  This topic was modified 8 years, 3 months ago by [Davide Radice](https://wordpress.org/support/users/davide-radice/).

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

 *  Plugin Author [Ahmed Kaludi](https://wordpress.org/support/users/ahmedkaludi/)
 * (@ahmedkaludi)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/php-error-265/#post-10038972)
 * Hi [@davide-radice](https://wordpress.org/support/users/davide-radice/)
 * Thank you for letting us know about this, I have created a ticket for this and
   I will make sure that it gets fixed in the next update.
 * Here’s the ticket for it: [https://github.com/ahmedkaludi/accelerated-mobile-pages/issues/1797](https://github.com/ahmedkaludi/accelerated-mobile-pages/issues/1797)
 *  Plugin Author [Ahmed Kaludi](https://wordpress.org/support/users/ahmedkaludi/)
 * (@ahmedkaludi)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/php-error-265/#post-10039073)
 * Hi,
 * I just realized that we already solved this around 2 days ago: [https://github.com/ahmedkaludi/accelerated-mobile-pages/issues/1785](https://github.com/ahmedkaludi/accelerated-mobile-pages/issues/1785)
 *  Thread Starter [Davide Radice](https://wordpress.org/support/users/davide-radice/)
 * (@davide-radice)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/php-error-265/#post-10039871)
 * Yes. The plugin update solved the problem for me.
    Thank you very much.
 *  Plugin Author [Ahmed Kaludi](https://wordpress.org/support/users/ahmedkaludi/)
 * (@ahmedkaludi)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/php-error-265/#post-10042994)
 * I’m glad to know that and proud to have you as our user.

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

The topic ‘php error’ 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/)

 * 4 replies
 * 2 participants
 * Last reply from: [Ahmed Kaludi](https://wordpress.org/support/users/ahmedkaludi/)
 * Last activity: [8 years, 2 months ago](https://wordpress.org/support/topic/php-error-265/#post-10042994)
 * Status: resolved