• 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 Approve Event - trying to get property 'user_id' of non-object, undefined variable: visitor

Bob

Developer
Staff member
Sportsbook Version
SB 2.2.8 and older
XenForo Version
XF 2.2.x
PHP Version
N/A
Database & Version
N/A
Are there any errors being throw?
Yes
As per title, when attempting to approve a moderated sportsbook event, the following errors are being throw:

Selection_999(021).png

This is due to not setting the $visitor object for use within the Approve Service. This has been fixed in SB 2.2.9.
 

Attachments

  • Selection_999(020).png
    Selection_999(020).png
    10 KB · Views: 0
Back
Top