- Status changed to Needs review
about 2 years ago 11:00pm 19 January 2023 - Status changed to Fixed
about 2 years ago 8:52am 20 January 2023 Automatically closed - issue fixed for 2 weeks with no activity.
Errors when installing project on a Drupal 10 / PHP 8.1 project.
* Drupal 10.0.1
* PHP 8.1
* Taxonomy Entity Index 1.11.0 or 1.x-dev
drush en taxonomy_entity_index
Fatal error: Type of Drupal\taxonomy_entity_index\Commands\TaxonomyEntityIndexCommands::$logger must be ?Psr\Log\LoggerInterface (as in cl
ass Drush\Commands\DrushCommands) in /var/www/html/web/modules/contrib/taxonomy_entity_index/src/Commands/TaxonomyEntityIndexCommands.php
on line 13
Solution : remove $logger variable
Drupal\Core\Entity\Query\QueryException: Entity queries must explicitly set whether the query should be access checked or not. See Drupal\Core\Entity\Query\QueryInterface::accessCheck().
Solution: add a accesCheck to FALSE when using EntityTypeManager.
Fixed
1.11
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Automatically closed - issue fixed for 2 weeks with no activity.