Advanced Custom Fields conflicting with custom plugin when saving custom field

So apparently I’m a bonehead. I was originally building this with Advanced Custom Fields plugin and doing it in the theme but decided to try and build my first plugin instead. I had created a custom field group and assigned it to the post type with ACF, so that’s what was triggering the validation error. Once I deleted the field group everything works as expected.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)