Hello to everyone,
This plugin has a built-in functions for checking the custom PHP code for syntax errors, duplicate functions names, and etc. But plugin is not perfect, so there are times when the entered custom PHP code causes an error and white screen. This is due to the fact that your custom PHP code has a syntax error that this plugin could not detect. When this happens with you just do the following and all will be fine.
1. Via FTP, go to the plugin folder (in ‘wp-content/plugins/my-custom-functions/‘).
2. Rename the
STOP. This will stop the execution of your custom code.
3. Return to the plugin settings page and edit/fix your custom PHP code that you entered before the crash.
4. Rename the
STARTand you’re done!
I’m already working on the function to automatically stop the plugin for cases when this plugin could not detect the error, and this caused the inaccessibility of the website.
This plug in needs to be updated. I had to change my php from 7 to 5 because after I installed it, I couldn’t access my website. I got this error:
Parse error: syntax error, unexpected ‘,’ in /home/opokuoc0/public_html/wp-content/plugins/my-custom-functions/inc/php/functional.php(85) : eval()’d code on line 27
This plugin is fully compatible and tested with PHP version 7.
This error message indicates an error in your code on line 27. So your code (that you entered on the plugin page) is not compatible with PHP version 7.
Have a good day 🙂
- The topic ‘INSTRUCTION: ERROR’ is closed to new replies.