[Fermé] Toolset association entry delete after database upgrade
This support ticket is created Il y a 4 années et 1 mois. There's a good chance that you are reading advice that it now obsolete.
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
Aucun de nos assistants n'est disponible aujourd'hui sur le forum Jeu d'outils. Veuillez créer un ticket, et nous nous le traiterons dès notre prochaine connexion. Merci de votre compréhension.
In my website above all are show in backend using custom code in classroom post backend i show list of all related course same as in side course i show list of lesson and in lesson post i show list of all chapter which are in relationship using metabox and that are show by custom query fetch from wp_toolset_associations table it working fine till yesterday but i show one notice in my dashboard
"Toolset want to Upgrade Database"
After upgrade database all the relationship of my classroom,course,lesson, and chapter are deleted from wp_toolset_associations. table can you please tell me why this happened i am pasting my custom query below.
global $wpdb;
$courseid = $post->ID;
$table_name = $wpdb->prefix . "toolset_associations";
$lessonids = $wpdb->get_results("SELECT $table_name.*,wp_toolset_relationships.slug FROM $table_name,wp_toolset_relationships where $table_name.parent_id = " . $courseid . " and wp_toolset_relationships.is_active = 1 and wp_toolset_relationships.id = $table_name.relationship_id");
Above query i write in my metabox code for find list of all related lesson from course id.
Can ou please help me for this issue why my all record are delete after upgrade database from wp_toolset_association table.