Home › Forums › Support › What can I do when my updated Element Hook crashes my website? This topic has 2 replies, 2 voices, and was last updated 6 years, 10 months ago by Tom. Viewing 3 posts - 1 through 3 (of 3 total) Author Posts November 24, 2018 at 7:22 am #737518 Pete What can I do when my updated Element Hook crashes my website? November 24, 2018 at 7:34 am #737525 Pete I’ve just put in some new php code in one of my element hooks and now my website is broken and won’t load any page, at all. November 24, 2018 at 8:01 am #737544 TomLead Developer Lead Developer In your wp-config.php file, find this line: /* That's all, stop editing! Happy blogging. */ And add this line above it: define( 'DISALLOW_FILE_EDIT', true ); Your wp-config.php file is located in the root folder of your website. Then you’ll be able to go in to delete your broken code. There are very few instances of broken PHP in Elements that’ll take down an entire Dashboard. What code did you add? Author Posts Viewing 3 posts - 1 through 3 (of 3 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In