Код:
Error: Call to a member function getPushTemplateName() on null src/XF/Service/Alert/Pusher.php:53
Сгенерировано пользователем: Неизвестная учетная запись 08.09.2020 в 07:00
Трассировка стека
#0 src/XF/Service/PusherTrait.php(175): XF\Service\Alert\Pusher->getNotificationBody()
#1 src/XF/Repository/UserAlert.php(147): XF\Service\Alert\Pusher->push()
#2 src/XF/Repository/UserAlert.php(111): XF\Repository\UserAlert->insertAlert(1, 1, 'admin', 'siropu_referral...', 1, 'winner', Array)
#3 src/addons/Siropu/ReferralContests/Cron/Contest.php(60): XF\Repository\UserAlert->alert(Object(MMO\Hide\XF\Entity\User), 1, 'fenomen', 'siropu_referral...', 1, 'winner')
#4 [internal function]: Siropu\ReferralContests\Cron\Contest::getContestWinner(Object(XF\Entity\CronEntry))
#5 src/XF/Job/Cron.php(35): call_user_func(Array, Object(XF\Entity\CronEntry))
#6 src/XF/Job/Manager.php(253): XF\Job\Cron->run(G)
#7 src/XF/Job/Manager.php(195): XF\Job\Manager->runJobInternal(Array, G)
#8 src/XF/Job/Manager.php(79): XF\Job\Manager->runJobEntry(Array, G)
#9 job.php(42): XF\Job\Manager->runQueue(false, 8)
#10 {main}
Содержимое запроса
<pre class='xdebug-var-dump' dir='ltr'>
<small>/home/root/domains/192.168.0.10/public_html/src/XF/Debugger.php:28:</small>
<b>array</b> <i>(size=4)</i>
'url' <font color='#888a85'>=></font> <small>string</small> <font color='#cc0000'>'/job.php'</font> <i>(length=8)</i>
'referrer' <font color='#888a85'>=></font> <small>string</small> <font color='#cc0000'>'https:// 192.168.0.10/index.php?account/account-details'</font> <i>(length=60)</i>
'_GET' <font color='#888a85'>=></font>
<b>array</b> <i>(size=0)</i>
<i><font color='#888a85'>empty</font></i>
'_POST' <font color='#888a85'>=></font>
<b>array</b> <i>(size=0)</i>
<i><font color='#888a85'>empty</font></i>
</pre>
Последнее редактирование модератором: