Express Add or Change Entry Logger is Null

I recently upgraded to version 9.4.7 of Concrete CMS from 9.4.4. I’m now getting the error below whenever I add or change an Express entry. I noticed some logging functionality was added in 9.4.6 that seems to be causing this issue. However, I don’t know if it is the code change or if I need to change my logging configuration. Any ideas?

Call to a member function info() on null

  • Exception

  • Stack Trace

Error

in /concrete/src/Express/Entry/Manager.php (line 135)

  1. $ev->setEntityManager($this->entityManager);

  2. \Events::dispatch('on_express_entry_saved', $ev);

  3. $this->entityManager->refresh($entry);

  4. $this->logger->info(t('Saved Express entry attributes for %s (%s)', $entry->getLabel(), $entry->getID()));

  5. return $ev->getEntry();

  6. }

  7. public function getEntryAttributeValuesForm(Form $form, Entry $entry)

  8. {

Are you referring to the logging changes that fixed this issue?

I can’t reproduce your error with a fresh install. Can you provide more details on how to reproduce?

Also, how is your logging set up? Database or files? Does other logging work correctly (like recording user logins, if it’s configured to do that)?