Title: Illegal string offset
Last modified: May 5, 2017

---

# Illegal string offset

 *  Resolved [taffeld](https://wordpress.org/support/users/taffeld/)
 * (@taffeld)
 * [9 years ago](https://wordpress.org/support/topic/illegal-string-offset-34/)
 * Hello I noticed that this plugin was generating an error on my web page: [http://cvcquickpoints.org/results-victim-blaming/](http://cvcquickpoints.org/results-victim-blaming/)
 * Warning: Illegal string offset ‘type’ in /home/ccidevco/public_html/cvcquickpoints.
   org/wp-content/plugins/gf-charts-reports/gf_charts_reports.php on line 674
 * I just downloaded the latest update hoping that would fix my issue but it is 
   still there… Any suggestions on how to fix?

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Plugin Author [termel](https://wordpress.org/support/users/munger41/)
 * (@munger41)
 * [9 years ago](https://wordpress.org/support/topic/illegal-string-offset-34/#post-9099554)
 * Can you please copy the shortcode you use?
 *  Plugin Author [termel](https://wordpress.org/support/users/munger41/)
 * (@munger41)
 * [9 years ago](https://wordpress.org/support/topic/illegal-string-offset-34/#post-9099691)
 * I think setting :
 * `define('WP_DEBUG_DISPLAY', false);`
 * in your wp-config.php file should be enough, can you test it please ?
 *  Thread Starter [taffeld](https://wordpress.org/support/users/taffeld/)
 * (@taffeld)
 * [9 years ago](https://wordpress.org/support/topic/illegal-string-offset-34/#post-9102486)
 * Here is the shortcode I am using:
 * [gfchartsreports gf_form_id=”3″ include=”2,3″ exclude=”1″ type=”pie” color_set
   =”blue” color_rand=”false” width=”40%” tooltip_style=”BOTH” position=”float” 
   maxentries=”100000″ chart_js_options=”” custom_search_criteria=””/]
 * I tried adding your code snibbit to the wpconfig.php file and that did not fix
   it: [http://cvcquickpoints.org/results-victim-blaming/](http://cvcquickpoints.org/results-victim-blaming/)
 *  Plugin Author [termel](https://wordpress.org/support/users/munger41/)
 * (@munger41)
 * [9 years ago](https://wordpress.org/support/topic/illegal-string-offset-34/#post-9103580)
 * Can you please update to latest version and test ? The warning should have disappear.
   
   The fact that warning are outputted on you screen is a wordpress parameter, as
   shown before. Please close the thread if solved.
 *  Thread Starter [taffeld](https://wordpress.org/support/users/taffeld/)
 * (@taffeld)
 * [9 years ago](https://wordpress.org/support/topic/illegal-string-offset-34/#post-9104593)
 * Still not working : [http://cvcquickpoints.org/test/](http://cvcquickpoints.org/test/)
   ———————————
   ShortCode – [gfchartsreports gf_form_id=”2″ include=”” exclude=”” type=”pie” 
   color_set=”blue” color_rand=”false” width=”40%” tooltip_style=”BOTH” position
   =”none” maxentries=”” chart_js_options=”” custom_search_criteria=””/] ——————————-
   Errors:
 * Warning: Illegal string offset ‘labels’ in /home/ccidevco/public_html/cvcquickpoints.
   org/wp-content/plugins/gf-charts-reports/gf_charts_reports.php on line 678
 * Warning: Invalid argument supplied for foreach() in /home/ccidevco/public_html/
   cvcquickpoints.org/wp-content/plugins/gf-charts-reports/gf_charts_reports.php
   on line 678
 * Warning: Illegal string offset ‘labels’ in /home/ccidevco/public_html/cvcquickpoints.
   org/wp-content/plugins/gf-charts-reports/gf_charts_reports.php on line 696
 *  Plugin Author [termel](https://wordpress.org/support/users/munger41/)
 * (@munger41)
 * [9 years ago](https://wordpress.org/support/topic/illegal-string-offset-34/#post-9104679)
 * Okay thanks, i have just fixed this as well, can you deinstall/reinstall the 
   plugin please and check if everything’s ok ?
 *  Plugin Author [termel](https://wordpress.org/support/users/munger41/)
 * (@munger41)
 * [9 years ago](https://wordpress.org/support/topic/illegal-string-offset-34/#post-9133506)
 * Please confirm it’s fixed

Viewing 7 replies - 1 through 7 (of 7 total)

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

 * ![](https://s.w.org/plugins/geopattern-icon/gf-charts-reports_595f6e.svg)
 * [Gravity Forms Charts Reports](https://wordpress.org/plugins/gf-charts-reports/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/gf-charts-reports/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/gf-charts-reports/)
 * [Active Topics](https://wordpress.org/support/plugin/gf-charts-reports/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/gf-charts-reports/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/gf-charts-reports/reviews/)

## Tags

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

 * 7 replies
 * 2 participants
 * Last reply from: [termel](https://wordpress.org/support/users/munger41/)
 * Last activity: [9 years ago](https://wordpress.org/support/topic/illegal-string-offset-34/#post-9133506)
 * Status: resolved