{"id":773285,"date":"2015-12-21T05:56:27","date_gmt":"2015-12-21T05:56:27","guid":{"rendered":"https:\/\/wpml.org\/?post_type=faq&#038;p=773285"},"modified":"2024-07-15T18:22:13","modified_gmt":"2024-07-15T18:22:13","slug":"500-error","status":"publish","type":"faq","link":"https:\/\/wpml.org\/es\/faq\/500-error\/","title":{"rendered":"Why am I seeing a 500 error?"},"content":{"rendered":"\n<p class=\"lead\">There&#8217;s usually four problems that cause a 500 error. Follow our available solutions to resolve it. <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What is a 500 error?<\/h2>\n\n\n\n<p>A 500 error means there&#8217;s an issue in the PHP code of your site. To identify the issue, start by <a href=\"https:\/\/wpml.org\/documentation\/support\/debugging-wpml\/\">enabling debug<\/a>. Then, follow our four available solutions. <\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Is the 500 error happening because I&#8217;m running out of memory?<\/h3>\n\n\n\n<p>The most common cause for a 500 error is running out of memory. To check if this is the problem, see if the error log file shows:<\/p>\n\n\n\n<p><code>Allowed memory size of YOUR_LIMIT bytes exhausted (tried to allocate SOME_MEMORY bytes) in...<\/code><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>If YOUR_LIMIT is below 128M, you need to increase the memory allocated to PHP. For more information, see <a href=\"https:\/\/developer.wordpress.org\/advanced-administration\/wordpress\/wp-config\/#increasing-memory-allocated-to-php\" target=\"_blank\" rel=\"noreferrer noopener\">WordPress memory settings<\/a>.<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>If YOUR_LIMIT is above 128M, your code may be running an infinite loop. To fix this, please open a ticket in our <a href=\"https:\/\/wpml.org\/forums\/forum\/english-support\/\">support forum<\/a>.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Is the 500 error happening because of a code conflict?<\/h3>\n\n\n\n<p>The second most common cause for a 500 error is conflict between different plugins and themes. Since your site is stuck, you&#8217;ll need to use an FTP program to resolve the code conflict. <\/p>\n\n\n\n<p>To resolve a code conflict with an FTP program: <\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Go to the plugins directory (wordpress \u2192 wp-content \u2192 plugins). <\/li>\n\n\n\n<li>Delete any plugin you suspect to be related with the conflict, including WPML. <\/li>\n<\/ol>\n\n\n\n<p>Deleting WPML won&#8217;t affect your site&#8217;s language information. Once you resolve the conflict, all your language information will be restored when you re-enable WPML.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Is the 500 error happening because of compatibility issues with WordPress versions?<\/h3>\n\n\n\n<p>The 500 error can happen when you don&#8217;t run the newest version of WordPress, or WPML. To check if this is the problem, update WordPress and WPML to the newest version.  <\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Is the 500 error happening because of compatibility issues with PHP versions and extensions?<\/h3>\n\n\n\n<p>In rare cases, hosting companies switch off some of WPML&#8217;s <a href=\"https:\/\/wpml.org\/home\/minimum-requirements\/\">PHP versions<\/a> and extensions. If this happens, the error log will show an extension or function doesn&#8217;t exist.<\/p>\n\n\n\n<p>To resolve this issue, open a ticket in our <a href=\"https:\/\/wpml.org\/forums\/forum\/english-support\/\">support forum<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>There&#8217;s usually four problems that cause a 500 error. Follow our available solutions to resolve it. What is a 500 error? A 500 error means there&#8217;s an issue in the PHP code of your site. To identify the issue, start by enabling debug. Then, follow our four available solutions. Is the 500 error happening because [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"menu_order":10,"template":"","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"ep_exclude_from_search":false,"footnotes":""},"faq-category":[26129],"class_list":["post-773285","faq","type-faq","status-publish","hentry","faq-tags-debug","faq-category-error-messages"],"_links":{"self":[{"href":"https:\/\/wpml.org\/es\/wp-json\/wp\/v2\/faq\/773285","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpml.org\/es\/wp-json\/wp\/v2\/faq"}],"about":[{"href":"https:\/\/wpml.org\/es\/wp-json\/wp\/v2\/types\/faq"}],"author":[{"embeddable":true,"href":"https:\/\/wpml.org\/es\/wp-json\/wp\/v2\/users\/2"}],"version-history":[{"count":8,"href":"https:\/\/wpml.org\/es\/wp-json\/wp\/v2\/faq\/773285\/revisions"}],"predecessor-version":[{"id":15956172,"href":"https:\/\/wpml.org\/es\/wp-json\/wp\/v2\/faq\/773285\/revisions\/15956172"}],"wp:attachment":[{"href":"https:\/\/wpml.org\/es\/wp-json\/wp\/v2\/media?parent=773285"}],"wp:term":[{"taxonomy":"faq-category","embeddable":true,"href":"https:\/\/wpml.org\/es\/wp-json\/wp\/v2\/faq-category?post=773285"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}