Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"No such field" when logging enabled #235

Open
aydun opened this issue Sep 19, 2017 · 0 comments
Open

"No such field" when logging enabled #235

aydun opened this issue Sep 19, 2017 · 0 comments

Comments

@aydun
Copy link

aydun commented Sep 19, 2017

I had an older version of civicrm_stripe enabled and logging which was working. I upgraded to 4.7.2 and then got error "DB Error: no such field". The log shows Unknown column 'processor_id' in 'field list' when inserting into civicrm_stripe_customers.

processor_id does exist as a column in civicrm_stripe_customers but not in log_civicrm_stripe_customers. It is added as a new column in CRM_Stripe_Upgrader::upgrade_5001() but that does not handle the change to the logging tables.

(Note that columns are added in several upgrade_* functions and the issue applies more widely.)

This could be avoided either by also altering the log tables directly or disabling and re-enabling logging in the upgrader.

This can be resolved by disabling logging and re-enabling (Administer >> System Settings >> Misc)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant