Title: Undefined function error
Last modified: August 22, 2016

---

# Undefined function error

 *  Resolved [mwassmer](https://wordpress.org/support/users/mwassmer/)
 * (@mwassmer)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/undefined-function-error-8/)
 * I am getting errors at my site at [http://omanehdc.com](http://omanehdc.com) 
   that seem to be caused by either the amCharts plugin or my theme ([https://wordpress.org/themes/customizr](https://wordpress.org/themes/customizr)).
   The error is “Uncaught TypeError: undefined is not a function” on the file “tc-
   scripts.min.js?ver=3.2.15:2”. The affected file appears to be a theme file, but
   the problem goes away when I deactivate the amCharts plugin.
 * Interestingly, the problem does not occur at [http://omanehdc.com/scores/measured-contests/applianceslightingelectronics/](http://omanehdc.com/scores/measured-contests/applianceslightingelectronics/)
   and does occur at [http://omanehdc.com/scores/measured-contests/comfort-zone/](http://omanehdc.com/scores/measured-contests/comfort-zone/)
   and [http://omanehdc.com/scores/measured-contests/energy-balance/](http://omanehdc.com/scores/measured-contests/energy-balance/)
   even though these 3 pages are virtually identical. Perhaps the subtle differences
   between these pages may offer a clue as to the underlying problem.
 * [https://wordpress.org/plugins/amcharts-charts-and-maps/](https://wordpress.org/plugins/amcharts-charts-and-maps/)

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

 *  Plugin Author [martynasma](https://wordpress.org/support/users/martynasma/)
 * (@martynasma)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/undefined-function-error-8/#post-5716427)
 * The error seems to be originating in the file tc-scripts.min.js which comes with
   the theme you’re using.
 * I suppose the script does something on front page that it does not do on any 
   other page. That operation must be conflicting in some way with amCharts. Hence
   the error happening on front page only.
 * It’s hard to tell what it is because the file is minified. For the sake of test,
   would you be able to temporarily use non-minified version of the file? Would 
   be certainly easier to debug it out.
 *  Thread Starter [mwassmer](https://wordpress.org/support/users/mwassmer/)
 * (@mwassmer)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/undefined-function-error-8/#post-5716630)
 * Thanks for the reply. The Customizr theme folks just issued an update that fixed
   the problem, so amCharts was not the problem.
 *  Plugin Author [martynasma](https://wordpress.org/support/users/martynasma/)
 * (@martynasma)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/undefined-function-error-8/#post-5716694)
 * Great. Thanks for the update!

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

The topic ‘Undefined function error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/amcharts-charts-and-maps_6f74b0.svg)
 * [amCharts: Charts and Maps](https://wordpress.org/plugins/amcharts-charts-and-maps/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/amcharts-charts-and-maps/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/amcharts-charts-and-maps/)
 * [Active Topics](https://wordpress.org/support/plugin/amcharts-charts-and-maps/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/amcharts-charts-and-maps/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/amcharts-charts-and-maps/reviews/)

## Tags

 * [undefined function](https://wordpress.org/support/topic-tag/undefined-function/)

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