• Resolved gdlt88

    (@gdlt88)


    Hi,

    Today I installed and activated the AMP plugin in my wordpress site and I selected the standard mode. After setting it up I got a 500 error. Not sure why is this happening.

    If you can provide some help

    Thanks

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Weston Ruter

    (@westonruter)

    Please fill out our private escalation form to provide your Site Health information as well as your PHP error log: https://forms.gle/2AnjsyUXQMVxMzKP7

    Plugin Support Milind More

    (@milindmore22)

    Hello @gdlt88,

    The PHP error log will be helpful in understanding conflicts, you may try to contact your hosting provider for the error log.

    Alternatively, you may find this guide helpful.

    Thread Starter gdlt88

    (@gdlt88)

    I was able to get the log. Below the errors

    
    [21-Dec-2020 15:40:44 UTC] PHP Notice:  Undefined index: width_100 in /home/tfrmvz7wv0x6/public_html/getlikes.ca/wp-content/plugins/fusion-builder/shortcodes/fusion-container.php on line 1064
    [21-Dec-2020 15:40:44 UTC] PHP Notice:  Undefined index: width_100 in /home/tfrmvz7wv0x6/public_html/getlikes.ca/wp-content/plugins/fusion-builder/shortcodes/fusion-container.php on line 1064
    [21-Dec-2020 15:40:45 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 33554440 bytes) in /home/tfrmvz7wv0x6/public_html/getlikes.ca/wp-content/plugins/amp/vendor/sabberworm/php-css-parser/lib/Sabberworm/CSS/Parsing/ParserState.php on line 320
    [21-Dec-2020 15:40:45 UTC] PHP Fatal error:  Unknown: Cannot use output buffering in output buffering display handlers in Unknown on line 0
    
    Plugin Support Milind More

    (@milindmore22)

    Thanks for the error log, Are you using standard mode or transitional mode?
    it looks like your site’s theme or plugins may be adding too much CSS.

    you may try to increase PHP memory limit by following this guide, or switch to reader mode and choose different theme for AMP pages.

    Thread Starter gdlt88

    (@gdlt88)

    The tests that I performed were the following:
    1.- Standard mode: Desktop and mobile version gives 500 error
    2.- Transitional mode: Desktop version loads, mobile version shows blank page

    Thread Starter gdlt88

    (@gdlt88)

    I incremented the wp_memoy_limit to 256 and now it doesnt show a 500 error but the main slider doesnt finish loading on desktop and on mobile there are some images that dont show up. Checked the logs and now just this error is showing up

    
    [21-Dec-2020 17:19:29 UTC] PHP Notice:  Undefined index: width_100 in /home/tfrmvz7wv0x6/public_html/getlikes.ca/wp-content/plugins/fusion-builder/shortcodes/fusion-container.php on line 1064
    
    Thread Starter gdlt88

    (@gdlt88)

    Also, tried viewing the AMP version of the website, and it seems that the styling is not loading. You can see it here https://getlikes.ca/?amp

    Plugin Support Milind More

    (@milindmore22)

    @gdlt88

    Your theme may not be AMP compatible, please confirm with your theme author about AMP compatibility. for now, I will suggest using reader mode

    Also, Your AMP pages are failing validation as it has some custom javascript on AMP pages. you may use this tool to test your AMP pages.

    Thread Starter gdlt88

    (@gdlt88)

    Looking at this link, it seems that Avada supports AMP from version 5.1 https://avada.theme-fusion.com/whats-new-in-5-1/

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘500 Error when adding amp to website using Avada theme’ is closed to new replies.