opencredit / badgeos

BadgeOS is a plugin to WordPress that allows you to easily create badges and set up the steps and achievements users take to earn them. Badges are Mozilla OBI compatible and sharable via Credly.
http://www.badgeos.org
GNU Affero General Public License v3.0
93 stars 64 forks source link

Please click here to update Badgeos achivements from meta to data. #679

Open heathhettig opened 5 years ago

heathhettig commented 5 years ago

Just updated BadgeOS and it wants me to update the data. It crashes and returns a "This site is having technical difficulties". There are around 26K users. I traced the script to the function running the update and it saves a user meta for each user that has been updated. It made it to about 16K and now it just seems to fail when I try to update the rest.

Has anyone seen this? What do you think it could be?

qurgh commented 5 years ago

Wish I could see if it was doing the same for me, but clicking on "here" does nothing. The code for the link looks like it's completely missing (just says "javascript:" with nothing after it). Same problem with the BadgeOS DB Upgrade button on the bottom of the settings page.

heathhettig commented 5 years ago

I see what you're seeing in on a different site. Just a link like: "click"

ckaklamanos commented 5 years ago

Wish I could see if it was doing the same for me, but clicking on "here" does nothing. The code for the link looks like it's completely missing (just says "javascript:" with nothing after it). Same problem with the BadgeOS DB Upgrade button on the bottom of the settings page.

I have the same issue as you. The "Please click here to update Badgeos achievements from meta to data." link clickable but nothing happens when clicked. Also the same for "Upgrade 3.0 DB" and "Upgrade Achievements" buttons. Nothing happens when clicked.

PS: I have created and set up the default Point Type, as explained in the upgrade guide.

zishanj commented 5 years ago

@ckaklamanos this happens with me too #684

zishanj commented 5 years ago

seems like jQuery is not recognizing the click event at https://github.com/opencredit/badgeos/blob/263024ad66af4ed123d368c95e1f8982f4bfe572/js/admin.js#L260

zishanj commented 5 years ago

This happens with WP 5.2.2. With 5.2.1 it works fine I think.

FarooqAbdullah commented 5 years ago

@heathhettig @qurgh @ckaklamanos @zishanj @bradp

We just tested the process with the latest WordPress 5.2.3 and found it is working fine. Please follow the steps as indicated here: https://wordpress.org/support/topic/badgeos-3-0-major-update/

Thanks

zishanj commented 5 years ago

I confirm that its working now on 5.2.3. Thanks!

FarooqAbdullah commented 5 years ago

@heathhettig @qurgh @ckaklamanos @bradp

For better explanation see the video here: https://drive.google.com/file/d/1koWA83e0IRzpY5213Aviu9lGoCsJnDql/view

Thanks