• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

BUG Recovering PHP Code

reza398

New member
Messages
1
Likes
0
Points
1
#1
Hi Friends,
My snippet crashed and does not work any more . How can I recover my PHP codes ? I don't want to rewrite PHP codes . Where has it been saved ? Please help me . Thanks
 

Temyk

Developer & Support
Messages
1,129
Likes
42
Points
48
#2
Hello.

The snippet code executed with an error and I cannot change it, what should I do?
Do not despair! Even an experienced person can make mistakes. We created a secure mode for this case. Go into it and your snippets code will not be executed.
  1. Go to the safe mode by this link: http://your-site-name.dev/wp-admin/?wbcr-php-snippets-safe-mode
  2. Edit the snippet in which you made a mistake;
  3. Leave safe mode by clicking the link: http://your-site-name.dev/wp-admin/?wbcr-php-snippets-disable-safe-mode