• Resolved cras4202tw

    (@cras4202tw)


    we temp deactivate plugin,and there is the error log

    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:

Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    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/

    Thread Starter cras4202tw

    (@cras4202tw)

    link

    thanks!

    Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    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

    (@ahmedkaludi)

    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

    Please try installing it and let me know if it works

    Thread Starter cras4202tw

    (@cras4202tw)

    install ur file and now have other problem i will 302 to none amp page
    curl -I https://applealmond.com/amp/

    HTTP/2 302
    content-type: text/html; charset=UTF-8
    x-litespeed-tag: f47_HTTP.200,f47_HTTP.302
    x-redirect-by: WordPress
    location: 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

    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, 8 months ago by cras4202tw.
    Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    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

    (@cras4202tw)

    i try to only activate jetpack and amp plugin

    amp page still 301 to homepage

    Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    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

    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, 8 months ago by Ahmed Kaludi.
    Thread Starter cras4202tw

    (@cras4202tw)

    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

    (@ahmedkaludi)

    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

    (@cras4202tw)

    Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    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

    (@cras4202tw)

    Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    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. 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.