Deleted variables keep reappearing
Hey, Low,
We're having an issue on EE3.5.11 with Low Variables 3.0.4. We can't delete variables. We tried both from LV and also from the Template Manager. When we delete a variable it appears to be deleted correctly. We reload the page and still works. After 5-10 minutes the variables appear again as "Ungrouped".
Things we tried already:
- Cleaning cache after deleting variables
- Ending session and logging in again
- Disabling Mountee (wasn't connected anyways)
- We double-checked and Variables are not being saved as files
We also have an issue when editing or creating variables. Not sure if it could be related?
Illegal string offset 'draft'
user/addons/low_variables/types/low_select_entries/vt.low_select_entries.php, line 147
Illegal string offset 'submitted'
user/addons/low_variables/types/low_select_entries/vt.low_select_entries.php, line 147
Please let us know what we can do. We're doing a large redesign on a client site and need to delete dozens of variables. Thanks in advance,
S-
Replies
Low 29 Nov 2017 19:06
The error messages seem to be related to a workflow add-on of some sort.
If the vars are re-appearing, then they're probably still present as files through the Template manager. Can you try to delete the vars (Template Variables) there and see if it persists?
Low 30 Nov 2017 08:21
Oh, the php errors are probably caused by 'dirty' Status/Status Groups tables. It's possible that there are still statuses present in the exp_statuses table that reference a non-existing group (which can only happen if an add-on was sloppy). Delete those statuses from the table, and the errors should go away.
farmco 1 Dec 2017 09:28
Hi Low,
We tried your suggestion but the issues persist.
1) We deleted the variables from the Template Variables area. They keep popping up and added as "Ungrouped" to LV. We don't have them saved as files, and we don't have any tool that could be syncing them from elsewhere. I'll create a ticket with EllisLab in case the issue is on their end but would appreciate any input. If we were to remove them straight from the DB, is there any specific LV table we should look into?
2) As for the php errors, we did have some older statuses still in the DB. We removed them but the errors persist. We only have two status groups, one of them created by DevDemon's Visitor.
Thanks again for your help. Looking forward to hearing from you.
Cheers,
S-
Low 1 Dec 2017 11:17
I'll need to take a look myself. Please send SuperAdmin login credentials to hi at gotolow dot com if you can.