Unable to save settings

Suitecrm 7.8.2

I am admin.
Edit system settings or security settings and save, open it up again and changes are not saved.
Tried Restore, Quick rebuild but still not working.
Any ideas?
Cheers
David

Any ideas on this?
It is really annoying.
David

Dont know if it is related but I get this error in php log when saving settings:

[07-Mar-2017 14:02:24 America/Los_Angeles] PHP Warning: in_array() expects parameter 2 to be array, null given in D:\Bitnami\suitecrm\apps\suitecrm\htdocs\modules\Administration\QuickRepairAndRebuild.php on line 268

David