Posted: April 30, 2024 at 5:48 am
We’ve been using a custom plugin built in-house which adds the Ticket scope to the Promotions add-on. It worked fine using older EventEspresso version but we now have to adjust the code to make it work with latest EE version. We are currently getting this error:
sw-eventespresso-changes is the name of our custom plugin. Here’s how we are registering our scope:
Any suggestions? Thank you! |
|
I can see that problem you submitted is discussed in our tEEM and our developers solution is under testing, Once everything is set, we will update you. thanks. |
|
I’ve managed to get past the errors and it now seems to be working fine. The issue was that my Ticket scope file EE_Promotion_Ticket_Scope.lib.php was missing some (newer) functions. So I’ve copied and adapted all functions from the original eea-promotions plugin (EE_Promotion_Event_Scope.lib.php) onto my EE_Promotion_Ticket_Scope.lib.php. Basically, my Ticket scope file is a clone of the Event scope file, with naming and queries adjusted accordingly, if it helps anybody. Thanks. |
|
The support post ‘Hooked in model extension too late!’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.