Title: Polylang causes exhausted memory error
Last modified: September 1, 2016

---

# Polylang causes exhausted memory error

 *  [EigenWijsheid](https://wordpress.org/support/users/eigenwijsheid/)
 * (@eigenwijsheid)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/polylang-causes-exhausted-memory-error/)
 * After updating to WP 4.6, Polylang causea a fatal memory exhaustion error:
 * Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate
   130968 bytes) in /home/eigenwi2/public_html/wp-includes/plugin.php on line 41
 * It is not a plugin conflict, because the error also occurs when Polylang is the
   only activated plugin. Maybe it is a theme conflict?
 * I use The latest Divi theme version which is also just updated.
 *  The allocated memory in wp-includes/plugin.php is 256mb
 * Any ideas on how to solve this are very welcome, thanks.
 * [https://wordpress.org/plugins/polylang/](https://wordpress.org/plugins/polylang/)

Viewing 15 replies - 1 through 15 (of 28 total)

1 [2](https://wordpress.org/support/topic/polylang-causes-exhausted-memory-error/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/polylang-causes-exhausted-memory-error/page/2/?output_format=md)

 *  Plugin Support [Chrystl](https://wordpress.org/support/users/chrystl/)
 * (@chrystl)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/polylang-causes-exhausted-memory-error/#post-7673719)
 * Hi
    You can ask for advice to your theme author. And maybe see with your host
   provider to increase your memory capacity.
 *  [uthn](https://wordpress.org/support/users/uthn/)
 * (@uthn)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/polylang-causes-exhausted-memory-error/#post-7673726)
 * Good morning,
 * Same issue here, http500 error on homepage when polylang is activated (didn’t
   dig through the debug), and also using the latest Divi
 * any help would be more than welcome,
 * thanks
 *  [KenZen](https://wordpress.org/support/users/kenzen/)
 * (@kenzen)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/polylang-causes-exhausted-memory-error/#post-7673742)
 * I also have this error, you know if you are solving?
 *  Plugin Author [Chouby](https://wordpress.org/support/users/chouby/)
 * (@chouby)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/polylang-causes-exhausted-memory-error/#post-7673746)
 * [@eigenwijsheid](https://wordpress.org/support/users/eigenwijsheid/)
 * Yes please test with WP 4.6 + Twenty Sixteen + Polylang 2.0.3 only to check if
   your problem comes from Polylang.
 *  [KenZen](https://wordpress.org/support/users/kenzen/)
 * (@kenzen)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/polylang-causes-exhausted-memory-error/#post-7673764)
 * Hello Chouby,
 * I also have the issue Divi, and have tried with another subject and still gives
   me error. Disabling Polylang the problem is solved. I think the problem is the
   plugin polylang.
 * Thanks for your attention
 *  [marcelofurtado](https://wordpress.org/support/users/marcelofurtado/)
 * (@marcelofurtado)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/polylang-causes-exhausted-memory-error/#post-7673769)
 * I’m experiencing the same problem. I have Divi and tested with Twenty Sixteen
   and it worked.
 * Any ideas on how to solve this on Divi?
 *  [vaughnd](https://wordpress.org/support/users/vaughnd/)
 * (@vaughnd)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/polylang-causes-exhausted-memory-error/#post-7673792)
 * Also hitting this after the automatic upgrade to wordpress 4.6. Divi theme + 
   polylang 2.0.3 not playing well together. I can load the divi theme without polylang,
   or other themes with polylang.
 *  [uthn](https://wordpress.org/support/users/uthn/)
 * (@uthn)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/polylang-causes-exhausted-memory-error/#post-7673794)
 * After some testing on several sites, looks like the problem only happens (at 
   least for me) if the settings for permalinks (for polylang) is set to ‘language
   is defined by content’. Changing the setting to ‘language is set by folder name
   in the permalink’ works fine.
 * If anyone can test this out just to confirm
 *  [marcelofurtado](https://wordpress.org/support/users/marcelofurtado/)
 * (@marcelofurtado)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/polylang-causes-exhausted-memory-error/#post-7673797)
 * Worked like a charm, uthn!
 * Thanks a lot!
 *  [uthn](https://wordpress.org/support/users/uthn/)
 * (@uthn)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/polylang-causes-exhausted-memory-error/#post-7673801)
 * You’re welcome,
 * More like a band-aid than a real solution i guess as it will alter your permalinks,
   until a more reliable solution is found.
 *  [edugarlao](https://wordpress.org/support/users/edugarlao/)
 * (@edugarlao)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/polylang-causes-exhausted-memory-error/#post-7673806)
 * Thanks uthn, works perfectly
 * It is a temporary solution because it changes the URL ‘s and that affects SEO
   and can make mistakes with links anyway thanks to you I have all operational 
   web , waiting for better solutions .
 * Regards,
 *  Thread Starter [EigenWijsheid](https://wordpress.org/support/users/eigenwijsheid/)
 * (@eigenwijsheid)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/polylang-causes-exhausted-memory-error/#post-7673846)
 * When I change to default WP theme and activate Polylang, I do not get the memory
   exhausted error. Didn’t check if Polylang functioned properly because site was
   a big mess, so changed back to Divi quickly.
 *  [vaughnd](https://wordpress.org/support/users/vaughnd/)
 * (@vaughnd)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/polylang-causes-exhausted-memory-error/#post-7673859)
 * Changing that setting works for me too, but breaks most of our links… Trying 
   to revert to wordpress 4.5 until a fix comes out…
 *  Plugin Author [Chouby](https://wordpress.org/support/users/chouby/)
 * (@chouby)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/polylang-causes-exhausted-memory-error/#post-7673868)
 * Has anyone of you informed the Divi support team?
    Polylang’s code is public 
   but not Divi’s one.
 *  [uthn](https://wordpress.org/support/users/uthn/)
 * (@uthn)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/polylang-causes-exhausted-memory-error/#post-7673869)
 * There’s an (at least) open thread on the Divi support theme atm, will post here
   if there’s any feedback on their side.

Viewing 15 replies - 1 through 15 (of 28 total)

1 [2](https://wordpress.org/support/topic/polylang-causes-exhausted-memory-error/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/polylang-causes-exhausted-memory-error/page/2/?output_format=md)

The topic ‘Polylang causes exhausted memory error’ is closed to new replies.

 * ![](https://ps.w.org/polylang/assets/icon-256x256.png?rev=3433336)
 * [Polylang](https://wordpress.org/plugins/polylang/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/polylang/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/polylang/)
 * [Active Topics](https://wordpress.org/support/plugin/polylang/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/polylang/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/polylang/reviews/)

 * 28 replies
 * 12 participants
 * Last reply from: [baldipl](https://wordpress.org/support/users/baldipl/)
 * Last activity: [9 years, 9 months ago](https://wordpress.org/support/topic/polylang-causes-exhausted-memory-error/page/2/#post-8136775)
 * Status: not resolved