WordPress 4.5でChild Pages Shortcodeのエラーが出るためCC Child Pagesプラグインに乗り換える

2016/04/16現在、WordPress 4.5にアップデートしたところ、Child Pages Shortcodeプラグインでエラーが出るようになってしまった。

Apacheのエラーログを確認すると以下のようなメッセージが連発していた。

[Sat Apr 16 09:34:41.546660 2016] [core:error] [pid 5436:tid 1952] [client 66.249.77.9:48380] 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.
[Sat Apr 16 09:34:41.546660 2016] [core:error] [pid 5436:tid 1952] [client 66.249.77.9:48380] 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.
[Sat Apr 16 10:09:28.669407 2016] [core:error] [pid 5436:tid 1912] [client 66.249.71.251:49663] 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.
[Sat Apr 16 10:09:28.669893 2016] [core:error] [pid 5436:tid 1912] [client 66.249.71.251:49663] 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.
[Sat Apr 16 10:10:29.275006 2016] [core:error] [pid 5436:tid 2008] [client 182.251.43.219:55611] 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., referer: https://clover.fcg.world/conservatoire/lesson/
[Sat Apr 16 10:10:29.275506 2016] [core:error] [pid 5436:tid 2008] [client 182.251.43.219:55611] 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., referer: https://clover.fcg.world/conservatoire/lesson/
[Sat Apr 16 10:10:29.287516 2016] [core:error] [pid 5436:tid 1944] [client 182.251.43.219:55613] 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., referer: https://clover.fcg.world/conservatoire/lesson/
[Sat Apr 16 10:10:29.287516 2016] [core:error] [pid 5436:tid 1944] [client 182.251.43.219:55613] 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., referer: https://clover.fcg.world/conservatoire/lesson/
[Sat Apr 16 10:10:42.759384 2016] [core:error] [pid 5436:tid 1960] [client 66.249.77.9:44072] 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.
[Sat Apr 16 10:10:42.759384 2016] [core:error] [pid 5436:tid 1960] [client 66.249.77.9:44072] 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.
[Sat Apr 16 10:15:17.319375 2016] [core:error] [pid 5436:tid 1988] [client 192.168.11.11:64008] 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., referer: https://clover.fcg.world/conservatoire/wp-content/plugins/child-pages-shortcode/css/child-pages-shortcode.min.css
[Sat Apr 16 10:15:17.324381 2016] [core:error] [pid 5436:tid 1988] [client 192.168.11.11:64008] 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., referer: https://clover.fcg.world/conservatoire/wp-content/plugins/child-pages-shortcode/css/child-pages-shortcode.min.css
[Sat Apr 16 10:15:17.329388 2016] [core:error] [pid 5436:tid 1912] [client 192.168.11.11:64009] 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., referer: https://clover.fcg.world/conservatoire/wp-content/plugins/child-pages-shortcode/css/child-pages-shortcode.min.css
[Sat Apr 16 10:15:17.329388 2016] [core:error] [pid 5436:tid 1912] [client 192.168.11.11:64009] 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., referer: https://clover.fcg.world/conservatoire/wp-content/plugins/child-pages-shortcode/css/child-pages-shortcode.min.css

上記ログからChild Pages Shortcodeが怪しいと考えた。

Child Pages Shortcodeは、固定ページ内で、子ページの一覧を自動で美しく整形して表示してくれる優れたプラグインであり重宝していたが、仕方がないので同種のプラグインを検索したところCC Child Pagesというのが見つかった。

こちらのプラグインに変更したところ上記エラーが出現しなくなり、子ページも正常に表示されている。

なおChild Pages ShortcodeとCC Child Pagesは全く同じ[child_pages]という名前のショートコードを使用するため、乗り換えは楽であるが、共存させるとバッティング必至である。

WordPress 4.5にアップグレード後からApacheのレスポンスが経時的に遅くなり、再起動するとまた速くなるという現象を繰り返し始めたため、Apacheのエラーログを調べたところこの問題を発見した。

コメント