WPIntell

Source evidence

Kirki causes 500 Internal server error

Kirki – Freeform Page Builder, Website Builder & Customizer · support · 2026-05-21T09:27:00+00:00

complaintsentiment
highseverity
0.88relevance
10replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

6 / 34 rows with source links

17.6% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

28 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
Boris unresolved
I have a WPML/WooCommerce website running on the Sober theme. Everything is up to date. But as of late, the pages beyond the homepage are all generating 500 internal server errors. After some testing, I found out that the issue disappears when Kirki is disabled. I have tried replacing 6.0.8 with earlier versions (6.0.7, 6.0.0), but those two cannot be activated because they cause a fatal error. I also noticed that the htaccess file in the website root is changed. When I discard that and re-save permalinks, everything is back to normal. Until I activate Kirki again. Is there a bug in the 6.x.x versions? I am also wondering where exactly I can adjust the fields Kirki adds to the Appearance > Customizer, as that is the only active thing I see from Kirki (I did not build this website myself, but am responsible for maintaining it). Can you also shed some light on that? Thank you very much for your help! The page I need help with: [ log in to see the link] Hi, Thanks for sharing the details. Since this is a 500 server error, could you please check whether any fatal errors are being generated in the server error logs or wp-content/debug.log ? Please also share: your current PHP version any relevant error log entries related to Kirki or the affected pages Please remove any sensitive information before posting logs publicly. Hi @parag44 – thanks for your help! – Debug.log shows only deprecation messages, and nothing Kirki-related – this is what was found in the server log: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use ‘LimitInternalRecursion’ to increase. this led us to the htaccess file initially. the limit if necessary. Use ‘LogLevel debug’ to get a backtrace. – PHP version: 8.3.31 Hi @ispacecrusader Thanks for checking the logs. The message Request exceeded the limit of 10 internal redirects usually points to a rewrite/permalink loop in .htaccess , rather than a direct PHP fatal error from Kirki. Kirki itself does not normally write or manage .htaccess rules. In many themes, Kirki is only used as the framework for Customizer fields, while the theme registers and handles the actual settings. So this may be coming from the Sober theme, WPML, or another integration that runs when Kirki is active. Could you please try the following? Back up your current .htaccess file. With Kirki active, go to Settings > Permalinks and click Save Changes . Compare the regenerated .htaccess file with the working version. Temporarily switch to a default WordPress theme, such as Twenty Twenty-Four or Twenty Twenty-Five, while keeping Kirki active. Temporarily deactivate WPML and its related add-ons, then test the affected pages again. Temporarily deactivate all plugins except Kirki and WooCommerce, then test again. Please let me know the update after checking these. Hi @parag44 , Thank you. I will run those tests. But it will take a bit of time, especially changing the theme, since I don’t want to risk losing widgets. I will run the tests next week, and let you know. Hi @parag44 , I’ve run all the tests. The results: 1. after replacing htaccess, activating kirki and saving permalinks, the error is back. 2. Compared htaccess files. Two lines have been added: RewriteBase /fr/ RewriteRule . /fr/index.php [L] 3. Switched to 2024. The error remains. 4. disabled all plugins except Kirki and WooCommerce. The error is gone. 5. Switched back to Sober theme. The error still gone. 6. Re-enabled plugins one by one. The error returns when I activate WPML. 7. Disabled Kirki again, and the error is gone again. 8. I’ve manually edited htaccess and replaced the /fr/ entries with standard WordPress ones. Then the error disappears again. For a few minutes, then it’s back because the htaccess file has been changed again. So it looks like the issue is somewhere in the compatibility of Kirki and WPML. What do you think? This reply was modified 3 weeks, 1 day ago by Boris . I see several “flush_rewrite_rules” in the Kirki plugin. Perhaps that is causing it? Looks like Kirki is repeatedly flushing permalinks while WPML’s current language context is /fr/. For now, I’ve manually updated htaccess and set its permissions on 444. But that’s not the ideal situation. This reply was modified 3 weeks, 1 day ago by Boris . Hello @ispacecrusader , Thanks for narrowing this down so thoroughly. Your observation is reasonable. Since the issue reappears after WPML rewrites the .htaccess file, it suggests a permalink rewrite conflict. We will review this internally and investigate what to do in this scenario. Thank you @urnafiz . I will keep the workaround in place for now and await your findings. Hi @urnafiz – have you made any progress regarding this? @urnafiz – I noticed there was an update available for Kirki. I re-instated normal htaccess permissions then updated to 6.0.10. Unfortunately, the problem is still there. I restored the old htaccess file and set the permissions back to 444, now it’s working again. Was the 6.0.10 update supposed to resolve the issue?

