Hi,
subject: advagg compatibility issue with cdn drupal 8

When i enable advagg (Advanced CSS/JS Aggregation) site goes to "The website encountered an unexpected error. Please try again later." this happen because in my site files server through cdn (Version: 8.x-3.2)

error occur:
[error] 5870#0: *21660 FastCGI sent in stderr: "PHP message: TypeError: Argument 1 passed to
Drupal\s3fs\EventSubscriber\S3fsAdvAggSubscriber::__construct() must be an instance of Drupal\s3fs\Asset\S3fsCssOptimizer,
instance of Drupal\cdn\Asset\CssOptimizer given, called in
/usr/share/nginx/html/stage_page1_d8/core/lib/Drupal/Component/DependencyInjection/Container.php on line 262 in
/usr/share/nginx/html/stage_page1_d8/modules/s3fs/src/EventSubscriber/S3fsAdvAggSubscriber.php on line 29

#0 /usr/share/nginx/html/stage_page1_d8/core/lib/Drupal/Component/DependencyInjection/Container.php(262):
Drupal\s3fs\EventSubscriber\S3fsAdvAggSubscriber->__construct(Object(Drupal\cdn\Asset\CssOptimizer))

#1 /usr/share/nginx/html/stage_page1_d8/core/lib/Drupal/Component/DependencyInjection/Container.php(171):
Drupal\Component\DependencyInjection\Container->createService(Array, 's3fs.advagg.css...')

#2 /usr/share/nginx/html/stage_page1_d8/core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php(105):
Drupal\Component\DependencyInjection\Container->g" while reading response header from upstream,
client: 14.141.50.170, server: www.humbertospanish.d8dev.page1solutions.com, request:
"GET /batch?id=195&op=start HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "www.humbertospanish.d8dev.page1solutions.com"

Comments

Gaurav Jadaun created an issue. See original summary.

avpaderno’s picture

Assigned: Gaurav Jadaun » Unassigned
Priority: Critical » Normal
Status: Needs review » Fixed
Issue tags: -subject: advagg compatibility issue with cdn drupal 8

This issue queue is for reports for drupal.org and its sub-domains. For questions on sites you maintain/develop, ask on the forums.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

avpaderno’s picture