XF 2.2 Getting the follwing error

Mike-1706

New member
Hello together

Got these error since 3 or 4 days.. I'm new with his and don't know what error it is and how to solve it (sorry).
Installed the Discord Add on from NixFifty. So it depends on it (that what I see)


  • TypeError: XF\Mvc\Entity\Entity::__construct(): Argument #1 ($em) must be of type XF\Mvc\Entity\Manager, XF\Pub\App given, called in /var/www/vhosts/sysops-finest.org/httpdocs/forum/src/XF/Container.php on line 276
  • src/XF/Mvc/Entity/Entity.php:96
  • Generiert von: Unbekanntes Konto
  • 09. März 2024 um 14:07

Stack-Trace​


#0 src/XF/Container.php(276): XF\Mvc\Entity\Entity->__construct(Object(XF\Pub\App), 898, Array)
#1 src/XF/App.php(1687): XF\Container->createObject('NF\\Discord\\Enti...', Array, true)
#2 src/XF/Container.php(234): XF\App->XF\{closure}('NF\\Discord\\Enti...', Array, Object(XF\Container))
#3 src/XF/App.php(3081): XF\Container->create('job', 'NF\\Discord\\Enti...', Array)
#4 src/XF/Job/Manager.php(238): XF\App->job('NF\\Discord\\Enti...', 898, Array)
#5 src/XF/Job/Manager.php(243): XF\Job\Manager->getJobRunner(Array)
#6 src/XF/Job/Manager.php(202): XF\Job\Manager->runJobInternal(Array, 7.93262)
#7 src/XF/Job/Manager.php(86): XF\Job\Manager->runJobEntry(Array, 7.93262)
#8 job.php(43): XF\Job\Manager->runQueue(false, 8)
#9 {main}

Status der Anfrage​

array(4) {
["url"] => string(14) "/forum/job.php"
["referrer"] => string(45) "https://www.sysops-finest.org/forum/index.php"
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}

So far "I think" the connection to Discord is established. The Add on told everything works well. Bot is installed and reacts on the heartbeat.
By the way. The website from NixFifty explains how to set up the Bot as always on in a short way.
Is here anybody who can explain this for a "dummy"?

Thank you for your help!

Greetings from germany

Mike
 
Back
Top Bottom