Hi I updated to
https://www.drupal.org/project/spammaster/releases/8.x-1.63 →
on Drupal 8.9.1 PHP 7.2 Lamp but getting this. Do you guys know how to fix? I did the database update after upgrading.
Thanks,
Mark.
[29-Jun-2020 21:07:53 Europe/London] Error: Call to a member function fields() on null in public_html/modules/spammaster/src/Controller/SpamMasterMailController.php on line 508 #0 public_html/modules/spammaster/src/Controller/SpamMasterCronController.php(66): Drupal\spammaster\Controller\SpamMasterMailController->spammastermailweeklyreport()
#1 public_html/modules/spammaster/spammaster.module(77): Drupal\spammaster\Controller\SpamMasterCronController->spammasterweeklycron()
#2 [internal function]: spammaster_cron()
#3 public_html/core/lib/Drupal/Core/Extension/ModuleHandler.php(392): call_user_func_array('spammaster_cron', Array)
#4 public_html/core/lib/Drupal/Core/Cron.php(236): Drupal\Core\Extension\ModuleHandler->invoke('spammaster', 'cron')
#5 public_html/core/lib/Drupal/Core/Cron.php(134): Drupal\Core\Cron->invokeCronHandlers()
#6 public_html/core/lib/Drupal/Core/ProxyClass/Cron.php(75): Drupal\Core\Cron->run()
#7 public_html/core/modules/automated_cron/src/EventSubscriber/AutomatedCron.php(65): Drupal\Core\ProxyClass\Cron->run()
#8 [internal function]: Drupal\automated_cron\EventSubscriber\AutomatedCron->onTerminate(Object(Symfony\Component\HttpKernel\Event\PostResponseEvent), 'kernel.terminat...', Object(Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher))
#9 public_html/core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php(111): call_user_func(Array, Object(Symfony\Component\HttpKernel\Event\PostResponseEvent), 'kernel.terminat...', Object(Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher))
#10 public_html/vendor/symfony/http-kernel/HttpKernel.php(88): Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.terminat...', Object(Symfony\Component\HttpKernel\Event\PostResponseEvent))
#11 public_html/vendor/stack/builder/src/Stack/StackedHttpKernel.php(32): Symfony\Component\HttpKernel\HttpKernel->terminate(Object(Symfony\Component\HttpFoundation\Request), Object(Symfony\Component\HttpFoundation\Response))
#12 public_html/core/lib/Drupal/Core/DrupalKernel.php(686): Stack\StackedHttpKernel->terminate(Object(Symfony\Component\HttpFoundation\Request), Object(Symfony\Component\HttpFoundation\Response))
#13 public_html/index.php(22): Drupal\Core\DrupalKernel->terminate(Object(Symfony\Component\HttpFoundation\Request), Object(Symfony\Component\HttpFoundation\Response))
#14 {main}
Closed: cannot reproduce
1.63
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.