• Resolved pcw3r

    (@pcw3r)


    Hello,

    I have the impression that the database is not updating properly when :
    – deleting users from a course -> the number of students enrolled in this course not change
    – perform migration on new site, import the course with the plugin and push all users in the table “wp_attest_students” with the good course ID -> the number of students enrolled stay empty in this course, and people need to enroll again.

    Jquery is used, maybe is it necessary to refresh this to resync with database?

    Thanks in advance,

    Regards,

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author WP Attest

    (@attest)

    Hi,

    Noted.
    Thanks for reporting this.

    We will investigate after the NY celebrations.

    Happy new year! ??
    Cristian from WP Attest

    Plugin Author WP Attest

    (@attest)

    Hi,
    1. We will need to add a more complex solution for this one because deleting a student, that doesn’t necessarily mean that the course didn’t have that number of enrolled students. That number that is showing is the all-time number of students enrolled in the course, but not the active students.
    2. Through the plugin, currently we’re not covering user migration. What we can suggest is a whole DB migration. In this case, it should not be a problem.
    Let me know if that helps.
    Thank you!

    Thread Starter pcw3r

    (@pcw3r)

    Hi,

    Happy new year too!

    Thank you for your response.
    Yeah i proceed with whole DB migration and it’s okay now.

    Regards,

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Database cant be updating’ is closed to new replies.