Opened 11 years ago
Closed 11 years ago
#5424 closed defect (bug) (fixed)
WordPress 3.8.1 & upgrading to BuddyPress 2.0
Reported by: | imath | Owned by: | boonebgorges |
---|---|---|---|
Milestone: | 2.0 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Core | Keywords: | has-patch |
Cc: |
Description
I've just met an upgrade trouble in WordPress 3.8.1 due to the 'last_activity' new management introduced in r7860. This doesn't happen in WordPress 3.9 alpha, that's why i haven't noticed it earlier.
Problem is that WordPress triggers a database error :
WordPress database error: [Field 'action' doesn't have a default value]
INSERT INTOwp_bp_activity
(user_id
,component
,type
,date_recorded
) VALUES (1,'members','last_activity','2014-02-24 19:16:57')
my MySQL version is 5.6.14.
Adding "default" values on mysql insert functions seems to solve the trouble.
In 7989: