AMP Theme Error on simplytest.me that is "The website encountered an unexpected error. Please try again later."

Created on 18 October 2023, about 1 year ago
Updated 8 January 2024, 12 months ago

Problem/Motivation

AMP Theme Error on simplytest.me that is "The website encountered an unexpected error. Please try again later."

Steps to reproduce

Create simplytest setup using AMP Theme 3.1 โ†’ and Drupal 9.5.8 Now install AMP module โ†’ and dependency modules(token, schema_metatag, adsense) and refresh website.

๐Ÿ› Bug report
Status

Closed: works as designed

Version

4.0

Component

Code

Created by

๐Ÿ‡ฎ๐Ÿ‡ณIndia ravi kant Jaipur

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @ravi kant
  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia mahtab_alam

    I have tried installing the amp theme with drupal 9.5.8 with additional module and site runs well.

  • Status changed to RTBC 12 months ago
  • Status changed to Active 12 months ago
  • ๐Ÿ‡ฌ๐Ÿ‡งUnited Kingdom rachel_norfolk UK

    So far as I can see, there are no changes proposed to test here? Are you suggesting it "works as designed", @mahtab_alam?

    If there is nothing to test, we can't have reviewed a test.

  • ๐Ÿ‡ฌ๐Ÿ‡งUnited Kingdom rachel_norfolk UK

    Testing this on 10.2 leads to a dependency error on the stable theme. That's because it was deprecated at end of 9.x

  • Status changed to Closed: works as designed 12 months ago
  • ๐Ÿ‡ฌ๐Ÿ‡งUnited Kingdom rachel_norfolk UK

    Using Drupal 9.5.11 as the base core, adding amp module and installing is successful.

    I think that the amp theme needs a little work to make it compatible.

    I'd suggest:

    1. Adding a dependency for the amp module into the amp theme composer.json
    2. Removing the requirement on the now deprecated stable theme.

    Closing as Works as Designed.

  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia ravi kant Jaipur

    I am still getting same error. Attaching screenshot.




    Getting below error when i am enabling and setting default to sub theme ExAMPle Subtheme 8.x-3.1

  • ๐Ÿ‡ฌ๐Ÿ‡งUnited Kingdom rachel_norfolk UK

    That error is coming from BigPipe as it is incompatible with AMP theme. There was an attempt to resolve this at https://www.drupal.org/project/amp/issues/2723627 โ†’ but it appears that there might be further composer.json changes required to ensure it is not running.

    Disabling bigpipe makes the error go away, thatโ€™s for sure.

  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia ravi kant Jaipur

    Thank you @ravi kant
    Errors is not appearing after disable bigpipe modue.

Production build 0.71.5 2024