Home › Forums › Support › Php code in an element breaks my site, how do I get back? This topic has 4 replies, 2 voices, and was last updated 2 years, 3 months ago by David. Viewing 5 posts - 1 through 5 (of 5 total) Author Posts September 8, 2022 at 7:21 am #2337034 Carsten Hi there, I’m using GP Pro, and I have an issue with Elements. If I add some php with an error and save, I’m not able to go back and fix it, and the There has been a critical error on this website. pops up. What do I do in a situation like this, where I can’t access my dashboard to change the php code in the element which breaks my site? Regards Carsten September 8, 2022 at 8:21 am #2337210 DavidStaff Customer Support Hi there, you would need server access to search the database – in the wp_post tables you can search for the post_type = gp_elements Either delete the bad post or change its post_status to draft September 8, 2022 at 9:10 am #2337247 Carsten Thanks, managed to go back without, but good to know until next time ๐ September 8, 2022 at 9:10 am #2337249 Carsten Thanks, managed to go back without, but good to know until next time ๐ September 8, 2022 at 9:47 am #2337271 DavidStaff Customer Support Glad to hear you fixed it ! Author Posts Viewing 5 posts - 1 through 5 (of 5 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In