I actually develop a localhost dev site, with Laragon.
When I try to preview my form on a blank page, I have a Wordpress error message : "There is a critical error on this website, etc...'
Could someone tell me why ?
Best regards.
"There is a critical error on this website, etc...' is a PHP error possibly related to custom code. You need to enable WordPress debug and also check your server error logs. See this: https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/
@Victor Font I've enabled debug mode. I have seen many errors from installed plugins or divi theme.
Nothing in relationship with some custom code....
Here is a screenshot of error messages.
Those aren't errors, just deprecation messages. If you're getting the "Critical Error" message, there really has to be an error in some log somewhere.
@Rob LeVine : strangely, the form working at well when it is included on a page with its shortcode.....
Do you know how to 'filter' debug error messages and just display critical error messages ?
I don't know why you need to filter the logged entries; clear the log, run your test, and then search the log file for the word "error". If you insist on filtering, do Google searches on it. I've had very little luck with the various options but there are a lot of people talking about it, e.g., https://wordpress.stackexchange.com/questions/373805/how-to-display-only-specific-error-types-in-debug-log-no-notices-warnings-etc
Please login or Register to submit your answer