Bug Fresh install - getTransportFromOption() must be of the type array spamming

Status
Not open for further replies.

ichpen

Customer
Installed 4.2.4 on XF 2.1, got a million of the below spamming my error log. Now disabled. Not the best start.

  • TypeError: Argument 2 passed to XF\Mail\Mailer::getTransportFromOption() must be of the type array, null given, called in /home/nginx/domains/mysite.com/public/src/addons/DBTech/Mail/Job/DigestEmail.php on line 281
  • src/XF/Mail/Mailer.php:331
  • Generated by: Unknown account
  • Apr 19, 2019 at 8:01 PM
Stack trace
#0 src/addons/DBTech/Mail/Job/DigestEmail.php(281): XF\Mail\Mailer::getTransportFromOption(NULL, NULL)
#1 src/XF/Job/AbstractUserCriteriaJob.php(59): DBTech\Mail\Job\DigestEmail->executeAction(Object(ForumApps\API\XF\Entity\User))
#2 src/addons/DBTech/Mail/Job/DigestEmail.php(79): XF\Job\AbstractUserCriteriaJob->run(G)
#3 src/XF/Job/Manager.php(253): DBTech\Mail\Job\DigestEmail->run(G)
#4 src/XF/Job/Manager.php(195): XF\Job\Manager->runJobInternal(Array, G)
#5 src/XF/Job/Manager.php(79): XF\Job\Manager->runJobEntry(Array, G)
#6 job.php(42): XF\Job\Manager->runQueue(false, 8)
#7 {main}
Request state
array(4) {
["url"] => string(8) "/job.php"
["referrer"] => string(95) "https://mysite.com/threads/continental-extreme-contact-dws06-tires.25300/page-2"
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}
 
After re-enabling the addon the above errors went away but you may want to look into addressing this for future customers.
 
Fixed in the next version, thanks.

The correct fix is to edit and save the digest.
 
Hello @ichpen,

We hope your ticket regarding DragonByte Mail has been addressed to your satisfaction. This ticket has now been closed.

If your ticket has not been resolved, you can reply to this thread at any point in the next 7 days in order to reopen the ticket, afterwards this thread will be closed.

Please do not reply to this thread if your ticket has been resolved.

Thank you.


- DragonByte Technologies, Ltd.
 
Status
Not open for further replies.

Similar threads

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,342
Customer rating
0.00 star(s) 0 ratings
Back
Top