Title: Javascript error
Last modified: August 30, 2016

---

# Javascript error

 *  Resolved [grizgza](https://wordpress.org/support/users/grizgza/)
 * (@grizgza)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/javascript-error-91/)
 * When I attempt to run Create Photos, nothing happens. I checked the console and
   saw some errors.
 * The following error shows immediately when I load the settings page:
 * Uncaught TypeError: Cannot read property ‘length’ of undefined
    jquery-1.7.2.
   min.js:2
 * This error appears when I attempt to Create Photos:
    POST [http://10.1.10.8/wp-content/plugins/active-directory-thumbnails/php/pic-process.php?user_id=1570](http://10.1.10.8/wp-content/plugins/active-directory-thumbnails/php/pic-process.php?user_id=1570)
   500 (Internal Server Error) jquery-1.7.2.min.js:4
 * Any idea what might be going on?
 * [https://wordpress.org/plugins/active-directory-thumbnails/](https://wordpress.org/plugins/active-directory-thumbnails/)

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

 *  Plugin Author [Omar Mir](https://wordpress.org/support/users/mirwindsor-omar/)
 * (@mirwindsor-omar)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/javascript-error-91/#post-6747493)
 * Well, I found a few issues that could cause it but I have been working on a new
   version that would avoid a lot of those issues.
 * Can you try using the development version? It should be published soon and is
   pretty stable, I’m just trying to add another feature before I release it.
 * Please make sure to deactivate and delete the current plugin. I’ll post back 
   here when the plugin is published.
 * [https://wordpress.org/plugins/active-directory-thumbnails/developers/](https://wordpress.org/plugins/active-directory-thumbnails/developers/)
   
   Download the “Development Version” under other versions.
 *  Plugin Author [Omar Mir](https://wordpress.org/support/users/mirwindsor-omar/)
 * (@mirwindsor-omar)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/javascript-error-91/#post-6747509)
 * Actually just put up a RC you can download it here:
    [https://downloads.wordpress.org/plugin/active-directory-thumbnails.1.03rc1.zip](https://downloads.wordpress.org/plugin/active-directory-thumbnails.1.03rc1.zip)
 * Or
 * [https://wordpress.org/plugins/active-directory-thumbnails/developers/](https://wordpress.org/plugins/active-directory-thumbnails/developers/)
   
   Download the “1.03rc1” under other versions.
 * Let me know if that works OK 🙂
 *  Thread Starter [grizgza](https://wordpress.org/support/users/grizgza/)
 * (@grizgza)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/javascript-error-91/#post-6747629)
 * Thanks for your help.
 * Now I’m getting this error on 1.03rc1:
 * [http://10.1.10.8/?active_directory_thumbnails&nonce=4268ad786d](http://10.1.10.8/?active_directory_thumbnails&nonce=4268ad786d)
   Failed to load resource: the server responded with a status of 500 (Internal 
   Server Error)
 *  Plugin Author [Omar Mir](https://wordpress.org/support/users/mirwindsor-omar/)
 * (@mirwindsor-omar)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/javascript-error-91/#post-6747630)
 * The only thing I can think of is permissions. After activating the plugin is 
   there a folder inside the uploads directory called active-directory-thumbnails?
 * Also do you have php installed with GD? PHP requires an image manipulation library
   for this to work. To check see here for instructions:
    [http://www.zoopable.com/check-php-gd-library-installed-or-not/](http://www.zoopable.com/check-php-gd-library-installed-or-not/)
 * A server error 500 would imply something wrong on the server.
 *  Thread Starter [grizgza](https://wordpress.org/support/users/grizgza/)
 * (@grizgza)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/javascript-error-91/#post-6747644)
 * I did not have PHP GD installed. Installed it and now your plugin works!
    Awesome,
   thank you!
 *  Plugin Author [Omar Mir](https://wordpress.org/support/users/mirwindsor-omar/)
 * (@mirwindsor-omar)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/javascript-error-91/#post-6747648)
 * Happy to help 🙂

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

The topic ‘Javascript error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/active-directory-thumbnails_e8eaf6.
   svg)
 * [Active Directory Thumbnails](https://wordpress.org/plugins/active-directory-thumbnails/)
 * [Support Threads](https://wordpress.org/support/plugin/active-directory-thumbnails/)
 * [Active Topics](https://wordpress.org/support/plugin/active-directory-thumbnails/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/active-directory-thumbnails/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/active-directory-thumbnails/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [Omar Mir](https://wordpress.org/support/users/mirwindsor-omar/)
 * Last activity: [10 years, 6 months ago](https://wordpress.org/support/topic/javascript-error-91/#post-6747648)
 * Status: resolved