Support

Home Forums Event Espresso Premium LearnDash course selections won't save

LearnDash course selections won't save

Posted: December 30, 2015 at 9:55 pm


BCPTA

December 30, 2015 at 9:55 pm

Hi there,
Our LearnDash integration is no longer enrolling event registrants into associated courses.

I have written to LearnDash about this to see if it has to do with their need to update their plugin to match your latest updates.

HOWEVER, I’m writing here because I’ve noticed that when I create an event in EventEspresso, and I select a course to associate the event with, after clicking on “update” that course doesn’t stay ‘selected’ if you know what I mean. The selection is not permanent upon clicking update or Publish. Does that have anything to do with it?

I also noticed that lately the formatting on the page when expanding to see ticket details are getting messed up and overlapping other text. Not sure if you see this too or if it’s related. Here is an example: https://cloudup.com/c56r8fP5Qf6

I tested the course “selection” in an event with the following versions

EE4 Version 4.8.28.p
LearnDash Version 2.1.6
LearnDash EE4 integration Version 1.0.1 and their updated beta release to fix a former issue (see here)

I also tried it with slightly older versions of EE4 and LearnDash. It never ‘saves’ the course selection.

I am pretty sure this started happening on an EE4 update, since I hadn’t done an update on LearnDash in a while.

Do you guys have a communication channel whereby you let your integration authors know of updates you’re releasing that may affect their plugins?

In total I tried eight different registration scenarios with plugins deactivated or updated, or not updated, or not all deactivated, or free events, and so on. Nothing worked.

The registrations had transactions associated with them, which I understand is a requirement for the LearnDash integration to work. I got confirmations on all of them. Users were put into the system due to the LearnDash integration, but none were enrolled in courses.

Can you help?


Josh

  • Support Staff

December 31, 2015 at 1:14 pm

Hi Johanna,

I’ve been looking into this for most of the day and it turns out we were unaware that Learndash needed to pass in non-scalar data when the event tickets get updated.

We’ve made an adjustment to our code to allow for this, and it will be in the next update of Event Espresso. You can download a pre-release copy from this link if you’d like.

With regards to the overlapping you are seeing, that’s due to the long Course titles. You’ll note that Course Titles over 100 characters or so will make the Learndash Course select box that they add stretch out past the normal edge of the Ticket editor box. One suggestion that the folks at Learndash could do is run the Course Titles through the substr() function when they output the course options to the select box. That will keep the box from overlapping out of its container.


BCPTA

January 1, 2016 at 1:18 am

The pre-release worked, thank you Josh. I hope you are paid well.

I wrote to LearnDash about the overlapping text.


Josh

  • Support Staff

January 4, 2016 at 9:52 am

You are welcome, and I’m glad to hear that the fix worked for you. When the next update is available it will have the same fix that’s in the pre-release.


Josh

  • Support Staff

January 4, 2016 at 3:55 pm

Update: the fix is included in the latest release of Event Espresso 4.


BCPTA

January 10, 2016 at 2:19 am

It seems to work ok now, thanks

The support post ‘LearnDash course selections won't save’ 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.

Event Espresso