Maintainer Issue
Permalink Browser Info Environment
Hi James,
Finally have a client that I can use your add-on with, but ran into an issue. Might have had something to do with creating and deleting a couple of plans before running the maintainer. Now the maintainer sticks in a loop and when trying to run in a browser window using the URL, I get this:
Any ideas what the issue is and how I might resolve it?
Thanks,
Brian
Finally have a client that I can use your add-on with, but ran into an issue. Might have had something to do with creating and deleting a couple of plans before running the maintainer. Now the maintainer sticks in a loop and when trying to run in a browser window using the URL, I get this:
Catchable fatal error: Argument 2 passed to LMemUserGroupHelper::__construct() must be an instance of Group, null given, called in /home/drdebate/public_html/packages/lerteco_membership/jobs/lmembership_maintainer.php on line 37 and defined in /home/drdebate/public_html/packages/lerteco_membership/models/txns.php on line 486
Any ideas what the issue is and how I might resolve it?
Thanks,
Brian
Type: | Discussion |
---|---|
Status: | In Progress |
I just looked at the code and now I really suspect that it was caused by a group being deleted. Could you confirm this so that I know if that's what to focus on?
Hi James,
Sorry. I was out when you message came in and not working earlier today.
I did indeed delete a couple of groups (and products) that weren't needed anymore and I guessed that this was the issue. I'm not too far into things, so what are your thoughts on deleting the add-on and reinstalling? Will that do it?
Also, if you have a procedure for deleting groups over time, that would be great to know. Otherwise, I'll let the client know at handoff that they shouldn't delete any groups in the future.
Thanks and sorry for the delayed reply. I'll be around the rest of the day.
Brian
Sorry. I was out when you message came in and not working earlier today.
I did indeed delete a couple of groups (and products) that weren't needed anymore and I guessed that this was the issue. I'm not too far into things, so what are your thoughts on deleting the add-on and reinstalling? Will that do it?
Also, if you have a procedure for deleting groups over time, that would be great to know. Otherwise, I'll let the client know at handoff that they shouldn't delete any groups in the future.
Thanks and sorry for the delayed reply. I'll be around the rest of the day.
Brian
That's ok. I just wanted to try to solve this before I got busy again.
It's fixed now and I uploaded a new version.
It's fixed now and I uploaded a new version.
Thanks James. I just updated and can verify that the job ran without issue. I'll let you know if I notice any further issues, but so far, everything looks good.
Thanks again.
Brian
Thanks again.
Brian
Does that sound right? If not I'll dive into the code further and try to figure it out.
Best,
James SHANNON
Sent from my phone
> On 20 mars 2015, at 13:57, concrete5 Community <discussions@concretecms.com> wrote: