Warning: Illegal string offset
-
I’m getting the following errors. I have included the code when I look up the code in Notepad++:
Warning: Illegal string offset ‘content_css’ in /homepages/16/d424488600/htdocs/clickandbuilds/MYWEBSITE/wp-content/plugins/custom-squeeze/custom-squeeze.php on line 3505
CODE: $initArray[‘content_css’] = “../wp-content/plugins/custom-squeeze/css/mystyle.css”;
Warning: Illegal string offset ‘theme_advanced_font_sizes’ in /homepages/16/d424488600/htdocs/clickandbuilds/MYWEBSITE/wp-content/plugins/custom-squeeze/custom-squeeze.php on line 3517
CODE: $initArray[‘theme_advanced_font_sizes’] =”10px,11px,12px,13px,14px,18px,24px,36px”;
Warning: Illegal string offset ‘font_size_style_sizes’ in /homepages/16/d424488600/htdocs/clickandbuilds/MYWEBSITE/wp-content/plugins/custom-squeeze/custom-squeeze.php on line 3529
CODE: $initArray[‘font_size_style_sizes’] =”10px,11px,12px,13px,14px,18px,24px,36px”;
How do I fix this please???
The theme I’m using is OptimizePress and the plugin is WpEzpages. I have both of these on an identical site with no errors. What I did do is try to install the theme to this website by copy/pasting from the 1st website’s hosting to the new website, I don’t know if that’s what caused it, I’ve since deleted the theme and re-installed it properly through the WP backend, but still have the problem.
The code strings in the working website for these lines are identical to the ones pasted here, FYI.
I’d appreciate your help.
- The topic ‘Warning: Illegal string offset’ is closed to new replies.