WordPress.org

Ready to get started?Download WordPress

Forums

Regenerate Thumbnails
İ have a problem with Regenerate Thumbnails (5 posts)

  1. thernic
    Member
    Posted 1 year ago #

    when i try to regenerate thumbnails, some codes appear

    can you fix it please ?

    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}

    http://wordpress.org/extend/plugins/regenerate-thumbnails/

  2. jmeeter
    Member
    Posted 1 year ago #

    I am getting this problem too.

  3. NJ WebGuy
    Member
    Posted 1 year ago #

    I am getting the identical debugging message.

    Total Images: 7
    Images Resized: 0
    Resize Failures: 7

    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; }

    This is on a brand new install of 3.5 (having lots of issues with 3.5 already)

    With all plugins disabled the message is the same. From the main screen to regenerate all thumbnails or from the media page and attempting to regenerate thumbs for a single message, same problem.

    Just for the sake of thoroughness, I tried chmod 0777 on uploads directory, the subdirectories and all image files. Problem persists.

    Interestingly, I have a WP 3.4 installation on the same server and the plugin is working fine there.

  4. NJ WebGuy
    Member
    Posted 1 year ago #

    OK, more information:

    It actually IS regenerating the thumbnails!

    The file times were updated in FTP, so I suspected this might be what was happening.

    I changed the featured image size in my theme's functions via set_post_thumbnail_size and ran the regenerate all thumbnails again.

    Still got the error messages:

    Debugging Information

    Total Images: 7
    Images Resized: 0
    Resize Failures: 7

    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; }
    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; }
    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; }
    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; }
    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; }
    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; }
    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; }

    However, it successfully created new images in the expected sizes and seems to have regenerated all the existing sizes since the timestamps have been updated on these.

  5. NJ WebGuy
    Member
    Posted 1 year ago #

    I think I found a solution to this problem, at least for some WP 3.5 users.

    As counterintuitive as it sounds, disabling debug mode fixed it for me.

    If you are running 3.5 and have WP_DEBUG defined as true in wp-admin, try setting it to false and see if it helps.

    This solved several other problems for my 3.5 installation as well, as noted here.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.