• Resolved vishalrawat

    (@vishalrawat)


    I am trying from last 1 week but unable to resolve the issue. I tried disabling every plugin and make wp smush work but still no solution. The website responds with 502 bad gateway error ervey time I click on setting of wp smush plugin.
    Is there any specific php version to be used?

Viewing 5 replies - 1 through 5 (of 5 total)
  • @vishalrawat, Do you happen to be aware about using Debug Log in WordPress?

    What is the WordPress and PHP version on your install?

    Thanks, Umesh

    Thread Starter vishalrawat

    (@vishalrawat)

    Wordpress version : 4.9.1
    Php version : 7

    Plugin Support Dimitris – WPMU DEV Support

    (@wpmudev-support6)

    Hello there @vishalrawat,

    I’m really sorry for the long delay here, somehow we’ve missed this topic.

    Is this still an on-going issue in your end?
    Using WP 4.9.5 and latest Smush version? Please advise!

    Warm regards,
    Dimitris

    Thread Starter vishalrawat

    (@vishalrawat)

    I checked it yesterday. It is still not working.

    Plugin Support Dimitris – WPMU DEV Support

    (@wpmudev-support6)

    Hello @vishalrawat

    Could you please access your server via FTP, edit wp-config.php file, find a line like
    define('WP_DEBUG', false);
    and replace it with the following (if the above line doesn’t exist, simply insert next snippet just above the /* That’s all, stop editing! Happy blogging. */ comment)

    // Enable WP_DEBUG mode
    define('WP_DEBUG', true);
    // Enable Debug logging to the /wp-content/debug.log file
    define('WP_DEBUG_LOG', true);
    // Disable display of errors and warnings
    define('WP_DEBUG_DISPLAY', false);
    @ini_set('display_errors', 0);

    After doing so, you should reproduce the 502 error, so any additional information will be logged to debug file, so install/activate Smush again and try to bulk smush until you get the error again.

    Then upload /wp-content/debug.log file to a service like Dropbox and post the shareable link here in your next reply.

    Ref: https://premium.wpmudev.org/blog/debugging-wordpress-how-to-use-wp_debug/

    Warm regards,
    Dimitris

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Wp smush not working’ is closed to new replies.