WordPress.org

Support

Support » Plugins and Hacks » Force Regenerate Thumbnails » [Resolved] Error with WordPress 3.5.1

[Resolved] Error with WordPress 3.5.1

  • 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/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Pedro Elsner

    @pedro-elsner

    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/

    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 Author Pedro Elsner

    @pedro-elsner

    I have a blog with this plugin running on Windows + Apache =/

    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 Author Pedro Elsner

    @pedro-elsner

    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 ‘[Resolved] Error with WordPress 3.5.1’ is closed to new replies.
Skip to toolbar