Bug Installed Mail Get Error

Status
Not open for further replies.

THM

Customer
tack trace
#0 src/addons/DBTech/Mail/Entity/Newsletter.php(494): DBTech\Mail\Application\Core->getForumCache()
#1 src/addons/DBTech/Mail/Model/Newsletter.php(148): DBTech\Mail\Entity\Newsletter->processUser(Array, Array)
#2 src/addons/DBTech/Mail/XF/Cron/Mail.php(10): DBTech\Mail\Model\Newsletter->sendNewsletter()
#3 [internal function]: DBTech\Mail\XF\Cron\Mail::sendNewsletter(Object(XF\Entity\CronEntry))
#4 src/XF/Job/Cron.php(35): call_user_func(Array, Object(XF\Entity\CronEntry))
#5 src/XF/Job/Manager.php(241): XF\Job\Cron->run(7.9999990463257)
#6 src/XF/Job/Manager.php(187): XF\Job\Manager->runJobInternal(Array, 7.9999990463257)
#7 src/XF/Job/Manager.php(76): XF\Job\Manager->runJobEntry(Array, 7.9999990463257)
#8 job.php(15): XF\Job\Manager->runQueue(false, 8)
#9 {main}
Request state
array(4) {
["url"] => string(8) "/job.php"
["referrer"] => string(84) "https://www.hobby-machinist.com/forums/the-members-hangout-off-topic-discussions.40/"
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}
 
Server error log
  • Error: Call to a member function toArray() on null
  • src/addons/DBTech/Mail/Application/Core.php:359
  • Generated by: Unknown account
  • Jul 14, 2018 at 12:50 PM
Stack trace
#0 src/addons/DBTech/Mail/Entity/Newsletter.php(494): DBTech\Mail\Application\Core->getForumCache()
#1 src/addons/DBTech/Mail/Model/Newsletter.php(148): DBTech\Mail\Entity\Newsletter->processUser(Array, Array)
#2 src/addons/DBTech/Mail/XF/Cron/Mail.php(10): DBTech\Mail\Model\Newsletter->sendNewsletter()
#3 [internal function]: DBTech\Mail\XF\Cron\Mail::sendNewsletter(Object(XF\Entity\CronEntry))
#4 src/XF/Job/Cron.php(35): call_user_func(Array, Object(XF\Entity\CronEntry))
#5 src/XF/Job/Manager.php(241): XF\Job\Cron->run(8)
#6 src/XF/Job/Manager.php(187): XF\Job\Manager->runJobInternal(Array, 8)
#7 src/XF/Job/Manager.php(76): XF\Job\Manager->runJobEntry(Array, 8)
#8 job.php(15): XF\Job\Manager->runQueue(false, 8)
#9 {main}
Request state
array(4) {
["url"] => string(8) "/job.php"
["referrer"] => string(94) "https://www.hobby-machinist.com/threads/has-anyone-attempted-to-made-revolver-cylinders.20995/"
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}

and ALSO when I go to mail>manage digests> newsletter,I get:


An exception occurred: [Error] Call to a member function toArray() on null in src/addons/DBTech/Mail/Application/Core.php on line 359
  1. DBTech\Mail\Application\Core->getForumCache() in src/addons/DBTech/Mail/ActionAdmin/Newsletter.php at line 112
  2. DBTech\Mail\ActionAdmin\Newsletter->actionModify() in src/addons/DBTech/Mail/Application/Core.php at line 173
  3. DBTech\Mail\Application\Core->runAction() in src/addons/DBTech/Mail/Admin/Controller/Route.php at line 45
  4. DBTech\Mail\Admin\Controller\Route->actionIndex() in src/XF/Mvc/Dispatcher.php at line 249
  5. XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 88
  6. XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 41
  7. XF\Mvc\Dispatcher->run() in src/XF/App.php at line 1931
  8. XF\App->run() in src/XF.php at line 328
  9. XF::runApp() in admin.php at line 13
 
This can happen if you have a record in your xf_forum table that does not have a corresponding record in the xf_node table. I would investigate that.

Barring that, this will be fixed in the future after the re-work of the XF2 version :)
 
This is not a bug in this mod, this is a problem with your database. I apologise that I could not answer your query in time before you decided to uninstall it.

The upcoming re-engineered version will be less susceptible to problems like this.

As this ticket is no longer relevant, I'll close it.
 
Status
Not open for further replies.

DragonByte Mail

XenForo 1.5.3+ XenForo 2.0.x XenForo 2.1.x XenForo 2.2.x XenForo 2.3.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
1,373
Customer rating
0.00 star(s) 0 ratings
Back
Top