Moowoodle Plugin Residue Issue

If the Moowoodle plugin was installed earlier on WordPress installation and courses were synced through this plugin, it may cause an issue syncing Moodle courses via Edwiser-Bridge.

Solution (Kindly take a complete backup of the site before applying the below-mentioned changes.)

➤ Manual -

  1. Access MySQL database (with PHPMyAdmin or with WP-Phpmyadmin plugin)
  2. Find table “postmeta” with your WordPress table prefix ( by default it is wp_  so the table name will be wp_postmeta)
  3. Search table with “moodle_course_id” as meta key.
  4. Delete all these entries.

➤ Code Change

  1. Access plugin directory of WordPress installation 
  2. Find edwiser-bridge/includes/class-eb-course-manager.php
  3. Find function is_course_presynced
  4. Add the following code before the closing of this function 

if ( get_post_type( $course_id ) !== ‘eb_course’ ) { delete_post_meta( $course_id, ‘moodle_course_id’ ); $course_id = false;}

  1. Synchronize the courses again from Edwiser Bridge settings.
  2. This will delete all the residual which is causing conflict with the edwiser-bridge.
  3. Once all courses are synced, you can remove this code.
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us