Support » Plugin: WP-Optimize - Clean, Compress, Cache. » An unexpected response was received.

  • Resolved shirtguy72

    (@shirtguy72)


    Just updated to 3.0.0 I have not made changes of any kind, have not set caching. I was just having a look around in settings. Now whenever I start moving around in WP Optimize a small warning box appears basically saying “my website url says … An unexpected response was received.”

Viewing 5 replies - 16 through 20 (of 20 total)
  • ibiza69

    (@ibiza69)

    And now, as we did this for your before updating to this new releasde that you provided, after updating it, we can say that everything works fine. The difference it´s that we hadn´t have to delete this file “advanced-cache.ph” as shirtguy72 had to.

    Thanks for all this quick, effords and nice help 🙂 Happy weekend to all !!

    cgscomputers

    (@cgscomputers)

    @davidanderson Sorry I have been busy today with some other projects, I installed this update you published on one of my sites and that alone seems to have resolved the issue. I’ll have to go back and update all the others & test, but so far it looks promising. Thank you for sticking with this.

    shirtguy72

    (@shirtguy72)

    Just to confirm 3.0.2 working fine as stand alone update: Just now logged into clients site (also running WP Fastest Cache) … Skipped 3.0.1 Updated to 3.0.2 … ALL IS WELL!!!

    Hi,
    Im new to WP Optimize.
    I installed and ran it perfectly, db/image/cache in dev. No problem, using latest WPO from WordPress wpadmin dashboard.

    I went to install and run in PROD (I got to image smush, and it crashed my site. I reverted to backup and tried again, this time i did it in piece meal.
    1. db optimize. success.
    2. delete old posts, etc.. success
    3. smush images using re-smush, and just like the first attempt, 10min into the image smushing .. it served up “An unexpected response was received” and site was down. The error message said ‘cannot read the db’ something to that effect.

    Here are my site health stats:
    2 Critical issues

    The REST API encountered an error
    Performance

    Your site could not complete a loopback request
    Performance
    6 Recommended improvements

    You should remove inactive plugins
    Security

    Have a default theme available
    Security

    Your PHP version should be updated
    Performance

    A scheduled event has failed
    Performance

    301 .htaccess redirect is not enabled.
    SSL

    Background updates may not be working properly
    Security

    9 Items with no issues detected

    Your WordPress version is up to date (5.2.3)
    Performance

    SQL server is up to date
    Performance

    Required and recommended modules are installed
    Performance

    UTF8MB4 is supported
    Performance

    Your website is using an active HTTPS connection.
    Security

    Your site can communicate securely with other services
    Security

    HTTP requests seem to be working as expected
    Performance

    Your site is not set to output debug information
    Security

    Can communicate with WordPress.org
    Security

    Version 5.2.3
    Site Language en_US
    User Language en_US
    Permalink structure /%postname%/
    Is this site using HTTPS? Yes
    Can anyone register on this site?
    Default comment status
    Is this a multisite?
    User count 54
    Communication with WordPress.org WordPress.org is reachable

    Server architecture Linux 2.6.32-954.3.5.lve1.4.66.el6.x86_64 x86_64
    Web server Apache
    PHP version 7.1.30 (Supports 64bit values)
    PHP SAPI litespeed
    PHP max input variables 1000
    PHP time limit 30
    PHP memory limit 256M
    Max input time -1
    Upload max filesize 32M
    PHP post max size 32M
    cURL version 7.62.0 OpenSSL/1.0.2k
    Is SUHOSIN installed? No
    Is the Imagick library available? Yes
    .htaccess rules Custom rules have been added to your .htaccess file.

    Extension mysqli
    Server version 5.6.44-cll-lve
    Client version 5.6.44
    Database user
    Database host
    Database name
    Database prefix

    Hello,
    Here’s what i did this time to see if it helped:
    – I removed un-used plugin
    – updated all plugins i could
    – deleted old themes
    – upgraded from php 7.1 to 7.3
    – tried to resolve all complaints in health test (that made sense)

    Then i ran wp optimize again.
    database optimize worked (all reco ones. I did not do the asterisks)
    Then I did image optimize (this time nitrosmush). I even clicked just ONE image to optimize. Yet it proceeded to optimize all pictures, and about the sixth one, it threw up the error. This time I grabbed all the error messages from browser dev tools.
    ==================================================
    JQMIGRATE: Migrate is installed, version 1.4.1
    wposmush-3-0-12.min.js?ver=3.0.12:1 Loading information about uncompressed images.
    wposmush-3-0-12.min.js?ver=3.0.12:1 Information about uncompressed images loaded.
    wposmush-3-0-12.min.js?ver=3.0.12:1 WPO: Exception when trying to parse JSON (1) – will attempt to fix/re-parse
    wposmush-3-0-12.min.js?ver=3.0.12:1 <h1>Error establishing a database connection</h1>
    <p>This either means that the username and password information in your wp-config.php file is incorrect or we can’t contact the database server at localhost. This could mean your host’s database server is down.</p>

    • Are you sure you have the correct username and password?
    • Are you sure that you have typed the correct hostname?
    • Are you sure that the database server is running?

    <p>If you’re unsure what these terms mean you should probably contact your host. If you still need help you can always visit the WordPress Support Forums.</p>
    wposmush-3-0-12.min.js?ver=3.0.12:1 smush_manager_send_command JSON parse error
    wposmush-3-0-12.min.js?ver=3.0.12:1 WPO: could not parse the JSON
    wposmush-3-0-12.min.js?ver=3.0.12:1 <h1>Error establishing a database connection</h1>
    <p>This either means that the username and password information in your wp-config.php file is incorrect or we can’t contact the database server at localhost. This could mean your host’s database server is down.</p>

    • Are you sure you have the correct username and password?
    • Are you sure that you have typed the correct hostname?
    • Are you sure that the database server is running?

    <p>If you’re unsure what these terms mean you should probably contact your host. If you still need help you can always visit the WordPress Support Forums.</p>
    wposmush-3-0-12.min.js?ver=3.0.12:1 undefined
    2
    wposmush-3-0-12.min.js?ver=3.0.12:1 Loading information about uncompressed images.
    /wp-admin/admin-ajax…s_blog_admin=true:1 Failed to load resource: the server responded with a status of 500 ()
    wposmush-3-0-12.min.js?ver=3.0.12:1 smush_manager_send_command AJAX parse error: error ()
    /wp-admin/admin-ajax…s_blog_admin=true:1 Failed to load resource: the server responded with a status of 500 ()
    wposmush-3-0-12.min.js?ver=3.0.12:1 smush_manager_send_command AJAX parse error: error ()
    wposmush-3-0-12.min.js?ver=3.0.12:1 WPO: Exception when trying to parse

Viewing 5 replies - 16 through 20 (of 20 total)
  • You must be logged in to reply to this topic.