Error Reporting for PHP and Widgets, Forms, and Menus
Link: https://support.brilliantdirectories.com/support/solutions/articles/12000104272
Error handling has been improved across all BD websites, including widgets, forms, and menus.
Instead of pages or features failing to load silently, regular users will now see clear and friendly messages when something doesn’t work as expected. Admins get more detailed information to help identify and resolve issues quickly. For more complex situations, our support team continues to receive full technical details to provide additional help.
The PHP errors will show up on these sections:
- Widgets
- Forms
- Menus
Minor Errors
These are the kinds of errors that will break certain functionality, like a search bar, but not the entire page.
Website Member/User for Widgets
In this example, the header search module is missing. Users won't see the error, the section will simply not appear.
Website Admins for Widgets
There will be more information available when a website admin is logged in. The widget name and/or PHP error will be displayed.
Website Member/User for Forms
In this example, the Website - Contact Us form is missing. Users won't see the error, the page will simply show blank.
Website Admins for Forms
There will be more information available when a website admin is logged in. The form name and/or PHP error will be displayed.
Website Member/User for Menus
In this example, the footer menu is missing. Users won't see the error, the section will simply not appear.
Website Admins for Menus
There will be more information available when a website admin is logged in. The menu name and/or PHP error will be displayed.
Edit Mode
This also appears when the website is in "edit mode" accessible through the admin bar.
» How to Locate Widgets, Sidebars, Menus, and Forms Via Admin Bar
Critical Errors
These kinds of errors will shut down an entire site or page.
These errors will automatically notify our technical team so they can investigate the issue.
Website Member/User
There will be a message indicating that the site cannot load the page with an option to return to the homepage.
Website Admins
There will be more information available when a website admin is logged in. The widget name and/or PHP error will be displayed.
Brilliant Directories Support
Our technical and support teams will be able to see in-depth information about the error so we can quickly resolve the fatal error presented by the website.