• Resolved LogixTree

    (@logixtree)


    Hi Team,
    I have been debugging the random 500 errors from few days. And I came out to the conclusion that your plugin is creating these extra redirects when we use in conjunction with WPML.

    Here is the error message:
    [Mon Sep 09 02:27:08.160529 2019] [core:error] [pid 18420:tid 1780] [client 127.0.0.1:60378] AH00124: 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.

    When run in debug mode.

    [Mon Sep 09 02:27:08.160529 2019] [core:debug] [pid 18420:tid 1780] core.c(3823): [client 127.0.0.1:60378] AH00121: r->uri = /hotel/en/index.php, referer: https://localhost/hotel/en/appartamenti/
    [Mon Sep 09 02:27:08.160529 2019] [core:debug] [pid 18420:tid 1780] core.c(3829): [client 127.0.0.1:60378] AH00122: redirected from r->uri = /hotel/en/index.php, referer: https://localhost/hotel/en/appartamenti/
    [Mon Sep 09 02:27:08.160529 2019] [core:debug] [pid 18420:tid 1780] core.c(3829): [client 127.0.0.1:60378] AH00122: redirected from r->uri = /hotel/en/index.php, referer: https://localhost/hotel/en/appartamenti/
    [Mon Sep 09 02:27:08.160529 2019] [core:debug] [pid 18420:tid 1780] core.c(3829): [client 127.0.0.1:60378] AH00122: redirected from r->uri = /hotel/en/index.php, referer: https://localhost/hotel/en/appartamenti/
    [Mon Sep 09 02:27:08.160529 2019] [core:debug] [pid 18420:tid 1780] core.c(3829): [client 127.0.0.1:60378] AH00122: redirected from r->uri = /hotel/en/index.php, referer: https://localhost/hotel/en/appartamenti/
    [Mon Sep 09 02:27:08.160529 2019] [core:debug] [pid 18420:tid 1780] core.c(3829): [client 127.0.0.1:60378] AH00122: redirected from r->uri = /hotel/en/index.php, referer: https://localhost/hotel/en/appartamenti/
    [Mon Sep 09 02:27:08.160529 2019] [core:debug] [pid 18420:tid 1780] core.c(3829): [client 127.0.0.1:60378] AH00122: redirected from r->uri = /hotel/en/index.php, referer: https://localhost/hotel/en/appartamenti/
    [Mon Sep 09 02:27:08.160529 2019] [core:debug] [pid 18420:tid 1780] core.c(3829): [client 127.0.0.1:60378] AH00122: redirected from r->uri = /hotel/en/index.php, referer: https://localhost/hotel/en/appartamenti/
    [Mon Sep 09 02:27:08.160529 2019] [core:debug] [pid 18420:tid 1780] core.c(3829): [client 127.0.0.1:60378] AH00122: redirected from r->uri = /hotel/en/index.php, referer: https://localhost/hotel/en/appartamenti/
    [Mon Sep 09 02:27:08.160529 2019] [core:debug] [pid 18420:tid 1780] core.c(3829): [client 127.0.0.1:60378] AH00122: redirected from r->uri = /hotel/en/index.php, referer: https://localhost/hotel/en/appartamenti/
    [Mon Sep 09 02:27:08.160529 2019] [core:debug] [pid 18420:tid 1780] core.c(3829): [client 127.0.0.1:60378] AH00122: redirected from r->uri = /hotel/appartamenti/, referer: https://localhost/hotel/en/appartamenti/

    I have deactivated all the plugins and checked one by one. Then all plugins down and your and wpml active only. Please guide me on how to continue use your plugin without such redirect issue. In case if this issue has been reported earlier.

    Regards,
    Team LogixTree

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter LogixTree

    (@logixtree)

    Okay, I think this one has been sorted. I tried commenting out the flush_rewrite_rules(); which were mentioned in loomisoft-content-blocks\includes\ls_cb_main.php

    Please note we use flush_rewrite_rules(); for updating the .htaccess file. In case, If we are not dealing with URLs and permalinks. there is no point to call it. Let me know if I am wrong here. But after commenting flush_rewrite_rules(); on the line no 162 in register_post function, It sorts out my issue.

    Regards,
    Team LogixTree

    • This reply was modified 5 years, 2 months ago by LogixTree.

    @logixtree Thanks, I’ve encountered the very same problem with WPML and Reusable Content & Text Blocks by Loomisoft. Solved the issue for me as well.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Created Extra Redirects When Used with WPML’ is closed to new replies.