- Issue created by @ravi kant
- Status changed to Closed: works as designed
about 1 year ago 12:00pm 16 October 2023 - ๐ฎ๐ณIndia ravi kant Jaipur
The error solved after install AMP Module โ .
- Status changed to Active
about 1 year ago 12:32pm 16 October 2023 - ๐ฎ๐ณIndia ravi kant Jaipur
Still getting below errors.
TypeError: Unsupported operand types: array + null in Drupal\big_pipe\Render\BigPipe->sendPlaceholders() (line 578 of /app/web/core/modules/big_pipe/src/Render/BigPipe.php) #0 /app/web/core/modules/big_pipe/src/Render/BigPipe.php(305): Drupal\big_pipe\Render\BigPipe->sendPlaceholders(Array, Array, Object(Drupal\Core\Asset\AttachedAssets))
Deprecated function: dirname(): Passing null to parameter #1 ($path) of type string is deprecated in Drupal\Core\Extension\ExtensionPathResolver->getPath() (line 85 of /app/web/core/lib/Drupal/Core/Extension/ExtensionPathResolver.php) #0 /app/web/core/includes/bootstrap.inc(164): _drupal_error_handler_real(8192, 'dirname(): Pass...', '/app/web/core/l...', 85) #1 [internal function]: _drupal_error_handler(8192, 'dirname(): Pass...', '/app/web/core/l...', 85) #2 /app/web/core/lib/Drupal/Core/Extension/ExtensionPathResolver.php(85): dirname(NULL) #3 /app/web/core/lib/Drupal/Core/Asset/LibraryDiscoveryParser.php(127): Drupal\Core\Extension\ExtensionPathResolver->getPath('theme', 'amp')
- ๐ฎ๐ณIndia ayush.pandey
Hi @ravikant, Able to reproduce the issue with Drupal 10 and module version 8.x-3.1, but the issue is resolved by installing the respective version of the amp and amptheme, for ex - 8.x-3.1 of amp theme should work with amp 8.x-3.1.
- ๐ฌ๐งUnited Kingdom rachel_norfolk UK
Hi - take a look at the final comment in #3394828: AMP Theme Error on simplytest.me that is "The website encountered an unexpected error. Please try again later." โ as the reason for the error you are now seeing in #3 is an incompatibility between AMP and BigPipe module.
Thereโs a link there to the composer.json changes needed to ensure this doesnโt occur but, for the purposes of simply test.me, just uninstall BigPipe.
- Status changed to Closed: works as designed
10 months ago 1:56pm 8 January 2024