Title: Get php error
Last modified: July 19, 2023

---

# Get php error

 *  Resolved [cras4202tw](https://wordpress.org/support/users/cras4202tw/)
 * (@cras4202tw)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/get-php-error/)
 * we temp deactivate plugin,and there is the error log
 *     ```wp-block-code
       Warning: Attempt to read property "did_footer" on bool in /home/applealmond/public_html/wp-content/plugins/accelerated-mobile-pages/templates/features.php on line 7985
   
       Fatal error: Uncaught Error: Attempt to assign property "did_footer" on bool in /home/applealmond/public_html/wp-content/plugins/accelerated-mobile-pages/templates/features.php:7986 Stack trace: #0 /home/applealmond/public_html/wp-includes/class-wp-hook.php(308): ampforwp_front_admin_menu_bar(0) #1 /home/applealmond/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) #2 /home/applealmond/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #3 /home/applealmond/public_html/wp-content/plugins/accelerated-mobile-pages/includes/vendor/amp/amp.php(85): do_action('pre_amp_render_...', 0) #4 /home/applealmond/public_html/wp-includes/class-wp-hook.php(308): AMPforWP\AMPVendor\amp_render('') #5 /home/applealmond/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) #6 /home/applealmond/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #7 /home/applealmond/public_html/wp-includes/template-loader.php(13): do_action('template_redire...') #8 /home/applealmond/public_html/wp-blog-header.php(19): require_once('/home/applealmo...') #9 /home/applealmond/public_html/index.php(17): require('/home/applealmo...') #10 {main} thrown in /home/applealmond/public_html/wp-content/plugins/accelerated-mobile-pages/templates/features.php on line 7986
       ```
   
 * wp plugin list:
 * ![](https://i0.wp.com/i.imgur.com/z7R4IFx.png?ssl=1)

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

 *  Plugin Author [Ahmed Kaludi](https://wordpress.org/support/users/ahmedkaludi/)
 * (@ahmedkaludi)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/get-php-error/#post-16908599)
 * Hi, I apologize for inconvenience caused. Could you please share the exported
   AMP optional panel settings? I will import it on our end, investigate the issue,
   and get back to you with a resolution accordingly.
 * Here is the reference tutorial for your convenience: [https://ampforwp.com/tutorials/article/how-to-import-and-export-the-amp-option-panel-settings/](https://ampforwp.com/tutorials/article/how-to-import-and-export-the-amp-option-panel-settings/)
 *  Thread Starter [cras4202tw](https://wordpress.org/support/users/cras4202tw/)
 * (@cras4202tw)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/get-php-error/#post-16908641)
 * [link](https://drive.google.com/file/d/1VzqN2cVfQCKNZ2W5UW1A3Xi9zZb5c4xu/view?usp=sharing)
 * thanks!
 *  Plugin Author [Ahmed Kaludi](https://wordpress.org/support/users/ahmedkaludi/)
 * (@ahmedkaludi)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/get-php-error/#post-16909472)
 * Hi, thanks for sharing the above details. Could you please let us know what changes
   occur when you deactivate the AMP plugin? It would be easier to understand if
   you could share any screenshots or videos of the issue.
 *  Plugin Author [Ahmed Kaludi](https://wordpress.org/support/users/ahmedkaludi/)
 * (@ahmedkaludi)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/get-php-error/#post-16909737)
 * Hi, could you please add this amp plugin by downloading it from the link below:
   
   [https://drive.google.com/file/d/1o5sERunpAOAOKvcop8Xm_XW3gbgLEe4Q/view?usp=sharing](https://drive.google.com/file/d/1o5sERunpAOAOKvcop8Xm_XW3gbgLEe4Q/view?usp=sharing)
 * Please try installing it and let me know if it works
 *  Thread Starter [cras4202tw](https://wordpress.org/support/users/cras4202tw/)
 * (@cras4202tw)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/get-php-error/#post-16929214)
 * install ur file and now have other problem i will 302 to none amp page
   curl -
   I [https://applealmond.com/amp/](https://applealmond.com/amp/)
 * HTTP/2 302
   content-type: text/html; charset=UTF-8x-litespeed-tag: f47_HTTP.200,
   f47_HTTP.302x-redirect-by: WordPresslocation: [https://applealmond.com](https://applealmond.com)
 * > Hi, thanks for sharing the above details. Could you please let us know what
   > changes occur when you deactivate the AMP plugin? It would be easier to understand
   > if you could share any screenshots or videos of the issue.
 * when i activate plugin and open the amp page i will get WP error,and error log
   is
 *     ```wp-block-code
       Warning: Attempt to read property "did_footer" on bool in /home/applealmond/public_html/wp-content/plugins/accelerated-mobile-pages/templates/features.php on line 7985
   
       Fatal error: Uncaught Error: Attempt to assign property "did_footer" on bool in /home/applealmond/public_html/wp-content/plugins/accelerated-mobile-pages/templates/features.php:7986 Stack trace: #0 /home/applealmond/public_html/wp-includes/class-wp-hook.php(308): ampforwp_front_admin_menu_bar(0) #1 /home/applealmond/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) #2 /home/applealmond/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #3 /home/applealmond/public_html/wp-content/plugins/accelerated-mobile-pages/includes/vendor/amp/amp.php(85): do_action('pre_amp_render_...', 0) #4 /home/applealmond/public_html/wp-includes/class-wp-hook.php(308): AMPforWP\AMPVendor\amp_render('') #5 /home/applealmond/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) #6 /home/applealmond/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #7 /home/applealmond/public_html/wp-includes/template-loader.php(13): do_action('template_redire...') #8 /home/applealmond/public_html/wp-blog-header.php(19): require_once('/home/applealmo...') #9 /home/applealmond/public_html/index.php(17): require('/home/applealmo...') #10 {main} thrown in /home/applealmond/public_html/wp-content/plugins/accelerated-mobile-pages/templates/features.php on line 7986
       ```
   
    -  This reply was modified 2 years, 10 months ago by [cras4202tw](https://wordpress.org/support/users/cras4202tw/).
 *  Plugin Author [Ahmed Kaludi](https://wordpress.org/support/users/ahmedkaludi/)
 * (@ahmedkaludi)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/get-php-error/#post-16934292)
 * Hi, Thank you for reaching out to us and we apologize for the delayed response.
   We have checked from our end with the above settings, and everything is working
   fine. However, we noticed that there are multiple different plugins active on
   your website. To ensure there is no conflict with the AMP plugin, could you please
   deactivate the other plugins temporarily? After doing so, please recheck the 
   issue, and if it persists, kindly let us know.
 *  Thread Starter [cras4202tw](https://wordpress.org/support/users/cras4202tw/)
 * (@cras4202tw)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/get-php-error/#post-16938798)
 * i try to only activate jetpack and amp plugin
 * amp page still 301 to homepage
 *  Plugin Author [Ahmed Kaludi](https://wordpress.org/support/users/ahmedkaludi/)
 * (@ahmedkaludi)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/get-php-error/#post-16941272)
 * Hi, Thank you for reaching out to us and apologize for the inconvenience caused.
   As we checked, the website seems to be working fine with the AMP version. You
   can refer to this screenshot, which was tested from our side: [https://paste.pics/OY0NL](https://paste.pics/OY0NL)
 * Also, want to know if the errors you were facing have been fixed or if they are
   still occurring. Please let us know so that we can assist you in a better way.
    -  This reply was modified 2 years, 10 months ago by [Ahmed Kaludi](https://wordpress.org/support/users/ahmedkaludi/).
 *  Thread Starter [cras4202tw](https://wordpress.org/support/users/cras4202tw/)
 * (@cras4202tw)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/get-php-error/#post-16941999)
 * I tested the forwarding problem on the computer version of Chrome
   If you use 
   the developer mode to simulate a mobile device, there will be no forwarding problems
 *  Plugin Author [Ahmed Kaludi](https://wordpress.org/support/users/ahmedkaludi/)
 * (@ahmedkaludi)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/get-php-error/#post-16947506)
 * Hi, could you please share a video for reference showing how you are testing 
   from your end? This would be very helpful in understanding the exact issue.
 *  Thread Starter [cras4202tw](https://wordpress.org/support/users/cras4202tw/)
 * (@cras4202tw)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/get-php-error/#post-16948317)
 * [https://kb.fast-line.tw/wp-content/file/record.mov](https://kb.fast-line.tw/wp-content/file/record.mov)
 * thanks!
 *  Plugin Author [Ahmed Kaludi](https://wordpress.org/support/users/ahmedkaludi/)
 * (@ahmedkaludi)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/get-php-error/#post-16954824)
 * Hi, The video you sent cannot be viewed due to an unsupported format. Could you
   please share a video in MP4 format through a Google Drive link?
 *  Thread Starter [cras4202tw](https://wordpress.org/support/users/cras4202tw/)
 * (@cras4202tw)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/get-php-error/#post-16957118)
 * [https://drive.google.com/file/d/1p5nRi2LkcdmARoou6hfMjIWmNPiv96h0/view?usp=sharing](https://drive.google.com/file/d/1p5nRi2LkcdmARoou6hfMjIWmNPiv96h0/view?usp=sharing)
 *  Plugin Author [Ahmed Kaludi](https://wordpress.org/support/users/ahmedkaludi/)
 * (@ahmedkaludi)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/get-php-error/#post-16964617)
 * Hi, Thank you for letting us know. We have raised a GitHub ticket in our repository
   regarding this concern and we are working on it to fix it in the upcoming updates.
 * Here is the link: [https://github.com/ahmedkaludi/accelerated-mobile-pages/issues/5500](https://github.com/ahmedkaludi/accelerated-mobile-pages/issues/5500).
   We are actively working on resolving the issue.

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

The topic ‘Get 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/)

## Tags

 * [php-error](https://wordpress.org/support/topic-tag/php-error/)

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