• Resolved Young Master

    (@young-master)


    The problems is that whenever I try to smush image one by one either by clicking at the media library or bulk smush it the browser takes long time to load and nothing changes. No successful smushed images. All I get are php error logs and I will post them here as follows.

    [29-Apr-2013 20:47:45 UTC] WordPress database error MySQL server has gone away for query SELECT meta_id FROM wp_postmeta WHERE meta_key = '_wp_attachment_metadata' AND post_id = 2769 made by do_action('admin_action_wp_smushit_manual'), call_user_func_array, WpSmushit->smushit_manual, wp_update_attachment_metadata, update_post_meta, update_metadata
    [29-Apr-2013 20:47:45 UTC] WordPress database error MySQL server has gone away for query INSERT INTO <code>wp_postmeta</code> (<code>post_id</code>,<code>meta_key</code>,<code>meta_value</code>) VALUES (2769,'_wp_attachment_metadata','a:6:{s:5:\"width\";i:600;s:6:\"height\";i:466;s:4:\"file\";s:18:\"2013/04/856529.jpg\";s:5:\"sizes\";a:9:{s:9:\"thumbnail\";a:5:{s:4:\"file\";s:16:\"856529-50x38.jpg\";s:5:\"width\";i:50;s:6:\"height\";i:38;s:9:\"mime-type\";s:10:\"image/jpeg\";s:10:\"wp_smushit\";s:10:\"No savings\";}s:6:\"medium\";a:5:{s:4:\"file\";s:18:\"856529-193x150.jpg\";s:5:\"width\";i:193;s:6:\"height\";i:150;s:9:\"mime-type\";s:10:\"image/jpeg\";s:10:\"wp_smushit\";s:10:\"No savings\";}s:5:\"large\";a:5:{s:4:\"file\";s:18:\"856529-500x388.jpg\";s:5:\"width\";i:500;s:6:\"height\";i:388;s:9:\"mime-type\";s:10:\"image/jpeg\";s:10:\"wp_smushit\";s:10:\"No savings\";}s:14:\"post-thumbnail\";a:5:{s:4:\"file\";s:17:\"856529-100x77.jpg\";s:5:\"width\";i:100;s:6:\"height\";i:77;s:9:\"mime-type\";s:10:\"image/jpeg\";s:10:\"wp_smushit\";s:10:\"No savings\";}s:14:\"blog-thumbnail\";a:5:{s:4:\"file\";s:18:\"856529-150x116.jpg\";s:5:\"width\";i:150;s:6:\"height\";i:116;s:9:\"mime-type\";s:10:\"image/jpeg\";s:10:\"wp_smushit\";s:10:\"No savings\";}s:17:\"sidebar-thumbnail\";a:5:{s:4:\"file\";s:16:\"856529-50x50.jpg\";s:5:\"width\";i:50;s:6:\"height\";i:50;s:9:\"mime-type\";s:10:\"image/jpeg\";s:10:\"wp_smushit\";s:10:\"No savings\";}s:8:\"ad-thumb\";a:5:{s:4:\"file\";s:16:\"856529-75x75.jpg\";s:5:\"width\";i:75;s:6:\"height\";i:75;s:9:\"mime-type\";s:10:\"image/jpeg\";s:10:\"wp_smushit\";s:10:\"No savings\";}s:8:\"ad-small\";a:5:{s:4:\"file\";s:18:\"856529-100x100.jpg\";s:5:\"width\";i:100;s:6:\"height\";i:100;s:9:\"mime-type\";s:10:\"image/jpeg\";s:10:\"wp_smushit\";s:10:\"No savings\";}s:9:\"ad-medium\";a:5:{s:4:\"file\";s:18:\"856529-250x250.jpg\";s:5:\"width\";i:250;s:6:\"height\";i:250;s:9:\"mime-type\";s:10:\"image/jpeg\";s:10:\"wp_smushit\";s:10:\"No savings\";}}s:10:\"image_meta\";a:10:{s:8:\"aperture\";i:0;s:6:\"credit\";s:0:\"\";s:6:\"camera\";s:0:\"\";s:7:\"caption\";s:0:\"\";s:17:\"created_timestamp\";i:0;s:9:\"copyright\";s:0:\"\";s:12:\"focal_length\";i:0;s:3:\"iso\";i:0;s:13:\"shutter_speed\";i:0;s:5:\"title\";s:0:\"\";}s:10:\"wp_smushit\";s:10:\"No savings\";}') made by do_action('admin_action_wp_smushit_manual'), call_user_func_array, WpSmushit->smushit_manual, wp_update_attachment_metadata, update_post_meta, update_metadata, add_metadata

    https://www.ads-software.com/extend/plugins/wp-smushit/

Viewing 1 replies (of 1 total)
  • Hello there @young-master,
    WordPress database error MySQL server has gone away
    this error really has nothing to do with WordPress itself… it a MySQL & PHP error.
    Most likely there is a timeout, could you please try increasing the PHP limits in our configuration? If this is on a shared hosting, you can try contacting your webhost.

    Cheers,
    Ari.

Viewing 1 replies (of 1 total)
  • The topic ‘Smush.it deosnt work for me. Am getting the following errors’ is closed to new replies.