Bug TypeError: Argument 2 passed to XF\Mail\Mailer::getTransportFromOption() must be of the type array, null given

Status
Not open for further replies.

doublespaces

Customer
Got a number of these, but only seemed to be one time yesterday.
Code:
    TypeError: Argument 2 passed to XF\Mail\Mailer::getTransportFromOption() must be of the type array, null given, called in /home/xyz/domains/xyz. Com/public_html/boards/src/addons/DBTech/Mail/Job/DigestEmail.php on line 266 src/XF/Mail/Mailer.php:331

    Generated by: Unknown account May 4, 2019 at 7:11 PM

Stack trace

#0 src/addons/DBTech/Mail/Job/DigestEmail.php(266): XF\Mail\Mailer::getTransportFromOption(NULL, NULL)
#1 src/XF/Job/AbstractUserCriteriaJob.php(59): DBTech\Mail\Job\DigestEmail->executeAction(Object(ThemeHouse\QAForums\XF\Entity\User))
#2 src/addons/DBTech/Mail/Job/DigestEmail.php(64): 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(59) "https://xyz.com/threads/afr-on-n54-tuning.2744/"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
 
Last edited:
You can edit and save the digest without any changes to work around this issue. I plan to address it for clean installs in future versions.
 
Hello @doublespaces,

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.

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