Title: Activity_id wrong value
Last modified: June 6, 2026

---

# Activity_id wrong value

 *  Resolved [globus2008](https://wordpress.org/support/users/globus2008/)
 * (@globus2008)
 * [2 days, 4 hours ago](https://wordpress.org/support/topic/activity_id-wrong-value/)
 * Hello, I have installed the recent version 1.18.2 and I found that after an event
   is booked then in the database in the column ‘activity_id’ value ‘NULL’ is written
   which has never happened before.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [yoancutillas](https://wordpress.org/support/users/yoancutillas/)
 * (@yoancutillas)
 * [1 day, 10 hours ago](https://wordpress.org/support/topic/activity_id-wrong-value/#post-18931009)
 * Hi, this column was deleted mostly because it was not used, and also because 
   we need to have a single source of truth, which is the activity_id column of 
   the wp_bookacti_events table.
 * So you can use the event_id column of the wp_bookacti_bookings table, and join
   it to the id column of the wp_bookacti_events, to find the activity_id in this
   same table.
 * Something like, for example for booking #145:
 * `SELECT E.activity_id FROM wp_bookacti_bookings as B LEFT JOIN wp_bookacti_events
   as E ON B.event_id = E.id WHERE B.id = 145`
 *  Thread Starter [globus2008](https://wordpress.org/support/users/globus2008/)
 * (@globus2008)
 * [1 hour, 9 minutes ago](https://wordpress.org/support/topic/activity_id-wrong-value/#post-18932659)
 * Thank you for the information and advice on how to proceed.

Viewing 2 replies - 1 through 2 (of 2 total)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Factivity_id-wrong-value%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/booking-activities/assets/icon-256x256.png?rev=1709970)
 * [Booking Activities](https://wordpress.org/plugins/booking-activities/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/booking-activities/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/booking-activities/)
 * [Active Topics](https://wordpress.org/support/plugin/booking-activities/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/booking-activities/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/booking-activities/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [globus2008](https://wordpress.org/support/users/globus2008/)
 * Last activity: [1 hour, 9 minutes ago](https://wordpress.org/support/topic/activity_id-wrong-value/#post-18932659)
 * Status: resolved