You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had a similar issue with updating existing models. I narrowed it down to Model.php:400 - $model->setTable($this->getTable());.
By the time it gets here, many times the table has already been prefixed, and it hits this two additional times. So for a save method it was trying to write the query for local.wp_wp_wp_appointments. @fryiee 's workaround has resolved this for me for the time being, but when I get some time I'd like to investigate further and see if I can't come up with a permanent fix. I'll make a PR if so.
As title. Example here (prefix is wp):
var_dump($this->table); shows support_categories
var_dump($this->table); shows wp_support_categories
The text was updated successfully, but these errors were encountered: