TypeError: Cannot assign null to property Drupal\salesforce\Rest\RestResponseDescribe::$fieldOptions of type array in Memcached->getMulti()

Created on 18 March 2024, 9 months ago

Problem/Motivation

I keep seeing this error when the Salesforce Pull process tries to run - unfortunately I can't offer much more right now because I can't recreate it in my local environment.

TypeError: Cannot assign null to property Drupal\salesforce\Rest\RestResponseDescribe::$fieldOptions of type array in Memcached->getMulti() (line 71 of /mnt/www/html/main2023a58s2brlwv/docroot/modules/contrib/memcache/src/Driver/MemcachedDriver.php) #0 /mnt/www/html/main2023a58s2brlwv/docroot/modules/contrib/memcache/src/Driver/MemcachedDriver.php(71): Memcached->getMulti(Array, 1)
#1 /mnt/www/html/main2023a58s2brlwv/docroot/modules/contrib/memcache/src/MemcacheBackend.php(144): Drupal\memcache\Driver\MemcachedDriver->getMulti(Array)
#2 /mnt/www/html/main2023a58s2brlwv/docroot/modules/contrib/memcache/src/MemcacheBackend.php(136): Drupal\memcache\MemcacheBackend->getMultiple(Array, false)
#3 /mnt/www/html/main2023a58s2brlwv/docroot/modules/contrib/salesforce/src/Rest/RestClient.php(529): Drupal\memcache\MemcacheBackend->get('salesforce:obje...')
#4 /mnt/www/html/main2023a58s2brlwv/docroot/modules/contrib/salesforce/modules/salesforce_mapping/src/SalesforceMappingFieldPluginBase.php(275): Drupal\salesforce\Rest\RestClient->objectDescribe('Contact')
#5 /mnt/www/html/main2023a58s2brlwv/docroot/modules/contrib/salesforce/modules/salesforce_mapping/src/Plugin/SalesforceMappingField/PropertiesBase.php(123): Drupal\salesforce_mapping\SalesforceMappingFieldPluginBase->pullValue(Object(Drupal\salesforce\SObject), Object(Drupal\user\Entity\User), Object(Drupal\salesforce_mapping\Entity\SalesforceMapping))
#6 /mnt/www/html/main2023a58s2brlwv/docroot/modules/contrib/salesforce/modules/salesforce_mapping/src/Entity/MappedObject.php(548): Drupal\salesforce_mapping\Plugin\SalesforceMappingField\PropertiesBase->pullValue(Object(Drupal\salesforce\SObject), Object(Drupal\user\Entity\User), Object(Drupal\salesforce_mapping\Entity\SalesforceMapping))
#7 /mnt/www/html/main2023a58s2brlwv/docroot/modules/contrib/salesforce/modules/salesforce_pull/src/Plugin/QueueWorker/PullBase.php(294): Drupal\salesforce_mapping\Entity\MappedObject->pull()
#8 /mnt/www/html/main2023a58s2brlwv/docroot/modules/contrib/salesforce/modules/salesforce_pull/src/Plugin/QueueWorker/PullBase.php(126): Drupal\salesforce_pull\Plugin\QueueWorker\PullBase->createEntity(Object(Drupal\salesforce_mapping\Entity\SalesforceMapping), Object(Drupal\salesforce\SObject))
#9 /mnt/www/html/main2023a58s2brlwv/docroot/core/lib/Drupal/Core/Cron.php(268): Drupal\salesforce_pull\Plugin\QueueWorker\PullBase->processItem(Object(Drupal\salesforce_pull\PullQueueItem))
#10 /mnt/www/html/main2023a58s2brlwv/docroot/core/lib/Drupal/Core/Cron.php(233): Drupal\Core\Cron->processQueue(Object(Drupal\Core\Queue\DatabaseQueue), Object(Drupal\salesforce_pull\Plugin\QueueWorker\CronPull))
#11 /mnt/www/html/main2023a58s2brlwv/docroot/modules/contrib/ultimate_cron/src/UltimateCron.php(70): Drupal\Core\Cron->processQueues()
#12 /mnt/www/html/main2023a58s2brlwv/docroot/modules/contrib/ultimate_cron/src/ProxyClass/UltimateCron.php(70): Drupal\ultimate_cron\UltimateCron->run()
#13 /mnt/www/html/main2023a58s2brlwv/vendor/drush/drush/src/Commands/core/DrupalCommands.php(63): Drupal\ultimate_cron\ProxyClass\UltimateCron->run()
#14 [internal function]: Drush\Commands\core\DrupalCommands->cron(Array)
#15 /mnt/www/html/main2023a58s2brlwv/vendor/consolidation/annotated-command/src/CommandProcessor.php(276): call_user_func_array(Array, Array)
#16 /mnt/www/html/main2023a58s2brlwv/vendor/consolidation/annotated-command/src/CommandProcessor.php(212): Consolidation\AnnotatedCommand\CommandProcessor->runCommandCallback(Array, Object(Consolidation\AnnotatedCommand\CommandData))
#17 /mnt/www/html/main2023a58s2brlwv/vendor/consolidation/annotated-command/src/CommandProcessor.php(176): Consolidation\AnnotatedCommand\CommandProcessor->validateRunAndAlter(Array, Array, Object(Consolidation\AnnotatedCommand\CommandData))
#18 /mnt/www/html/main2023a58s2brlwv/vendor/consolidation/annotated-command/src/AnnotatedCommand.php(391): Consolidation\AnnotatedCommand\CommandProcessor->process(Object(Symfony\Component\Console\Output\ConsoleOutput), Array, Array, Object(Consolidation\AnnotatedCommand\CommandData))
#19 /mnt/www/html/main2023a58s2brlwv/vendor/symfony/console/Command/Command.php(326): Consolidation\AnnotatedCommand\AnnotatedCommand->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#20 /mnt/www/html/main2023a58s2brlwv/vendor/symfony/console/Application.php(1096): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#21 /mnt/www/html/main2023a58s2brlwv/vendor/symfony/console/Application.php(324): Symfony\Component\Console\Application->doRunCommand(Object(Consolidation\AnnotatedCommand\AnnotatedCommand), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#22 /mnt/www/html/main2023a58s2brlwv/vendor/symfony/console/Application.php(175): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#23 /mnt/www/html/main2023a58s2brlwv/vendor/drush/drush/src/Runtime/Runtime.php(110): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#24 /mnt/www/html/main2023a58s2brlwv/vendor/drush/drush/src/Runtime/Runtime.php(40): Drush\Runtime\Runtime->doRun(Array, Object(Symfony\Component\Console\Output\ConsoleOutput))
#25 /mnt/www/html/main2023a58s2brlwv/vendor/drush/drush/drush.php(139): Drush\Runtime\Runtime->run(Array)
#26 /mnt/www/html/main2023a58s2brlwv/vendor/drush/drush/drush(4): require('/mnt/www/html/m...')
#27 /mnt/www/html/main2023a58s2brlwv/vendor/bin/drush(119): include('/mnt/www/html/m...')
#28 {main}. [4.58 sec, 18.61 MB]
TypeError: Cannot assign null to property Drupal\salesforce\Rest\RestResponseDescribe::$fieldOptions of type array in Memcached->getMulti() (line 71 of /mnt/www/html/main2023a58s2brlwv/docroot/modules/contrib/memcache/src/Driver/MemcachedDriver.php).
 [warning] Drush command terminated abnormally. [4.59 sec, 18.79 MB]
🐛 Bug report
Status

Active

Version

5.0

Component

salesforce.module

Created by

🇺🇸United States dmgig

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024