• REGISTRATION REQUIREMENTS:

    Your username here MUST MATCH your XenForo username (connected to your XF license).

    Once you have registered here, then you need to start a conversation at xenforo.com w/Bob and provide the following:
    1. Your XenForo License Validation Token
    2. The Domain Name associated with the License
    NOTE: Your account will be validated once ALL requirements are verified/met. Thank you for your patience.

Fixed Pickems & User Mentions error

Status
Not open for further replies.

EasyEazy

Member
CAS Premium
RMS Premium
UBS Premium
Pick'em
Sportsbook
XenForo Version String: XenForo 2.2.1

Addon Version String: Pickem 2.2.0


Stack Trace:

Code:
    TypeError: Argument 1 passed to SV\UserMentionsImprovements\XF\Repository\XF22\UserAlert::alert() must be an instance of XF\Entity\User, null given, called in /home/absolute/public_html/community/src/addons/XenAddons/Pickem/Repository/Reminder.php on line 88 src/addons/SV/UserMentionsImprovements/XF/Repository/XF22/UserAlert.php:14

    Generated by: Unknown account Nov 20, 2020 at 12:05 AM

Stack trace

#0 src/addons/XenAddons/Pickem/Repository/Reminder.php(88): SV\UserMentionsImprovements\XF\Repository\XF22\UserAlert->alert(NULL, 0, 0, 'pkm_week', 92, 'reminder2')
#1 src/addons/XenAddons/Pickem/Cron/Reminders.php(13): XenAddons\Pickem\Repository\Reminder->processAlertReminders()
#2 [internal function]: XenAddons\Pickem\Cron\Reminders::processPickemReminders(Object(XF\Entity\CronEntry))
#3 src/XF/Job/Cron.php(34): call_user_func(Array, Object(XF\Entity\CronEntry))
#4 src/XF/Job/Manager.php(258): XF\Job\Cron->run(G)
#5 src/XF/Job/Manager.php(200): XF\Job\Manager->runJobInternal(Array, G)
#6 src/XF/Job/Manager.php(84): XF\Job\Manager->runJobEntry(Array, G)
#7 job.php(43): XF\Job\Manager->runQueue(false, 8)
#8 {main}

Request state

array(4) {
  ["url"] => string(18) "/community/job.php"
  ["referrer"] => string(80) "https://************/community/index.php?threads/burga-vs-top-cat.38904/"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}

Delete

I posted this first at XON's site as I thought it was an error related to his User Mention Improvement resource. XON's reply was:

this is a logic bug in Bob's add-on. He is missing a check for trying to send to a deleted user. While my add-on is in the stack-trace, that is a XenForo type signature.

Not a bug - User Mentions Improvements error

Just thought id let you know Bob.
 
Is it just a case of re importing the files or will it be a release version?
Just in case you haven't noticed, every implemented suggestion thread and every fixed bug report it tagged with the version number... in this case, this pertains to Pickem 2.2.1 (which has just now been released).

Selection_877.png
 
Status
Not open for further replies.
Back
Top