Title: Uncaught Reference Error
Last modified: August 3, 2017

---

# Uncaught Reference Error

 *  Resolved [Terence Milbourn](https://wordpress.org/support/users/pubdirltd/)
 * (@pubdirltd)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/uncaught-reference-error-2/)
 * You can see in this picture both the problem with the JS, in the console — [http://i.imgur.com/MN1blEM.png](http://i.imgur.com/MN1blEM.png)—
   and the result, i.e control panel widget not working any longer.
 * Any ideas what might be causing this?
 * Terence.

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

 *  Plugin Author [TinyPNG](https://wordpress.org/support/users/tinypng/)
 * (@tinypng)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/uncaught-reference-error-2/#post-9391275)
 * Hello Terence,
 * Thank you for contacting us! We have tried to reproduce your issue but have been
   unable to do so. Therefore we would like some more information.
 * It would be great if you could share your phpinfo with us. We would also like
   to know which version of the plugin you are running and which browser + version
   you are using.
 * If you don’t want to share that information here then please send us a message
   at [support@tinypng.com](https://wordpress.org/support/topic/uncaught-reference-error-2/support@tinypng.com?output_format=md)
 * Hope to hear from you soon!
 *  Thread Starter [Terence Milbourn](https://wordpress.org/support/users/pubdirltd/)
 * (@pubdirltd)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/uncaught-reference-error-2/#post-9474328)
 * Sorry for the delay.
 * This is what I see in the control panel (notice the TinyPNG widget…
 * > [View post on imgur.com](https://imgur.com/Bz5wsFa)
 * This is what I see in the console when I inspect the widget… [https://i.imgur.com/HvkXO8R.png](https://i.imgur.com/HvkXO8R.png)
 * Here’s some more information on this install which I hope will help you…
 * OS Type: Linux ubuntu-2gb-lon1-01 4.4.0-93-generic #116-Ubuntu SMP Fri Aug 11
   21:17:51 UTC 2017 x86_64 (64 bit)
    Server Software: nginx/1.10.3 CPU Cores: 2
   Cores Load Average: 0.04, 0.04, 0.01 IP (Hostname): 188.166.150.220 (ubuntu-2gb-
   lon1-01) Disk Space: 4.03 GB (10%) used of 38.71 GB total Database Size: 13.03
   MB Database Name (Hostname): fotheringham_scot (localhost) MySQL Version: 10.1.26-
   MariaDB-1~xenial Database Charset (Collate): utf8 (n/a) Document Root: /var/www/
   fotheringham.scot/htdocs Theme Path: /var/www/fotheringham.scot/htdocs/wp-content/
   themes/Divi WP Locale (Charset): en-US (UTF-8) Server Timezone (WP): UTC (Europe/
   London) PHP Version: 7.0.22-2+ubuntu16.04.1+deb.sury.org+4 PHP Extensions: Core,
   date, libxml, openssl, pcre, zlib, filter, hash, Reflection, SPL, session, standard,
   cgi-fcgi, mysqlnd, PDO, xml, bcmath, calendar, ctype, curl, dom, mbstring, fileinfo,
   ftp, gd, gettext, iconv, igbinary, imagick, imap, json, exif, mcrypt, memcache,
   msgpack, mysqli, pdo_mysql, Phar, posix, readline, recode, redis, shmop, SimpleXML,
   soap, sockets, sysvmsg, sysvsem, sysvshm, tokenizer, wddx, xmlreader, xmlwriter,
   xsl, zip, memcached, Zend OPcache Max Upload, Post Size (Input Vars): 100M, 100M(
   1000) Memory Usage: 8M (3%) of 256M (actual limit) WP Memory Limit: 128M (defined
   limit) WP Admin Memory Limit: 256M (defined limit) WP Debug: Disabled (no logging,
   display) Opcache Size (Max Files, Revalidate): 192M (7963, n/a secs) Page Cache(
   Plugin): Disabled Object Cache: Disabled
 * If you need anything more, please let me know.
 * Terence.
 *  Plugin Author [TinyPNG](https://wordpress.org/support/users/tinypng/)
 * (@tinypng)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/uncaught-reference-error-2/#post-9486181)
 * Hello Terence,
 * Thank you very much for providing the relevant details. Unfortunately we have
   not been able to reproduce it. We’d very much like to solve it though.
 * Would you mind if we had a look at your admin dashboard? That would be tremendously
   helpful to troubleshoot the problem and possibly solve it in a future version.
   You can send us the relevant details at [support@tinypng.com](https://wordpress.org/support/topic/uncaught-reference-error-2/support@tinypng.com?output_format=md).
 *  Thread Starter [Terence Milbourn](https://wordpress.org/support/users/pubdirltd/)
 * (@pubdirltd)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/uncaught-reference-error-2/#post-9490330)
 * OK, thanks for coming back to me.
 * I’ll send you a link with the details.
 *  Plugin Author [TinyPNG](https://wordpress.org/support/users/tinypng/)
 * (@tinypng)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/uncaught-reference-error-2/#post-9500248)
 * We have just released a new version of the WordPress plugin that hopefully solves
   this issue. You should be able to update to version 2.2.5 soon. This version 
   should no longer prevent the dashboard widget from loading. Maybe you can give
   it a try and tell us what you think. Hopefully it improves your experience. Thanks
   for your patience!
 *  Thread Starter [Terence Milbourn](https://wordpress.org/support/users/pubdirltd/)
 * (@pubdirltd)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/uncaught-reference-error-2/#post-9504883)
 * That’s it. You fixed it. Thanks.
 *  Plugin Author [TinyPNG](https://wordpress.org/support/users/tinypng/)
 * (@tinypng)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/uncaught-reference-error-2/#post-9505764)
 * Hi Terence,
 * Thanks for letting us know. We’re happy to hear that the latest update fixed 
   the problem you were experiencing. Happy compressing!

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

The topic ‘Uncaught Reference Error’ is closed to new replies.

 * ![](https://ps.w.org/tiny-compress-images/assets/icon-256x256.png?rev=3448487)
 * [TinyPNG - JPEG, PNG & WebP image compression](https://wordpress.org/plugins/tiny-compress-images/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/tiny-compress-images/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/tiny-compress-images/)
 * [Active Topics](https://wordpress.org/support/plugin/tiny-compress-images/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/tiny-compress-images/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/tiny-compress-images/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [TinyPNG](https://wordpress.org/support/users/tinypng/)
 * Last activity: [8 years, 8 months ago](https://wordpress.org/support/topic/uncaught-reference-error-2/#post-9505764)
 * Status: resolved