There is a setting within the OpenCart dashboard that allows you to turn on (or off) error reporting and logging.
- Log into your dashboard
- In the menu, go to "System" and select "Settings"
- In the list of stores, click "Edit" for your store
- Click the "Server" tab.
- Scroll down, and there's two settings:
a. Log Errors - set this as desired
b. Display Errors - set this to "No"