• Resolved Enterpr1se

    (@enterpr1se)


    Hi,

    I found there are some php errors log file.
    Is there anything I can fix?

    [09-Nov-2014 14:11:38 UTC] WordPress database error BIGINT UNSIGNED value is out of range in ‘(enterpr1se_wp.wp_ewwwio_images.orig_sizeenterpr1se_wp.wp_ewwwio_images.image_size)’ for query SELECT orig_size-image_size FROM wp_ewwwio_images LIMIT 46000, 1000 made by do_action(‘wp_ajax_ewww_savings_loop’), call_user_func_array, ewww_image_optimizer_savings_loop

    https://wordpress.org/plugins/ewww-image-optimizer/

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author nosilver4u

    (@nosilver4u)

    Not sure how that happens, but I just ran into it on a couple images on my dev server the other day ironically. It means that some of images in the ewwwio table have larger optimized sizes than the originals. Like I said, no idea how that happens, if you can track down the images, and send me original copies of them (if you still have such a thing), I’ll double-check to make sure we aren’t missing something. Otherwise, just delete those records from the database, and it should fix things. I’ve already put a fix in dev to make sure those errors don’t break the savings counter (which is when they occur). You should be looking somewhere between record 46000, and 47000.

    Thread Starter Enterpr1se

    (@enterpr1se)

    I tried to look at the record but it killing my eyes ~.~

    Is there any sql code to let me easily to found out which image?
    Thanks

    Thread Starter Enterpr1se

    (@enterpr1se)

    I found another problem, I am using cloud optimize, and I found the usage go up so quick.
    So I decide to use local server to process png optimize, but I found the png optimization use up all my cpu resource.
    It seems keeping optimize something.
    I tried reboot my server but it start optimize again after boot up.

    I had changed to dev version 2.1.01 but it doesn’t help.

    Plugin Author nosilver4u

    (@nosilver4u)

    Do you have scheduled optimization turned on?

    Plugin Author nosilver4u

    (@nosilver4u)

    Try this for finding those images: SELECT * FROM wp_ewwwio_images WHERE image_size > orig_size

    I discovered (using that query) the problem in my case was that I had optimized a them, and the author apparently replaced a few images with larger version, and then the next time I optimized them, the optimized size was larger than the original size from the first time they were optimized. That’s mostly speculation, as those are images I optimized a long time ago, so it is hard to say for sure.

    Thread Starter Enterpr1se

    (@enterpr1se)

    No, I haven’t enable scheduled optimization.
    So I am not sure what image was sent to the server
    When I write this post, the image Cloud optimization rise from 5752 to 5754.

    I found there are 53 images have this problem.
    Most of them are resized image, but not all from same image.
    For example, /wp-content/uploads/2014/07/Cloudflare-change-name-server-700×348.png . This image have problem, but onther size and original copy don’t have problem.

    Plugin Author nosilver4u

    (@nosilver4u)

    What plugins are you using? It sounds like one of them is generating resizes on the fly, which would kick off optimization as soon as you get any traffic. Not too big of a deal, unless it is not caching those resizes to disk properly (and I’ve seen plenty of plugins that do this).

    Thread Starter Enterpr1se

    (@enterpr1se)

    I installed 2 plugins in last week, may be they are the source of problem.
    1) Cachify
    2) WordPress Social Sharing Optimization (WPSSO)

    I will try to figure out which one cause the problem

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

The topic ‘Error message in php error log’ is closed to new replies.