Comments

10 shown
Parag Das 2026-05-21T12:18:00+00:00

Hi, Thanks for sharing the details. Since this is a 500 server error, could you please check whether any fatal errors are being generated in the server error logs or wp-content/debug.log ? Please also share: your current PHP version any relevant error log entries related to Kirki or the affected pages Please remove any sensitive information before posting logs publicly.

Boris 2026-05-21T12:22:00+00:00

Hi @parag44 – thanks for your help! – Debug.log shows only deprecation messages, and nothing Kirki-related – this is what was found in the server log: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use ‘LimitInternalRecursion’ to increase. this led us to the htaccess file initially. the limit if necessary. Use ‘LogLevel debug’ to get a backtrace. – PHP version: 8.3.31

Parag Das 2026-05-21T12:47:00+00:00

Hi @ispacecrusader Thanks for checking the logs. The message Request exceeded the limit of 10 internal redirects usually points to a rewrite/permalink loop in .htaccess , rather than a direct PHP fatal error from Kirki. Kirki itself does not normally write or manage .htaccess rules. In many themes, Kirki is only used as the framework for Customizer fields, while the theme registers and handles the actual settings. So this may be coming from the Sober theme, WPML, or another integration that runs when Kirki is active. Could you please try the following? Back up your current .htaccess file. With Kirki active, go to Settings > Permalinks and click Save Changes . Compare the regenerated .htaccess file with the working version. Temporarily switch to a default WordPress theme, such as Twenty Twenty-Four or Twenty Twenty-Five, while keeping Kirki active. Temporarily deactivate WPML and its related add-ons, then test the affected pages again. Temporarily deactivate all plugins except Kirki and WooCommerce, then test again. Please let me know the update after checking these.

Boris 2026-05-21T12:56:00+00:00

Hi @parag44 , Thank you. I will run those tests. But it will take a bit of time, especially changing the theme, since I don’t want to risk losing widgets. I will run the tests next week, and let you know.

Boris 2026-05-27T08:23:00+00:00

Hi @parag44 , I’ve run all the tests. The results: 1. after replacing htaccess, activating kirki and saving permalinks, the error is back. 2. Compared htaccess files. Two lines have been added: RewriteBase /fr/ RewriteRule . /fr/index.php [L] 3. Switched to 2024. The error remains. 4. disabled all plugins except Kirki and WooCommerce. The error is gone. 5. Switched back to Sober theme. The error still gone. 6. Re-enabled plugins one by one. The error returns when I activate WPML. 7. Disabled Kirki again, and the error is gone again. 8. I’ve manually edited htaccess and replaced the /fr/ entries with standard WordPress ones. Then the error disappears again. For a few minutes, then it’s back because the htaccess file has been changed again. So it looks like the issue is somewhere in the compatibility of Kirki and WPML. What do you think? This reply was modified 3 weeks, 1 day ago by Boris .

Boris 2026-05-27T08:28:00+00:00

I see several “flush_rewrite_rules” in the Kirki plugin. Perhaps that is causing it? Looks like Kirki is repeatedly flushing permalinks while WPML’s current language context is /fr/. For now, I’ve manually updated htaccess and set its permissions on 444. But that’s not the ideal situation. This reply was modified 3 weeks, 1 day ago by Boris .

Nafiz 2026-05-27T09:05:00+00:00

Hello @ispacecrusader , Thanks for narrowing this down so thoroughly. Your observation is reasonable. Since the issue reappears after WPML rewrites the .htaccess file, it suggests a permalink rewrite conflict. We will review this internally and investigate what to do in this scenario.

Boris 2026-05-27T09:15:00+00:00

Thank you @urnafiz . I will keep the workaround in place for now and await your findings.

Boris 2026-06-17T14:48:00+00:00

Hi @urnafiz – have you made any progress regarding this?

Boris 2026-06-18T09:09:00+00:00

@urnafiz – I noticed there was an update available for Kirki. I re-instated normal htaccess permissions then updated to 6.0.10. Unfortunately, the problem is still there. I restored the old htaccess file and set the permissions back to 444, now it’s working again. Was the 6.0.10 update supposed to resolve the issue?