Need advice about functions.php
-
so I added a piece of code to functions.php due to a functionality that I want to include in the website using WP file manager. The entire website crashed immediately after I saved the code and another team who’s responsible for restoring the backup had to come in and save the day.
I don’t want to repeat this mistake. In the past I have added code to the php several times but never such a thing happened. So what should I do to prevent it and be able to add code without disturbing the website. Is there a way to test the code without actually saving it in wp file manager?
Also what could have gone wrong with the code I added that the entire website crashed?
Any insight will be highly appreciated.The page I need help with: [log in to see the link]
- You must be logged in to reply to this topic.