Skip to content
Snippets Groups Projects

Issue #3383789: Error: Call to a member function getAlias() on null

165 files
+ 1600
1526
Compare changes
  • Side-by-side
  • Inline
Files
165
@@ -4,22 +4,22 @@ declare(strict_types = 1);
namespace Drupal\entity_share_async\Plugin\QueueWorker;
use Drupal\Core\Plugin\ContainerFactoryPluginInterface;
use Drupal\Core\Queue\QueueWorkerBase;
use Drupal\Core\State\StateInterface;
use Drupal\entity_share_async\Service\QueueHelperInterface;
use Drupal\entity_share_client\ImportContext;
use Drupal\entity_share_client\Service\ImportServiceInterface;
use Psr\Log\LoggerInterface;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Drupal\Core\Plugin\ContainerFactoryPluginInterface;
use Drupal\Core\Queue\QueueWorkerBase;
/**
* Asynchronous import queue worker.
*
* @QueueWorker(
* id = "entity_share_async_import",
* title = @Translation("Entity Share asynchronous import"),
* cron = {"time" = 30}
* id = "entity_share_async_import",
* title = @Translation("Entity Share asynchronous import"),
* cron = {"time" = 30}
* )
*/
class EntityShareAsyncWorker extends QueueWorkerBase implements ContainerFactoryPluginInterface {
@@ -88,7 +88,7 @@ class EntityShareAsyncWorker extends QueueWorkerBase implements ContainerFactory
if (empty($ids)) {
$this->logger->warning(
"Cannot synchronize item @uuid from channel @channel_id of remote @remote_id with the import config @import_config_id",
'Cannot synchronize item @uuid from channel @channel_id of remote @remote_id with the import config @import_config_id',
[
'@uuid' => $item['uuid'],
'@channel_id' => $item['channel_id'],
Loading