=== Webdeyeral Error Log Viewer ===
Contributors: webdeyeral
Tags: error log, debug, debug.log, php errors, wp_debug
Requires at least: 5.8
Tested up to: 6.7
Requires PHP: 7.4
Stable tag: 1.0.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Read, filter and clear the PHP and WordPress error log from the admin, see which plugin caused an error and turn debug logging on safely.

== Description ==

When a site shows a white screen or "There has been a critical error", the answer is in the error log. Error Log Viewer brings that log into the admin, in plain language.

**Error Log**

* Finds the WordPress debug.log and the server's own error_log files by itself.
* Groups the same error into one line: how many times, first and last time.
* Filters by type (fatal, warning, notice, deprecated, database), by plugin or theme, by period and by text.
* Opens each error to show the full message and stack trace; copy it or search the web for it.
* Download or clear the log, refresh automatically.

**Overview**

* Total, fatal, warning and last 24 hours numbers, and a chart of the last 7 days.
* Which plugin or theme the errors come from, with one-click deactivation of a faulty plugin.

**Debug Settings**

* Turn WP_DEBUG, WP_DEBUG_LOG, WP_DEBUG_DISPLAY and SCRIPT_DEBUG on or off without editing files.
* wp-config.php is backed up before every change, the new file is checked for errors, and the old file is put back if the site stops answering. The last five copies can be restored.
* Move the log out of the public wp-content/debug.log into a protected folder.

**Notifications**

* E-mail when new fatal errors (or warnings) are logged, sent together so the inbox is not flooded.
* Latest Errors box on the dashboard and a new error counter in the toolbar.
* Keep the log under a size limit automatically.

Every screen is in English and Turkish.

== Installation ==

1. Upload the plugin and activate it.
2. Open Webdeyeral → WP Error Log Viewer.
3. If no log is found, open Debug Settings and press Use Recommended.

== Frequently Asked Questions ==

= Is it safe to turn on debugging on a live site? =

Yes, with the recommended settings: errors are written to a protected file and are not shown to visitors.

= Does it change wp-config.php? =

Only when you save Debug Settings. A copy is kept first and the change is undone if the site stops answering.

== Changelog ==

= 1.0.1 =
* New Webdeyeral menu in the left admin menu: all installed Webdeyeral plugins are listed in one menu, in alphabetical order and with icons, instead of under Tools, Appearance, Media or WooCommerce. Pro and Agency licenses show a green Pro / Agency pill next to the name. The menu also has All Products (all our products, installed or not) and Settings (hide the Webdeyeral shortcut in the toolbar). Old page addresses redirect to the new place.

= 1.0.0 =
* First release: Error Log with grouping and filters, Overview with sources, Debug Settings with backups and a protected log folder, e-mail alerts, dashboard box, toolbar counter and size limit.
