Title: [Error] Undefined variable
Last modified: March 26, 2018

---

# [Error] Undefined variable

 *  Resolved [Hasan Tariq](https://wordpress.org/support/users/hasantar/)
 * (@hasantar)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/error-undefined-variable-5/)
 * Hi there,
 * I am seeing this error when PHP debug is turned on:
 * `Notice: Undefined variable: columns in /www/wp-content/plugins/maxicharts/maxicharts.
   php on line 739 Notice: Undefined variable: rows in /www/wp-content/plugins/maxicharts/
   maxicharts.php on line 740 Notice: Undefined variable: header_size in /www/wp-
   content/plugins/maxicharts/maxicharts.php on line 747 Notice: Array to string
   conversion in /www/wp-content/plugins/maxicharts-gravity-forms-source-add-on/
   mcharts_gf_source_add_on.php on line 631 Notice: Array to string conversion in/
   www/wp-content/plugins/maxicharts-gravity-forms-source-add-on/mcharts_gf_source_add_on.
   php on line 631 Notice: Undefined index: data_conversion in /www/wp-content/plugins/
   maxicharts/mcharts_data_conversion_plugin.php on line 144 Notice: Undefined index:
   multisets in /www/wp-content/plugins/maxicharts/maxicharts.php on line 841 Notice:
   Undefined index: multisets in /www/wp-content/plugins/maxicharts/maxicharts.php
   on line 1093 Notice: Undefined variable: javascript_code_to_inject in /www/wp-
   content/plugins/maxicharts/maxicharts.php on line 1220 Notice: Undefined variable:
   columns in /www/wp-content/plugins/maxicharts/maxicharts.php on line 739 Notice:
   Undefined variable: rows in /www/wp-content/plugins/maxicharts/maxicharts.php
   on line 740 Notice: Undefined variable: header_size in /www/wp-content/plugins/
   maxicharts/maxicharts.php on line 747 Notice: Array to string conversion in /
   www/wp-content/plugins/maxicharts-gravity-forms-source-add-on/mcharts_gf_source_add_on.
   php on line 631 Notice: Array to string conversion in /www/wp-content/plugins/
   maxicharts-gravity-forms-source-add-on/mcharts_gf_source_add_on.php on line 631
   Notice: Undefined index: data_conversion in /www/wp-content/plugins/maxicharts/
   mcharts_data_conversion_plugin.php on line 144 Notice: Undefined index: multisets
   in /www/wp-content/plugins/maxicharts/maxicharts.php on line 841 Notice: Undefined
   index: multisets in /www/wp-content/plugins/maxicharts/maxicharts.php on line
   1093 Notice: Undefined variable: javascript_code_to_inject in /www/wp-content/
   plugins/maxicharts/maxicharts.php on line 1220 Notice: Undefined variable: columns
   in /www/wp-content/plugins/maxicharts/maxicharts.php on line 739 Notice: Undefined
   variable: rows in /www/wp-content/plugins/maxicharts/maxicharts.php on line 740
   Notice: Undefined variable: header_size in /www/wp-content/plugins/maxicharts/
   maxicharts.php on line 747 Notice: Array to string conversion in /www/wp-content/
   plugins/maxicharts-gravity-forms-source-add-on/mcharts_gf_source_add_on.php on
   line 631 Notice: Array to string conversion in /www/wp-content/plugins/maxicharts-
   gravity-forms-source-add-on/mcharts_gf_source_add_on.php on line 631 Notice: 
   Undefined index: data_conversion in /www/wp-content/plugins/maxicharts/mcharts_data_conversion_plugin.
   php on line 144 Notice: Undefined index: multisets in /www/wp-content/plugins/
   maxicharts/maxicharts.php on line 841 Notice: Undefined index: multisets in /
   www/wp-content/plugins/maxicharts/maxicharts.php on line 1093 Notice: Undefined
   variable: javascript_code_to_inject in /www/wp-content/plugins/maxicharts/maxicharts.
   php on line 1220 Notice: Undefined variable: columns in /www/wp-content/plugins/
   maxicharts/maxicharts.php on line 739 Notice: Undefined variable: rows in /www/
   wp-content/plugins/maxicharts/maxicharts.php on line 740 Notice: Undefined variable:
   header_size in /www/wp-content/plugins/maxicharts/maxicharts.php on line 747 
   Notice: Array to string conversion in /www/wp-content/plugins/maxicharts-gravity-
   forms-source-add-on/mcharts_gf_source_add_on.php on line 631 Notice: Array to
   string conversion in /www/wp-content/plugins/maxicharts-gravity-forms-source-
   add-on/mcharts_gf_source_add_on.php on line 631 Notice: Undefined index: data_conversion
   in /www/wp-content/plugins/maxicharts/mcharts_data_conversion_plugin.php on line
   144 Notice: Undefined index: multisets in /www/wp-content/plugins/maxicharts/
   maxicharts.php on line 841 Notice: Undefined index: multisets in /www/wp-content/
   plugins/maxicharts/maxicharts.php on line 1093 Notice: Undefined variable: javascript_code_to_inject
   in /www/wp-content/plugins/maxicharts/maxicharts.php on line 1220`
 * Its showing on pages using the following shortcode:
    `[gfchartsreports]`

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

 *  Plugin Author [maxicharts](https://wordpress.org/support/users/maxicharts/)
 * (@maxicharts)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/error-undefined-variable-5/#post-10114290)
 * Hi [@hasantar](https://wordpress.org/support/users/hasantar/),
 * It seems there no error but just php notices.
 * You have to set in you wp-config.php file debug display to false :
    [https://codex.wordpress.org/Debugging_in_WordPress](https://codex.wordpress.org/Debugging_in_WordPress)
 * Thanks
 *  Plugin Author [maxicharts](https://wordpress.org/support/users/maxicharts/)
 * (@maxicharts)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/error-undefined-variable-5/#post-10115384)
 * Nevertheless thank you as we are going to remove those noticies in next releases.
 *  Plugin Author [maxicharts](https://wordpress.org/support/users/maxicharts/)
 * (@maxicharts)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/error-undefined-variable-5/#post-10126824)
 * Closing issue, please open new if needed

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

The topic ‘[Error] Undefined variable’ is closed to new replies.

 * ![](https://ps.w.org/maxicharts/assets/icon-256x256.png?rev=1737118)
 * [MaxiCharts](https://wordpress.org/plugins/maxicharts/)
 * [Support Threads](https://wordpress.org/support/plugin/maxicharts/)
 * [Active Topics](https://wordpress.org/support/plugin/maxicharts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/maxicharts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/maxicharts/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [maxicharts](https://wordpress.org/support/users/maxicharts/)
 * Last activity: [8 years, 1 month ago](https://wordpress.org/support/topic/error-undefined-variable-5/#post-10126824)
 * Status: resolved