# Error 500 when click publish after input html code

**URL:** <https://forum.infinityfree.com/t/error-500-when-click-publish-after-input-html-code/65088>\
**Category:** Hosting Support\
**Created:** [August 16, 2022, 2:53am UTC](https://forum.infinityfree.com/t/error-500-when-click-publish-after-input-html-code/65088 "2022-08-16T02:53:00Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon4752067](https://forum.infinityfree.com/letter_avatar/anon4752067/32/5_5575768a8748004e209b776fc1b2916d.png) [@anon4752067](https://forum.infinityfree.com/u/anon4752067)\
**Post date:** [August 16, 2022, 2:53am UTC](https://forum.infinityfree.com/t/error-500-when-click-publish-after-input-html-code/65088/1 "2022-08-16T02:53:00Z")

</div>

### [http://leadzsolutions.great-site.net/](http://leadzsolutions.great-site.net/)

### Error Message 500 when click publish

Homepage occurred error message 500 when I tried input html code. So I have to create another new template able to save the new one without input html code. I am using elementor builder.  
Any idea to solve it?

---

<div class="post-metadata">

**Author:** ![KangJL](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/kangjl/32/12130_2.png) [@KangJL](https://forum.infinityfree.com/u/KangJL)\
**Post date:** [August 16, 2022, 4:49am UTC](https://forum.infinityfree.com/t/error-500-when-click-publish-after-input-html-code/65088/2 "2022-08-16T04:49:43Z")

</div>

It would be better if you can provide screenshot to show what is happening.

> [@anon4752067](#):
>
> [http://leadzsolutions.great-site.net/](http://leadzsolutions.great-site.net/)

Looks ok to me

 ![image](https://forum-cdn.infinityfree.net/original/3X/3/7/3774a8bd0d07cf52bb1e61a24fb7572268fd4506.png)

> [@anon4752067](#):
>
> using elementor builder.

Sounds resource intensive to me

> [@anon4752067](#):
>
> Error Message 500 when click publish

This??

> [@Http error 500](https://forum.infinityfree.com/t/http-error-500/49352):
>
> When trying to access your website, you may see a page which returns the status code “500”. In Google Chrome, you’ll see a page with the error code HTTP ERROR 500. There are typically two reasons which can cause this error: The PHP code has crashed. The .htaccess file contains invalid rules. Here are some things you can try to debug and fix this. Fixing crashing PHP code A HTTP ERROR 500 simply tells you that the PHP code has crashed, but gives no information as to why it has crashed. Gett…

---

<div class="post-metadata">

**Author:** ![anon4752067](https://forum.infinityfree.com/letter_avatar/anon4752067/32/5_5575768a8748004e209b776fc1b2916d.png) [@anon4752067](https://forum.infinityfree.com/u/anon4752067)\
**Post date:** [August 17, 2022, 3:38am UTC](https://forum.infinityfree.com/t/error-500-when-click-publish-after-input-html-code/65088/3 "2022-08-17T03:38:15Z")

</div>

The homepage is the new saved templated because the previous homepage crashed after click published and showed error 500 message. I noticed the error 500 message only occuredto this specific homepage page due to I input \*\*html code.\*\*Other pages are not affected. Can advise.

---

<div class="post-metadata">

**Author:** ![Admin](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/admin/32/36437_2.png) [@Admin](https://forum.infinityfree.com/u/Admin)\
**Post date:** [August 17, 2022, 10:18am UTC](https://forum.infinityfree.com/t/error-500-when-click-publish-after-input-html-code/65088/4 "2022-08-17T10:18:00Z")

</div>

Error 500 means your website code crashed. Why your code crashed, or how to fix it, is completely dependent on how your website is built. I can’t say I’m that familiar with Elementor to tell you just from your description what’s happening.

Which means e need to do a little bit more investigation.

Could you please enable debug mode in WordPress and then retry the request? That should produce one or more error messages that explain what exactly crashed.

> **[Debugging in WordPress](https://wordpress.org/documentation/article/debugging-in-wordpress/)**
>
> Debugging PHP code is part of any project, but WordPress comes with specific debug systems designed to simplify the process as well as standardize code across the core, plugins and themes. This page describes the various debugging tools in WordPress...

---

<div class="post-metadata">

**Author:** ![system](https://infinityfree-forum-uploads.s3.dualstack.eu-central-1.amazonaws.com/original/3X/b/0/b024fd3fa88bae093c9576e55c2c94e33f890206.svg) [@system](https://forum.infinityfree.com/u/system)\
**Post date:** [August 24, 2022, 10:18am UTC](https://forum.infinityfree.com/t/error-500-when-click-publish-after-input-html-code/65088/5 "2022-08-24T10:18:45Z")

</div>

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
