Title: Warning: Illegal string offset
Last modified: August 22, 2016

---

# Warning: Illegal string offset

 *  [Fr0zeBud](https://wordpress.org/support/users/fr0zebud/)
 * (@fr0zebud)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/warning-illegal-string-offset-12/)
 * Hi, I’m getting the following warning with my Checkboxes.
 * **Warning: Illegal string offset ‘DVD’ in /home/gessa/public_html/wp-content/
   plugins/betta-boxes-cms/types/scfui_checkboxes/scfui_checkboxes.php on line 17**
 * I did some research and see that it is a problem when going from PHP5.3 to 5.4
   I just want the warning to disappear but not sure how to change the code.
 * `echo '<input type="checkbox" name="scfui['.$field['slug'].']['.htmlspecialchars(
   $val).']" value="'.htmlspecialchars($val).'" '.($options[$val] ? 'checked="checked"':'').'/
   > '.htmlspecialchars($val).'<br />';`
 * No problems on the frontend but just a pain to see these warnings.
 * [https://wordpress.org/plugins/betta-boxes-cms/](https://wordpress.org/plugins/betta-boxes-cms/)

The topic ‘Warning: Illegal string offset’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/betta-boxes-cms.svg)
 * [Betta Boxes CMS](https://wordpress.org/plugins/betta-boxes-cms/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/betta-boxes-cms/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/betta-boxes-cms/)
 * [Active Topics](https://wordpress.org/support/plugin/betta-boxes-cms/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/betta-boxes-cms/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/betta-boxes-cms/reviews/)

## Tags

 * [illegal offset](https://wordpress.org/support/topic-tag/illegal-offset/)

 * 0 replies
 * 1 participant
 * Last reply from: [Fr0zeBud](https://wordpress.org/support/users/fr0zebud/)
 * Last activity: [11 years, 9 months ago](https://wordpress.org/support/topic/warning-illegal-string-offset-12/)
 * Status: not resolved