Currently, this is the error I'm getting on the upgrade page. I had the same error before, but "on line 40" before I used the code from github. I'm not sure what to do to fix this?
Line 31 is "$result->rows = $data;"
Error Code(0): Error: Incorrect table definition; there can be only one auto column and it must be defined as a key
Error No: 1075
ALTER TABLE `od2g_customer_activity` DROP PRIMARY KEY in /system/library/db/mysqli.php on line 31