Error Log Monitor

Adds a Dashboard widget that displays the latest messages from your PHP error log. It can also send logged errors to email.

v1.7.12Janis ElstsUpdated Added 20k+ installs86% rating
23
Score
694
Errors
1,414
Warnings
+0
Change

Category Scores

Security0
Repo85
Performance100
Maintainability0

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

2,108 findings

Maintainability

1,388

15 issue groups

Security

666

9 issue groups

I18n

20

1 issue group

WARNINGMaintainabilityNon Prefixed Variable FoundGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$_scb_data".1,087
Category
Maintainability
Occurrences
1,087
Severity
warning

Sample message

Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$_scb_data".

ERRORSecurityOutput Not EscapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '" <a href='{$skip_url}' class='button button-small button-secondary'>{$use_plugin_anonymously_text}</a>"'.625
Category
Security
Occurrences
625
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '" <a href='{$skip_url}' class='button button-small button-secondary'>{$use_plugin_anonymously_text}</a>"'.

WARNINGMaintainabilityNon Prefixed Function FoundFunctions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: &quot;_fs_text&quot;.114
Category
Maintainability
Occurrences
114
Severity
warning

Sample message

Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: &quot;_fs_text&quot;.

WARNINGMaintainabilityNon Prefixed Class FoundClasses declared by a theme/plugin should start with the theme/plugin prefix. Found: &quot;Elm_DashboardWidget&quot;.90
Category
Maintainability
Occurrences
90
Severity
warning

Sample message

Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: &quot;Elm_DashboardWidget&quot;.

WARNINGMaintainabilityNon Prefixed Constant FoundGlobal constants defined by a theme/plugin should start with the theme/plugin prefix. Found: &quot;FS_API__ADDRESS&quot;.26
Category
Maintainability
Occurrences
26
Severity
warning

Sample message

Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: &quot;FS_API__ADDRESS&quot;.

ERRORI18nMissing Translators CommentA function call to __() with texts containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.20
Category
I18n
Occurrences
20
Severity
error

Sample message

A function call to __() with texts containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.

WARNINGMaintainabilityNon Prefixed Hookname FoundHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: &quot;&#039;scb_activation_&#039; . $plugin&quot;.13
Category
Maintainability
Occurrences
13
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: &quot;&#039;scb_activation_&#039; . $plugin&quot;.

WARNINGMaintainabilityDirect QueryUse of a direct database call is discouraged.10
Category
Maintainability
Occurrences
10
Severity
warning

Sample message

Use of a direct database call is discouraged.

WARNINGMaintainabilityerror log trigger errortrigger_error() found. Debug code should not normally be used in production.10
Category
Maintainability
Occurrences
10
Severity
warning

Sample message

trigger_error() found. Debug code should not normally be used in production.

WARNINGMaintainabilityNo CachingDirect database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().9
Category
Maintainability
Occurrences
9
Severity
warning

Sample message

Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().

Show 15 more
ERRORSecurityException Not Escaped8
Category
Security
Occurrences
8
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$message'.

WARNINGSecurityMissing8
Category
Security
Occurrences
8
Severity
warning

Sample message

Processing form data without nonce verification.

ERRORMaintainabilitywp function not compatible with requires wp7
Category
Maintainability
Occurrences
7
Severity
error

Sample message

Function "get_network()" requires WordPress 4.6.0, but your plugin minimum supported version is WordPress 4.5.0.

WARNINGMaintainabilitySchema Change5
Category
Maintainability
Occurrences
5
Severity
warning

Sample message

Attempting a database schema change is discouraged.

WARNINGSecurityInterpolated Not Prepared5
Category
Security
Occurrences
5
Severity
warning

Sample message

Use placeholders and $wpdb-&gt;prepare(); found interpolated variable $columns at &quot;CREATE TABLE IF NOT EXISTS $full_table_name ( $columns ) $table_options;&quot;

WARNINGSecurityInput Not Validated5
Category
Security
Occurrences
5
Severity
warning

Sample message

Detected usage of a possibly undefined superglobal array index: $_POST[$this-&gt;widgetId]. Check that the array index exists before using it.

ERRORMaintainabilitymissing direct file access protection5
Category
Maintainability
Occurrences
5
Severity
error

Sample message

PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;

ERRORSecurityUnsafe Printing Function4
Category
Security
Occurrences
4
Severity
error

Sample message

All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.

WARNINGSecurityInput Not Sanitized4
Category
Security
Occurrences
4
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_COOKIE[self::GROUP_STATE_COOKIE]

WARNINGSecurityMissing Unslash4
Category
Security
Occurrences
4
Severity
warning

Sample message

$_COOKIE[self::GROUP_STATE_COOKIE] not unslashed before sanitization. Use wp_unslash() or similar

WARNINGSecurityUnescaped DBParameter3
Category
Security
Occurrences
3
Severity
warning

Sample message

Unescaped parameter $full_table_name used in $wpdb-&gt;query()\n$full_table_name assigned unsafely at line 320.

WARNINGMaintainabilityDynamic Hookname Found3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: &quot;$hook[0]&quot;.

WARNINGMaintainabilityNon Prefixed Interface Found3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

Interfaces declared by a theme/plugin should start with the theme/plugin prefix. Found: &quot;Elm_ConfigurationError&quot;.

ERRORMaintainabilityfile system operations fclose3
Category
Maintainability
Occurrences
3
Severity
error

Sample message

File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fclose().

ERRORMaintainabilityfile system operations fopen3
Category
Maintainability
Occurrences
3
Severity
error

Sample message

File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fopen().

Score History

First score snapshot

v1.7.12

23

Latest

Findings
2,108
Errors
694
Warnings
1,414
Check
2.0.0

Related Plugins

PufferDesk

0 active installs

100
Simply Show Hooks

2k+ active installs

100
Hide WP Admin Notifications

1k+ active installs

99
One Click Close Comments

4k+ active installs

99
Plugin Report

1k+ active installs

99