Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter DecoDean

    (@decodean)

    I still struggle with this plug in. It continues to respond as detailed above. Any suggestion on a fix OR is there an alternative plug in I can use and just delete this one?

    I’m still seeing this problem on my site.

    This is a page caching problem I believe and probably explains why a shift+refresh resolves the issue. The “-1” is an Ajax Error. If you have any sort of page caching enabled or page caching plugins then I would start by disabling that and seeing if it fixes the problem.

    For me, I had page caching enabled in .htaccess like so:

    ## EXPIRES CACHING ##
    <IfModule mod_expires.c>
    ExpiresActive On
    ExpiresByType image/jpg “access 1 year”
    ExpiresByType image/jpeg “access 1 year”
    ExpiresByType image/gif “access 1 year”
    ExpiresByType image/png “access 1 year”
    ExpiresByType text/css “access 1 month”
    ExpiresByType application/pdf “access 1 month”
    ExpiresByType text/x-javascript “access 1 month”
    ExpiresByType application/x-shockwave-flash “access 1 month”
    ExpiresByType image/x-icon “access 1 year”
    ExpiresDefault “access 2 days”
    </IfModule>
    ## EXPIRES CACHING ##

    So what I did was excluded .php files from caching like this and the “-1” bug seems to have gone away:

    ## EXPIRES CACHING ##
    <IfModule mod_expires.c>
    ExpiresActive On
    ExpiresByType image/jpg “access 1 year”
    ExpiresByType image/jpeg “access 1 year”
    ExpiresByType image/gif “access 1 year”
    ExpiresByType image/png “access 1 year”
    ExpiresByType text/css “access 1 month”
    ExpiresByType application/pdf “access 1 month”
    ExpiresByType text/x-javascript “access 1 month”
    ExpiresByType application/x-shockwave-flash “access 1 month”
    ExpiresByType image/x-icon “access 1 year”
    ExpiresDefault “access 2 days”

    <FilesMatch “\.(php|cgi)$”>
    ExpiresActive Off
    </FilesMatch>

    </IfModule>
    ## EXPIRES CACHING ##

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘"-1" in search result dropdown’ is closed to new replies.