The Cornershop product support team may ask you for logs to review errors. The method to access these logs can vary depending on your hosting setup. Here are the steps you can follow based on different scenarios:
Via Your Hosting Control Panel: Many web hosting providers offer direct access to error logs through their control panel. Please log in to your hosting account and look for sections like "Logs", "Error Logs", or "PHP Error Logs". If you're unsure, your hosting provider's support team can guide you on how to find these logs.
Through File Manager, SSH, or SFTP: If your host doesn't provide log access via the control panel, you might be able to find the PHP error log manually through the File Manager provided by your host, or by connecting to your server via SSH or SFTP. The error log is typically located in the root directory of your website or within a /logs folder. Again, the exact location can vary, and you might need to consult your hosting provider's documentation or support team.
Enabling WP_DEBUG and WP_DEBUG_LOG: If the above methods do not yield results, or you prefer to enable WordPress-specific debugging, you can do so by editing the wp-config.php file. This approach is particularly helpful for diagnosing WordPress-related issues. Here's how:
Connect to your website using an FTP client or through your host's File Manager.
Locate the wp-config.php file in your WordPress site's root directory.
Edit the file and add the following lines just above the line that says /* That's all, stop editing! Happy blogging. */:
define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
Save your changes and close the file. With these settings enabled, WordPress will create a debug.log file within the wp-content directory, capturing any PHP errors, warnings, or notices.
For detailed instructions on enabling debugging in WordPress, please visit Debugging in WordPress.
Important: Remember to disable WP_DEBUG mode by setting it to false once you have resolved the issue, as leaving debug mode enabled on a live site can potentially reveal sensitive information.
If you're looking to use Media Deduper and the logs aren't readily available from your host, please ensure you've turned on WP_DEBUG before proceeding to help identify any potential conflicts or errors during its use.
Should you have any further questions or require additional assistance, please don't hesitate to reach out.