Adding a server on a multidev environment causes the site to wsod/error out.
To recreate:
On a multidev environment Drupal v8.2.6
Followed installation steps here:
https://pantheon.io/docs/solr-drupal-8/
When adding a server I chose backend 'Solr' connector 'Pantheon' and hit save.
Immediately redirecting me to a wsod.
Error in logs:
TypeError: Argument 1 passed to Drupal\search_api_pantheon\SchemaPoster::__construct() must be an instance of Drupal\Core\Logger\LoggerChannelFactory, instance of Drupal\redirect_404\Render\Redirect404LogSuppressor given, called in /srv/bindings/9336fcf9323948d09c080cc964e1d6b5/code/core/lib/Drupal/Component/DependencyInjection/Container.php on line 272 in Drupal\search_api_pantheon\SchemaPoster->__construct() (line 37 of /srv/bindings/9336fcf9323948d09c080cc964e1d6b5/code/modules/contrib/search_api_pantheon/src/SchemaPoster.php) #0 /srv/bindings/9336fcf9323948d09c080cc964e1d6b5/code/core/lib/Drupal/Component/DependencyInjection/Container.php(272): Drupal\search_api_pantheon\SchemaPoster->__construct(Object(Drupal\redirect_404\Render\Redirect404LogSuppressor), Object(GuzzleHttp\Client))
Additionally:
I noted an Ajax error on the form whenever Pantheon is selected as an connector
Comments
Comment #2
stevectorHi gcalex5,
The error message indicates a compatibility problem with redirect_404 module. I don't see a Drupal 8 version of that module: http://cgit.drupalcode.org/redirect_404
Are you working with a private version of redirect_404?
I'm guessing that I'll have to end up adjusting the function signature of SchemaPoster__construct() to rely on an interface rather than a class.
Comment #3
stevectorAh, here we go #2852828: Workbench email processor cannot be initiated, when another module overrides the LoggerChannelFactory
Comment #4
stevectorgcalex5, can you try https://github.com/pantheon-systems/search_api_pantheon/pull/63
I haven't tested it myself yet. The fix looks pretty simple.
Comment #5
gcalex5 CreditAttribution: gcalex5 at Inclind Inc commentedstevector that fix worked! thanks!
Comment #6
stevectorMerged. Thanks for testing!
I'll roll a release soon.
Comment #7
stevector