Server error log
InvalidArgumentException: Attempted to convert NULL to string/binary [username] src/XF/Mvc/Entity/Entity.php:691
Generated by: Unknown account 08.10.2018. at 01:11
Stack trace
#0 src/XF/Mvc/Entity/Entity.php(575): XF\Mvc\Entity\Entity->_castValueToType(NULL, 'username', 5, Array)
#1 src/XF/Mvc/Entity/Entity.php(505): XF\Mvc\Entity\Entity->set('username', NULL)
#2 src/XF/Repository/UserAlert.php(110): XF\Mvc\Entity\Entity->__set('username', NULL)
#3 src/XF/Repository/UserAlert.php(74): XF\Repository\UserAlert->insertAlert(34457, 0, NULL, 'user', 34457, 'inbox_full', Array)
#4 src/addons/SV/ConversationEssentials/Repository/ConvEss.php(65): XF\Repository\UserAlert->alertFromUser(Object(SV\WarningImprovements\XF\Entity\User), Object(SV\WarningImprovements\XF\Entity\User), 'user', 34457, 'inbox_full', Array)
#5 src/addons/SV/ConversationEssentials/XF/Repository/Conversation.php(213): SV\ConversationEssentials\Repository\ConvEss->sendUniqueAlert(Object(SV\WarningImprovements\XF\Entity\User), Object(SV\WarningImprovements\XF\Entity\User), 'user', 34457, 'inbox_full')
#6 src/XF/Service/Conversation/Creator.php(87): SV\ConversationEssentials\XF\Repository\Conversation->getValidatedRecipients(Array, Object(SV\WarningImprovements\XF\Entity\User), NULL, true)
#7 src/addons/SV/ConversationImprovements/XF/Service/Conversation/Creator.php(34): XF\Service\Conversation\Creator->setRecipients(Array, true, true)
#8 src/addons/SV/ExpiringUserUpgrades/XF/Repository/UserUpgrade.php(341): SV\ConversationImprovements\XF\Service\Conversation\Creator->setRecipients(Array)
#9 src/addons/SV/ExpiringUserUpgrades/XF/Repository/UserUpgrade.php(111): SV\ExpiringUserUpgrades\XF\Repository\UserUpgrade->svNotifyUser(Object(SV\ExpiringUserUpgrades\XF\Entity\UserUpgradeActive), Object(SV\ExpiringUserUpgrades\XF\Entity\UserUpgrade), 'expiring_upgrad...')
#10 src/addons/SV/ExpiringUserUpgrades/Cron/CleanUp.php(19): SV\ExpiringUserUpgrades\XF\Repository\UserUpgrade->alertExpiringUserUpgrades()
#11 [internal function]: SV\ExpiringUserUpgrades\Cron\CleanUp::runAlertExpiringUserUpgrades(Object(XF\Entity\CronEntry))
#12 src/XF/Job/Cron.php(35): call_user_func(Array, Object(XF\Entity\CronEntry))
#13 src/XF/Job/Manager.php(241): XF\Job\Cron->run(8)
#14 src/XF/Job/Manager.php(187): XF\Job\Manager->runJobInternal(Array, 8)
#15 src/XF/Job/Manager.php(76): XF\Job\Manager->runJobEntry(Array, 8)
#16 job.php(14): XF\Job\Manager->runQueue(false, 8)
#17 {main}
-------------
Previous InvalidArgumentException: Attempted to convert NULL to string/binary - src/XF/Mvc/Entity/ValueFormatter.php:130
#0 src/XF/Mvc/Entity/Entity.php(687): XF\Mvc\Entity\ValueFormatter->castValueToType(NULL, 5, Array)
#1 src/XF/Mvc/Entity/Entity.php(575): XF\Mvc\Entity\Entity->_castValueToType(NULL, 'username', 5, Array)
#2 src/XF/Mvc/Entity/Entity.php(505): XF\Mvc\Entity\Entity->set('username', NULL)
#3 src/XF/Repository/UserAlert.php(110): XF\Mvc\Entity\Entity->__set('username', NULL)
#4 src/XF/Repository/UserAlert.php(74): XF\Repository\UserAlert->insertAlert(34457, 0, NULL, 'user', 34457, 'inbox_full', Array)
#5 src/addons/SV/ConversationEssentials/Repository/ConvEss.php(65): XF\Repository\UserAlert->alertFromUser(Object(SV\WarningImprovements\XF\Entity\User), Object(SV\WarningImprovements\XF\Entity\User), 'user', 34457, 'inbox_full', Array)
#6 src/addons/SV/ConversationEssentials/XF/Repository/Conversation.php(213): SV\ConversationEssentials\Repository\ConvEss->sendUniqueAlert(Object(SV\WarningImprovements\XF\Entity\User), Object(SV\WarningImprovements\XF\Entity\User), 'user', 34457, 'inbox_full')
#7 src/XF/Service/Conversation/Creator.php(87): SV\ConversationEssentials\XF\Repository\Conversation->getValidatedRecipients(Array, Object(SV\WarningImprovements\XF\Entity\User), NULL, true)
#8 src/addons/SV/ConversationImprovements/XF/Service/Conversation/Creator.php(34): XF\Service\Conversation\Creator->setRecipients(Array, true, true)
#9 src/addons/SV/ExpiringUserUpgrades/XF/Repository/UserUpgrade.php(341): SV\ConversationImprovements\XF\Service\Conversation\Creator->setRecipients(Array)
#10 src/addons/SV/ExpiringUserUpgrades/XF/Repository/UserUpgrade.php(111): SV\ExpiringUserUpgrades\XF\Repository\UserUpgrade->svNotifyUser(Object(SV\ExpiringUserUpgrades\XF\Entity\UserUpgradeActive), Object(SV\ExpiringUserUpgrades\XF\Entity\UserUpgrade), 'expiring_upgrad...')
#11 src/addons/SV/ExpiringUserUpgrades/Cron/CleanUp.php(19): SV\ExpiringUserUpgrades\XF\Repository\UserUpgrade->alertExpiringUserUpgrades()
#12 [internal function]: SV\ExpiringUserUpgrades\Cron\CleanUp::runAlertExpiringUserUpgrades(Object(XF\Entity\CronEntry))
#13 src/XF/Job/Cron.php(35): call_user_func(Array, Object(XF\Entity\CronEntry))
#14 src/XF/Job/Manager.php(241): XF\Job\Cron->run(8)
#15 src/XF/Job/Manager.php(187): XF\Job\Manager->runJobInternal(Array, 8)
#16 src/XF/Job/Manager.php(76): XF\Job\Manager->runJobEntry(Array, 8)
#17 job.php(14): XF\Job\Manager->runQueue(false, 8)
#18 {main}
Request state
array(4) {
["url"] => string(8) "/job.php"
["referrer"] => string(50) "https://www.pijanitvor.com/threads/otok-maun.3883/"
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}