{"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\/it\/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,"_uag_custom_page_level_css":"","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"],"spectra_custom_meta":{"_edit_lock":["1721067742:578773"],"_edit_last":["578773"],"_alp_processed":["1721067734"],"_views_template":["0"],"_wpml_word_count":["328"],"_subscription_coupon_product_id":["0"],"inline_featured_image":["0"],"_wpv_contains_gutenberg_views":[""],"_wpml_location_migration_done":["1"],"_wpml_media_duplicate":["0"],"_wpml_media_featured":["1"],"_yoast_wpseo_content_score":["90"],"faq_order":["15"],"wpcf-faq-category":["2"],"_oembed_b9ed4048f72ad6c7db9e194b36b2ddd7":["<iframe title=\"Add a Custom Language in WPML\" width=\"700\" height=\"394\" src=\"https:\/\/www.youtube.com\/embed\/gbdbEOQA0Kw?feature=oembed&enablejsapi=1&origin=https:\/\/wpml.org\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe>"],"_oembed_time_b9ed4048f72ad6c7db9e194b36b2ddd7":["1609494060"],"_oembed_577d78b6b689a3008dd97c48d1c67d7e":["<iframe title=\"Translate Photo Gallery Using WPML [1\/2]\" width=\"700\" height=\"394\" src=\"https:\/\/www.youtube.com\/embed\/VPwP3Ng8czg?feature=oembed&enablejsapi=1&origin=https:\/\/wpml.org\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe>"],"_oembed_time_577d78b6b689a3008dd97c48d1c67d7e":["1636960211"],"_oembed_b908df960ca2342e997f9e8fea09015d":["<iframe title=\"Translate Photo Gallery Using WPML [2\/2]\" width=\"700\" height=\"394\" src=\"https:\/\/www.youtube.com\/embed\/2v37thlGvIA?feature=oembed&enablejsapi=1&origin=https:\/\/wpml.org\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe>"],"_oembed_time_b908df960ca2342e997f9e8fea09015d":["1636960211"],"_yoast_wpseo_estimated-reading-time-minutes":[""],"_oembed_f56bf1c5a64a315a94e4cbf7a197b2b0":["<iframe title=\"Integration between Astra theme and Toolset\" width=\"700\" height=\"394\" src=\"https:\/\/www.youtube.com\/embed\/z0GrsNVmFjo?feature=oembed&enablejsapi=1&origin=https:\/\/wpml.org\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe>"],"_oembed_time_f56bf1c5a64a315a94e4cbf7a197b2b0":["1645438682"],"_oembed_a2bd2c0b8f2c628b1b3793abb74e7359":["<iframe title=\"WPML 3.9 with &quot;Display as Translated&quot; mode\" width=\"525\" height=\"394\" src=\"https:\/\/www.youtube.com\/embed\/eiPUIuELo2A?feature=oembed&enablejsapi=1&origin=https:\/\/wpml.org\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe>"],"_oembed_time_a2bd2c0b8f2c628b1b3793abb74e7359":["1647108156"],"_oembed_9596c0d9095e7ce9cc90624324ef4422":["<iframe title=\"Duplicator For WordPress Quick Overview\" width=\"700\" height=\"394\" src=\"https:\/\/www.youtube.com\/embed\/yZ7pHmR9JC8?feature=oembed&enablejsapi=1&origin=https:\/\/wpml.org\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe>"],"_oembed_time_9596c0d9095e7ce9cc90624324ef4422":["1647108156"],"_oembed_12570cf8030926800bac0f1584e1e153":["<iframe title=\"How to use the backup wizard in cpanel\" width=\"700\" height=\"394\" src=\"https:\/\/www.youtube.com\/embed\/eS-tCkc-gm0?feature=oembed&enablejsapi=1&origin=https:\/\/wpml.org\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe>"],"_oembed_time_12570cf8030926800bac0f1584e1e153":["1647108156"],"_oembed_1c0ef2e069ab1e666be8a1bac83a42ee":["{{unknown}}"],"_oembed_e9018e6807d31b4505b7ad464275fdce":["<iframe title=\"How to copy multiple accounts from another server to your WHM server using SSH\" width=\"525\" height=\"394\" src=\"https:\/\/www.youtube.com\/embed\/C6ro9h0qowU?feature=oembed&enablejsapi=1&origin=https:\/\/wpml.org\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe>"],"_oembed_time_e9018e6807d31b4505b7ad464275fdce":["1647108157"],"_oembed_9052213bd50132682bbabb79e50bace9":["<iframe title=\"How to use FTP to upload files to WordPress for Beginners\" width=\"700\" height=\"394\" src=\"https:\/\/www.youtube.com\/embed\/_nDQz1JQfYA?feature=oembed&enablejsapi=1&origin=https:\/\/wpml.org\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe>"],"_oembed_time_9052213bd50132682bbabb79e50bace9":["1647108157"],"_oembed_cfcc8d32f359dd000173b240cccb4392":["{{unknown}}"],"_oembed_bbf56b1d4c25ce11481afba39f176f85":["<iframe title=\"Using WPML to translate content created with page builders\" width=\"700\" height=\"394\" src=\"https:\/\/www.youtube.com\/embed\/MSqNzrdPMkE?feature=oembed&enablejsapi=1&origin=https:\/\/wpml.org\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe>"],"_oembed_time_bbf56b1d4c25ce11481afba39f176f85":["1668478233"],"_yoast_wpseo_wordproof_timestamp":[""],"_yoast_wpseo_primary_faq-category":[""],"_uag_css_file_name":["uag-css-773285.css"]},"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false,"gform-image-choice-sm":false,"gform-image-choice-md":false,"gform-image-choice-lg":false,"woocommerce_thumbnail":false,"woocommerce_single":false,"woocommerce_gallery_thumbnail":false},"uagb_author_info":{"display_name":"Amir","author_link":"https:\/\/wpml.org\/it\/author\/amir\/"},"uagb_comment_info":0,"uagb_excerpt":"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;","_links":{"self":[{"href":"https:\/\/wpml.org\/it\/wp-json\/wp\/v2\/faq\/773285","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpml.org\/it\/wp-json\/wp\/v2\/faq"}],"about":[{"href":"https:\/\/wpml.org\/it\/wp-json\/wp\/v2\/types\/faq"}],"author":[{"embeddable":true,"href":"https:\/\/wpml.org\/it\/wp-json\/wp\/v2\/users\/2"}],"version-history":[{"count":8,"href":"https:\/\/wpml.org\/it\/wp-json\/wp\/v2\/faq\/773285\/revisions"}],"predecessor-version":[{"id":15956172,"href":"https:\/\/wpml.org\/it\/wp-json\/wp\/v2\/faq\/773285\/revisions\/15956172"}],"wp:attachment":[{"href":"https:\/\/wpml.org\/it\/wp-json\/wp\/v2\/media?parent=773285"}],"wp:term":[{"taxonomy":"faq-category","embeddable":true,"href":"https:\/\/wpml.org\/it\/wp-json\/wp\/v2\/faq-category?post=773285"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}