XF 2.2 Trying to get property 'language_id' of non-object

trapped_soul

Well-known member
Hello all,
Does anyone know what this is, and possibly what I can do to solve this?
It's from an add-on I know, but other things have triggered it too and I am unsure how to address it.
Very many thanks!


Code:
    ErrorException: [E_NOTICE] Trying to get property 'language_id' of non-object src/addons/XFA/XFMGMediaOfTheMonth/Cron/XFMGMediaOfTheMonth.php:37

    Generated by: Unknown account 23 June 2021 at 13:41

Stack trace

#0 src/addons/XFA/XFMGMediaOfTheMonth/Cron/XFMGMediaOfTheMonth.php(37): XF::handlePhpError(8, '[E_NOTICE] Tryi...', '//', 37, Array)
#1 src/addons/XFA/XFMGMediaOfTheMonth/Cron/XFMGMediaOfTheMonth.php(19): XFA\XFMGMediaOfTheMonth\Cron\XFMGMediaOfTheMonth::cronMode1()
#2 [internal function]: XFA\XFMGMediaOfTheMonth\Cron\XFMGMediaOfTheMonth::cron(Object(XF\Entity\CronEntry))
#3 src/XF/Job/Cron.php(34): call_user_func(Array, Object(XF\Entity\CronEntry))
#4 src/XF/Job/Manager.php(258): XF\Job\Cron->run(8)
#5 src/XF/Job/Manager.php(200): XF\Job\Manager->runJobInternal(Array, 8)
#6 src/XF/Job/Manager.php(84): XF\Job\Manager->runJobEntry(Array, 8)
#7 job.php(43): XF\Job\Manager->runQueue(false, 8)
#8 {main}

Request state

array(4) {
  ["url"] => string(8) "/job.php"
  ["referrer"] => string(29) ""
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
 
Top Bottom