Title: Error with WordPress 3.5.1
Last modified: August 20, 2016

---

# Error with WordPress 3.5.1

 *  Resolved [Ov3rfly](https://wordpress.org/support/users/ov3rfly/)
 * (@ov3rfly)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/error-with-wordpress-351/)
 * With WordPress 3.5.1 there is currently this result:
 *     ```
       Process Information
   
       Total Images: 1
       Successes:: 0
       Failures: 1	
   
           function (){if(a){var t=a.length;(function r(t){v.each(t,function(t,n){var i=v.type(n);i==="function"?(!e.unique||!c.has(n))&&a.push(n):n&&n.length&&i!=="string"&&r(n)})})(arguments),i?o=a.length:n&&(s=t,l(n))}return this}
       ```
   
 * Is this a known problem? Did you already work on 3.5.1 compatibility?
 * [http://wordpress.org/extend/plugins/force-regenerate-thumbnails/](http://wordpress.org/extend/plugins/force-regenerate-thumbnails/)

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

 *  Plugin Contributor [Pedro Elsner](https://wordpress.org/support/users/pedro-elsner/)
 * (@pedro-elsner)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/error-with-wordpress-351/#post-3437362)
 * Yes, did work!
    It was a response of javascript code, that happen in some linux
   server. I don’t know the exact reason for this error… =(
 * Try set
 * > chmod 777
 *  in your thumbnails directory.
 * Otherwise, try to use this another plugin:
    [http://wordpress.org/extend/plugins/regenerate-thumbnails/](http://wordpress.org/extend/plugins/regenerate-thumbnails/)
 *  Thread Starter [Ov3rfly](https://wordpress.org/support/users/ov3rfly/)
 * (@ov3rfly)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/error-with-wordpress-351/#post-3437393)
 * Thanks for quick answer.
 * The described problem appeared only on my Windows development-server.
 * _Edit:_ I finally tracked it down, there was a PHP warning of another plugin,
   because of `define('WP_DEBUG', true);` in `wp-config.php` and because of this
   the POST to `/wp-admin/admin-ajax.php` got the PHP warning as result which of
   course is no valid JSON…
 * On my production servers with no warnings enabled all works fine.
 *  Plugin Contributor [Pedro Elsner](https://wordpress.org/support/users/pedro-elsner/)
 * (@pedro-elsner)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/error-with-wordpress-351/#post-3437395)
 * I have a blog with this plugin running on Windows + Apache =/
 *  Thread Starter [Ov3rfly](https://wordpress.org/support/users/ov3rfly/)
 * (@ov3rfly)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/error-with-wordpress-351/#post-3437400)
 * Tracked down the problem, see also edited post above, here the response of the
   ajax-call, the regeneration worked, only the display of result-message gets messed
   up because of malformed JSON (Notices caused by another plugin):
 *     ```
       <br />
       <b>Notice</b>:  some php warning text... in <b>C:\some path\web\wp-includes\functions.php</b> on line <b>2839</b><br />
       <br />
       <b>Notice</b>:  some php warning text... in <b>C:\some path\web\wp-includes\functions.php</b> on line <b>2839</b><br />
       {"success":"<b>Some image name (ID 2085): All thumbnails was successfully regenerated in 2,013 seconds.<\/b>"}
       ```
   
 *  Plugin Contributor [Pedro Elsner](https://wordpress.org/support/users/pedro-elsner/)
 * (@pedro-elsner)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/error-with-wordpress-351/#post-3437406)
 * Thank you Ov3rfly. =)
    I get it! I will fix it at next version plugin.
 * For now, disconsider this message.

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

The topic ‘Error with WordPress 3.5.1’ is closed to new replies.

 * ![](https://ps.w.org/force-regenerate-thumbnails/assets/icon-256x256.jpg?rev=
   2816275)
 * [Force Regenerate Thumbnails](https://wordpress.org/plugins/force-regenerate-thumbnails/)
 * [Support Threads](https://wordpress.org/support/plugin/force-regenerate-thumbnails/)
 * [Active Topics](https://wordpress.org/support/plugin/force-regenerate-thumbnails/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/force-regenerate-thumbnails/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/force-regenerate-thumbnails/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Pedro Elsner](https://wordpress.org/support/users/pedro-elsner/)
 * Last activity: [13 years, 3 months ago](https://wordpress.org/support/topic/error-with-wordpress-351/#post-3437406)
 * Status: resolved