• Hi. After the last plugin updates, most pages show 500 error. I deactivated all and activated all plugins one by one and the problem comes from the Easy Watermark plugin.

    The error logged is: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use ‘LimitInternalRecursion’ to increase the limit if necessary. Use ‘LogLevel debug’ to get a backtrace.

    WP is at the latest version, all things are updated, PHP resources are fine. Any ideas?

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Kuba Mikita

    (@kubitomakita)

    Hi, I’m sorry our plugin caused this issue. Looks like the URL structure might be messed up.

    Our plugin in the latest version is registering a rewrite rule for the image preview. This may get redirected from www to non-ww or from http to https or vice versa when the addresses are not unified. Can you confirm that this may be the case on your website?

    Use ‘LogLevel debug’ to get a backtrace.

    Also could you get this backtrace from your server administrator? This will be super helpful for us.

    Thread Starter channeldoubler

    (@channeldoubler)

    “when the addresses are not unified”. What do you mean with that? We see no errors or non-https etc.

    Thread Starter channeldoubler

    (@channeldoubler)

    I did check for https, www or not, etc. There is nothing like that.

    This is the httaccess
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteRule .* – [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    Thread Starter channeldoubler

    (@channeldoubler)

    We see no error in loglevel debug

    Thread Starter channeldoubler

    (@channeldoubler)

    LogLevel debug
    SSLUseStapling on
    SSLStaplingCache shmcb:/tmp/stapling_cache(128000)
    SSLProxyEngine on

    KeepAlive On
    KeepAliveTimeout 5
    MaxKeepAliveRequests 200
    Timeout 300

    <IfModule event.c>
    StartServers 15
    ServerLimit 30
    ThreadsPerChild 25
    MaxRequestWorkers 750
    MinSpareThreads 25
    MaxSpareThreads 750
    MaxRequestsPerChild 10000
    </IfModule>

    <IfModule mod_expires.c>
    # turn on the module for this directory
    ExpiresActive on
    # set default
    ExpiresByType image/jpg “access plus 1 month”
    ExpiresByType image/gif “access plus 1 month”
    ExpiresByType image/jpeg “access plus 1 month”
    ExpiresByType image/png “access plus 1 month”
    ExpiresByType text/css “access plus 1 month”
    ExpiresByType text/javascript “access plus 1 month”
    ExpiresByType application/javascript “access plus 1 month”
    ExpiresByType application/x-shockwave-flash “access plus 1 month”
    ExpiresByType text/css “now plus 1 month”
    ExpiresByType image/ico “access plus 1 month”
    ExpiresByType image/x-icon “access plus 1 month”
    ExpiresByType text/html “access plus 600 seconds”
    ExpiresDefault “access plus 2 days”
    </IfModule>
    <IfModule mod_deflate.c>
    SetOutputFilter DEFLATE
    </IfModule>

    <IfModule mod_setenvif.c>
    # Netscape 4.x has some problems…
    BrowserMatch ^Mozilla/4 gzip-only-text/html
    # Netscape 4.06-4.08 have some more problems
    BrowserMatch ^Mozilla/4\.0[678] no-gzip
    # MSIE masquerades as Netscape, but it is fine
    # BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
    # NOTE: Due to a bug in mod_setenvif up to Apache 2.0.48
    # the above regex won’t work. You can use the following
    # workaround to get the desired effect:
    BrowserMatch \bMSI[E] !no-gzip !gzip-only-text/html
    # Don’t compress images
    SetEnvIfNoCase Request_URI .(?:gif|jpe?g|png)$ no-gzip dont-vary
    </IfModule>

    <IfModule mod_headers.c>
    # Make sure proxies don’t deliver the wrong content
    Header append Vary User-Agent env=!dont-vary
    </IfModule>

    #XMLRPC:
    <Files xmlrpc.php>
    order deny,allow
    deny from all
    </Files>
    errordocument 401 default
    errordocument 403 default
    errordocument 404 default
    errordocument 411 default

    Plugin Author Kuba Mikita

    (@kubitomakita)

    Thanks, but that is just the Apache config, not the log ?? This is how it should be enabled: https://stackoverflow.com/a/5767846/12858760 and then this file will contain the log.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘500 error due to the plugin’ is closed to new replies.