AEC error on Clear & Apply Plan

More
14 years 2 months ago #1 by Deane
AEC error on Clear & Apply Plan was created by Deane
Hi,

I am trying to get AEC and Joomdle integrated on a server with the following versions:

Joomla: 2.5.2
Joomdle: 0.7
AEC: Version 1.0β, Revision 4814
Moodle: 2.2.1

When registering a user to a free payment plan, the user is successfully enrolled in Moodle; however, when registering a user that requires the user to pay through paypal, the user is not enrolled in Moodle, despite receiving a successful payment notification.

When I try the Clear & Apply Plan within AEC membership, I get the following error message:

XML-RPC Error (0): Coding error detected, it must be fixed by a programmer: PHP catchable fatal error | DEBUG INFO: Argument 1 passed to enrol_plugin::enrol_user() must be an instance of stdClass, null given, called in /home/flirtdir/public_html/education/auth/joomdle/auth.php on line 2297 and defined

Please Log in or Create an account to join the conversation.

More
14 years 2 months ago #2 by Antonio Durán
Replied by Antonio Durán on topic Re: AEC error on Clear & Apply Plan
Hi.

Thanks for the bug report. I will try to replicate it when I have some time, and get back to you.

Please Log in or Create an account to join the conversation.

More
14 years 2 months ago #3 by Antonio Durán
Replied by Antonio Durán on topic Re: AEC error on Clear & Apply Plan
Hi again.

I could not locate "Clear & Apply" anywhere. Can you tell me where is it? Maybe it is only present on the new 1.0?
I have only tried with 0.14omega.

As for paypal not working: I have not tested, but maybe it is because of the new version too.

Please Log in or Create an account to join the conversation.

More
14 years 2 months ago #4 by Freddy
Replied by Freddy on topic Re: AEC error on Clear & Apply Plan
Hi Antonio, any update on this?

I'm developing a custom integration using joomdle and I get the same error when using the function:

JoomdleHelperContent::enrolUser()

Thanks in advance

Please Log in or Create an account to join the conversation.

More
14 years 2 months ago #5 by Freddy
Replied by Freddy on topic Re: AEC error on Clear & Apply Plan
Ok, I found the problem or at least the reason, but the cose still needs to be fixed.

This error occurs if the course that you are trying to enroll doesn't have the manual enrolment method activated.

That's it.

I hope this helps someone else.

Please Log in or Create an account to join the conversation.

More
14 years 2 months ago #6 by Antonio Durán
Replied by Antonio Durán on topic Re: AEC error on Clear & Apply Plan
Thanks for the tip, I will try to make the error disappear, although Joomdle requires that all courses keep the manual enrolmentd method enabled, so it won't work anyway.

Please Log in or Create an account to join the conversation.

More
13 years 8 months ago #7 by Mohammed
Replied by Mohammed on topic AEC error on Clear & Apply Plan
Is this issue fixed as I planning to use aec with joomdle?

Please Log in or Create an account to join the conversation.

More
13 years 8 months ago #8 by Chris
Replied by Chris on topic AEC error on Clear & Apply Plan
The discussion above gives the answer??

Please Log in or Create an account to join the conversation.