Fixed Call to undefined method XF\Pub\App::mailQueue()

HePBiZ

Member
Affected version
2.3.0.7
  • Code:
    Error: Call to undefined method XF\Pub\App::mailQueue() src/XF/Job/MailQueue.php:9
    Tarafından: Bilinmeyen hesap 19 May 2024 - 13:55
    Yığın izleme
    #0 src/XF/Job/Manager.php(272): XF\Job\MailQueue->run(8)
    #1 src/XF/Job/Manager.php(202): XF\Job\Manager->runJobInternal(Array, 8)
    #2 src/XF/Job/Manager.php(86): XF\Job\Manager->runJobEntry(Array, 8)
    #3 job.php(43): XF\Job\Manager->runQueue(false, 8)
    #4 {main}
    Durum isteği
    array(4) {
      ["url"] => string(8) "/job.php"
      ["referrer"] => string(48) "https://xx.com/admin.php?logs/server-errors/"
      ["_GET"] => array(0) {
      }
      ["_POST"] => array(0) {
      }
    }

Hello, I keep encountering this problem. Almost 8-10 reports come into the system every minute. Can you help me solve it?
 
It looks like you might have a stale job in the xf_job table.

I think you can solve this without any side effects by running the following query:

SQL:
DELETE FROM xf_job
WHERE execute_class = 'XF:MailQueue';

Though we will need to make some changes here so this situation doesn't happen.
 
Thank you for reporting this issue, it has now been resolved. We are aiming to include any changes that have been made in a future XF release (2.3.0 Beta 8).

Change log:
Remove stale MailQueue job on upgrade to 2.3
There may be a delay before changes are rolled out to the XenForo Community.
 
Back
Top Bottom