Calendar Fixed Bug when send Activity Summary Email

Affected add-on version
2.3.0
Code:
Server error log
InvalidArgumentException: Job XF:ActivitySummaryEmail: Unknown column event_date on NF\Calendar:Event src/XF/Mvc/Entity/Finder.php:1640
Generated by: Unknown account 15.01.2021. at 15:20
Stack trace
#0 src/XF/Mvc/Entity/Finder.php(603): XF\Mvc\Entity\Finder->resolveFieldToTableAndColumn('event_date', true)
#1 src/XF/Mvc/Entity/Finder.php(267): XF\Mvc\Entity\Finder->columnSqlName('event_date', true)
#2 src/XF/Mvc/Entity/Finder.php(132): XF\Mvc\Entity\Finder->buildCondition('event_date', '>', 1609510826)
#3 src/addons/NF/Calendar/ActivitySummary/LatestEvents.php(105): XF\Mvc\Entity\Finder->where('event_date', '>', 1609510826)
#4 src/XF/ActivitySummary/AbstractSection.php(76): NF\Calendar\ActivitySummary\LatestEvents->findDataForFetch(Object(NF\Calendar\Finder\Event))
#5 src/XF/Job/ActivitySummaryEmail.php(93): XF\ActivitySummary\AbstractSection->cacheDataIfNeeded()
#6 src/XF/Job/ActivitySummaryEmail.php(47): XF\Job\ActivitySummaryEmail->preFetchSectionData()
#7 src/XF/Job/Manager.php(258): XF\Job\ActivitySummaryEmail->run(8)
#8 src/XF/Job/Manager.php(200): XF\Job\Manager->runJobInternal(Array, 8)
#9 src/XF/Job/Manager.php(84): XF\Job\Manager->runJobEntry(Array, 8)
#10 job.php(43): XF\Job\Manager->runQueue(false, 8)
#11 {main}
Request state
array(4) {
  ["url"] => string(8) "/job.php"
  ["referrer"] => string(27) "https://www.pijanitvor.com/"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
Delete
 
Back
Top