wordpressテーマを適用する時「Fatal error: Maximum function nesting level of…」の対策

1.エラーメッセージ:
Fatal error: Maximum function nesting level of…

2.解決対策:
vim php.ini
[xdebug]
xdebug.remote_enable = off

xdebug.profiler_enable = off

xdebug.profiler_enable_trigger = off

xdebug.profiler_output_name = cachegrind.out.%t.%p

xdebug.profiler_output_dir = “D:/software/wamp/tmp"

xdebug.max_nesting_level = 512 (追加)

修正前:
xdebug.max_nesting_level = 100

修正後:
xdebug.max_nesting_level = 512

Wordpress

Posted by arkgame