Fix: Illegal string offset in REDUX framework
When you get error like below :
Warning: Illegal string offset ‘opt-media’ in C:\xampp\htdocs\xxxxxx\wp-content\themes\xxxxx\ReduxFramework\ReduxCore\framework.php on line 2142
This is problem when option value save in database not good in format, may be your database auto set default value for that field, example : value is string but save as integer. To Solve it please try 2 following way :
1 – Go to backend >> Theme Settings (Theme Options) >> Click to Reset Button >> then click to Save again.
2 – If cant go to Theme Settings (Theme Options) >> Please access database (via phpmyadmin) go to table “[dbprefix]_options” (wp_options) find row with option_name = “[themename]_option” (example : if you use “varse” theme you find “varse_option”), open file theme_options.json in themes/varse/inc/admin/data/base/ folder (you can find it in theme package) copy content of this file paste to value field of “[themename]_option” row and save.