twilio/OpenVBX — Issue #191: Bad `WHERE` on `PluginData::set()`
Author: tjlytle
Created: 2012-01-28 06:13:27+00:00
State: open

As of 1.2.4, I'm getting this error when trying to set plugin data with `db_debug` set to `TRUE`:

```Error Number: 1054
Unknown column 'id' in 'where clause'
UPDATE `plugin_store` SET `key` = '1.device', `value` = '\"client:1\"', `plugin_id` = 'PL422849719323d68eec45913eddf0f976', `tenant_id` = '1' WHERE `id` = '1.devicePL422849719323d68eec45913eddf0f976'```

If `db_debug` is `FALSE` there's no error, but it doesn't save.