NewStatPress 1.3.9

Does NewStatPress work with WordPress 5.9.1 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
31PHP warnings
37PHP notices
1PHP deprecation warnings
1Database errors
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 48.13 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: insignificant.
The plugin didn't make the site noticeably slower.

Environment
WordPress version5.9.1
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 20,000+
WordPress.org page https://wordpress.org/plugins/newstatpress/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 18

Plugins ‹ Test site — WordPress

Page screenshot: Plugins ‹ Test site — WordPress
URL /wp-admin/plugins.php?plugin_status=all&paged=1&s
Requested URL /wp-admin/plugins.php?action=activate&plugin=newstatpress%2Fnewstatpress.php&plugin_status=all&paged=1&s&_wpnonce=22978a217a
Aspect after-activation
HTTP status 200
Load time 0.469 s
Memory usage 3.33 MiB
JS errors None
Resource errors None

NewStatPress

Page screenshot: NewStatPress
URL /wp-admin/admin.php?page=nsp-main
Aspect menu-item
HTTP status 200
Load time 0.351 s
Memory usage 3.7 MiB
JS errors None
Resource errors None

NewStatPress → Details

Page screenshot: NewStatPress → Details
URL /wp-admin/admin.php?page=nsp_details
Aspect menu-item
HTTP status 200
Load time 0.191 s
Memory usage 3.35 MiB
JS errors None
Resource errors None

NewStatPress → Visits

Page screenshot: NewStatPress → Visits
URL /wp-admin/admin.php?page=nsp_visits
Aspect menu-item
HTTP status 200
Load time 0.163 s
Memory usage 3.62 MiB
JS errors None
Resource errors None

NewStatPress → Visits → Visitors

Page screenshot: NewStatPress → Visits → Visitors
URL /wp-admin/admin.php?page=nsp_visits&tab=visitors
Aspect menu-item-tab
HTTP status 200
Load time 0.150 s
Memory usage 3.27 MiB
JS errors None
Resource errors None

NewStatPress → Visits → Spy Bot

Page screenshot: NewStatPress → Visits → Spy Bot
URL /wp-admin/admin.php?page=nsp_visits&tab=spybot
Aspect menu-item-tab
HTTP status 200
Load time 0.154 s
Memory usage 3.28 MiB
JS errors None
Resource errors None

NewStatPress → Search

Page screenshot: NewStatPress → Search
URL /wp-admin/admin.php?page=nsp_search
Aspect menu-item
HTTP status 200
Load time 0.165 s
Memory usage 3.43 MiB
JS errors None
Resource errors None

NewStatPress → Tools

Page screenshot: NewStatPress → Tools
URL /wp-admin/admin.php?page=nsp_tools
Aspect menu-item
HTTP status 200
Load time 0.224 s
Memory usage 3.69 MiB
JS errors None
Resource errors None

NewStatPress → Tools → Update

Page screenshot: NewStatPress → Tools → Update
URL /wp-admin/admin.php?page=nsp_tools&tab=update
Aspect menu-item-tab
HTTP status 200
Load time 0.157 s
Memory usage 3.29 MiB
JS errors None
Resource errors None

NewStatPress → Tools → Export

Page screenshot: NewStatPress → Tools → Export
URL /wp-admin/admin.php?page=nsp_tools&tab=export
Aspect menu-item-tab
HTTP status 200
Load time 0.185 s
Memory usage 3.29 MiB
JS errors None
Resource errors None

NewStatPress → Tools → Optimize

Page screenshot: NewStatPress → Tools → Optimize
URL /wp-admin/admin.php?page=nsp_tools&tab=optimize
Aspect menu-item-tab
HTTP status 200
Load time 0.161 s
Memory usage 3.29 MiB
JS errors None
Resource errors None

NewStatPress → Tools → Repair

Page screenshot: NewStatPress → Tools → Repair
URL /wp-admin/admin.php?page=nsp_tools&tab=repair
Aspect menu-item-tab
HTTP status 200
Load time 0.153 s
Memory usage 3.29 MiB
JS errors None
Resource errors None

NewStatPress → Tools → Remove

Page screenshot: NewStatPress → Tools → Remove
URL /wp-admin/admin.php?page=nsp_tools&tab=remove
Aspect menu-item-tab
HTTP status 200
Load time 0.154 s
Memory usage 3.29 MiB
JS errors None
Resource errors None

NewStatPress → Tools → Informations

Page screenshot: NewStatPress → Tools → Informations
URL /wp-admin/admin.php?page=nsp_tools&tab=info
Aspect menu-item-tab
HTTP status 200
Load time 0.169 s
Memory usage 3.29 MiB
JS errors None
Resource errors None

NewStatPress → Options

Page screenshot: NewStatPress → Options
URL /wp-admin/admin.php?page=nsp_options
Aspect menu-item
HTTP status 200
Load time 0.223 s
Memory usage 3.84 MiB
JS errors None
Resource errors None

NewStatPress → Credits

Page screenshot: NewStatPress → Credits
URL /wp-admin/admin.php?page=nsp_credits
Aspect menu-item
HTTP status 200
Load time 0.162 s
Memory usage 3.34 MiB
JS errors None
Resource errors None

Test site – Just another WordPress site

Page screenshot: Test site – Just another WordPress site
URL /
Aspect front-page
HTTP status 200
Load time 0.268 s
Memory usage 3.38 MiB
JS errors None
Resource errors None

Widgets ‹ Test site — WordPress

Page screenshot: Widgets ‹ Test site — WordPress
URL /wp-admin/widgets.php
Aspect new-sidebar-widgets
HTTP status 200
Load time 1.303 s
Memory usage 5.23 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.325 s0.406 s+0.081 s3.37 MiB3.42 MiB+ 54.22 KiB
/wp-admin/edit.php0.167 s0.197 s+0.030 s3.4 MiB3.45 MiB+ 53.08 KiB
/wp-admin/post-new.php0.803 s0.926 s+0.123 s6.14 MiB6.19 MiB+ 52.34 KiB
/wp-admin/upload.php0.342 s0.330 s-0.012 s3.25 MiB3.31 MiB+ 61.03 KiB
/wp-admin/options-writing.php0.234 s0.198 s-0.036 s3.24 MiB3.29 MiB+ 47.02 KiB
/wp-admin/media-new.php0.328 s0.210 s-0.118 s3.23 MiB3.29 MiB+ 64.9 KiB
/wp-admin/edit-tags.php?taxonomy=category0.183 s0.216 s+0.033 s3.26 MiB3.32 MiB+ 53.74 KiB
/wp-admin/post-new.php?post_type=page0.900 s0.682 s-0.218 s6.14 MiB6.18 MiB+ 47.93 KiB
/wp-admin/options-discussion.php0.219 s0.319 s+0.100 s3.22 MiB3.28 MiB+ 63.65 KiB
/wp-admin/edit-comments.php0.203 s0.213 s+0.010 s3.27 MiB3.32 MiB+ 52.63 KiB
/0.273 s0.201 s-0.072 s3.4 MiB3.38 MiB- 21.09 KiB
Average 0.362 s0.354 s-0.007 s3.81 MiB3.86 MiB+ 48.13 KiB

Code Statistics

Note: Third-party libraries and minified JS/CSS files are excluded from these statistics where possible, so the numbers you see here may be lower than those reported by other tools.

SQL
PO File
Language % Lines of code Comment lines Files
SQL72.5%64,07201
PO File18.3%16,1519,33621
PHP5.9%5,17891617
JavaScript1.5%1,30419415
CSS0.9%783982
JSON0.5%44106
Markdown0.4%35501
HTML0.1%7402
Total 88,358 10,544 65

PHP Code Analysis | More results »

Lines of code 5,241
Total complexity 858
Median class complexity 0.0
Median method complexity 0.0
Most complex class
Most complex function nsp_Options()
Classes 0
Methods 0
Functions 135

Additions

Things that the plugin adds to the site. This section is not intended to be comprehensive. The test tool only looks for a few specific types of added content.

Database Tables 1

Options wp_options 3

User Metadata wp_usermeta 2

Sidebar Widgets 2

ID Name
newstatpressNewStatPress Stats
newstatpress toppostsNewStatPress TopPosts

PHP Error Log 85 lines

[23-Feb-2022 05:22:00 UTC] PHP Warning:  Illegal string offset 'news' in /wp-content/plugins/newstatpress/newstatpress.php on line 133
[23-Feb-2022 05:22:00 UTC] PHP Warning:  Cannot assign an empty string to a string offset in /wp-content/plugins/newstatpress/newstatpress.php on line 133
[23-Feb-2022 05:22:02 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query does not contain the correct number of placeholders (0) for the number of arguments passed (2). Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 4.8.3.) in /wp-includes/functions.php on line 5768
[23-Feb-2022 05:22:02 UTC] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '%i, %i ) as T2
    ON T1.ip = T2.ip
    WHERE id BETWEEN MinId AND MaxId
    ORD' at line 9 for query SELECT *
    FROM wp_statpress as T1
    JOIN
      (SELECT max(id) as MaxId,min(id) as MinId,ip, nation
       FROM wp_statpress
       WHERE spider=''
       GROUP BY ip
       ORDER BY MaxId
       DESC LIMIT %i, %i ) as T2
    ON T1.ip = T2.ip
    WHERE id BETWEEN MinId AND MaxId
    ORDER BY MaxId DESC, id DESC
   made by do_action('newstatpress_page_nsp_visits'), WP_Hook->do_action, WP_Hook->apply_filters, nsp_DisplayVisitsPageC, nsp_DisplayVisitsPage, nsp_NewSpy
[23-Feb-2022 05:22:03 UTC] PHP Notice:  Undefined index: where1 in /wp-content/plugins/newstatpress/includes/nsp_search.php on line 31
[23-Feb-2022 05:22:03 UTC] PHP Notice:  Undefined index: where1 in /wp-content/plugins/newstatpress/includes/nsp_search.php on line 31
[23-Feb-2022 05:22:03 UTC] PHP Notice:  Undefined index: where1 in /wp-content/plugins/newstatpress/includes/nsp_search.php on line 31
[23-Feb-2022 05:22:03 UTC] PHP Notice:  Undefined index: where1 in /wp-content/plugins/newstatpress/includes/nsp_search.php on line 31
[23-Feb-2022 05:22:03 UTC] PHP Notice:  Undefined index: where1 in /wp-content/plugins/newstatpress/includes/nsp_search.php on line 31
[23-Feb-2022 05:22:03 UTC] PHP Notice:  Undefined index: where1 in /wp-content/plugins/newstatpress/includes/nsp_search.php on line 31
[23-Feb-2022 05:22:03 UTC] PHP Notice:  Undefined index: where1 in /wp-content/plugins/newstatpress/includes/nsp_search.php on line 31
[23-Feb-2022 05:22:03 UTC] PHP Notice:  Undefined index: where1 in /wp-content/plugins/newstatpress/includes/nsp_search.php on line 31
[23-Feb-2022 05:22:03 UTC] PHP Notice:  Undefined index: where1 in /wp-content/plugins/newstatpress/includes/nsp_search.php on line 31
[23-Feb-2022 05:22:03 UTC] PHP Notice:  Undefined index: where2 in /wp-content/plugins/newstatpress/includes/nsp_search.php on line 31
[23-Feb-2022 05:22:03 UTC] PHP Notice:  Undefined index: where2 in /wp-content/plugins/newstatpress/includes/nsp_search.php on line 31
[23-Feb-2022 05:22:03 UTC] PHP Notice:  Undefined index: where2 in /wp-content/plugins/newstatpress/includes/nsp_search.php on line 31
[23-Feb-2022 05:22:03 UTC] PHP Notice:  Undefined index: where2 in /wp-content/plugins/newstatpress/includes/nsp_search.php on line 31
[23-Feb-2022 05:22:03 UTC] PHP Notice:  Undefined index: where2 in /wp-content/plugins/newstatpress/includes/nsp_search.php on line 31
[23-Feb-2022 05:22:03 UTC] PHP Notice:  Undefined index: where2 in /wp-content/plugins/newstatpress/includes/nsp_search.php on line 31
[23-Feb-2022 05:22:03 UTC] PHP Notice:  Undefined index: where2 in /wp-content/plugins/newstatpress/includes/nsp_search.php on line 31
[23-Feb-2022 05:22:03 UTC] PHP Notice:  Undefined index: where2 in /wp-content/plugins/newstatpress/includes/nsp_search.php on line 31
[23-Feb-2022 05:22:03 UTC] PHP Notice:  Undefined index: where2 in /wp-content/plugins/newstatpress/includes/nsp_search.php on line 31
[23-Feb-2022 05:22:03 UTC] PHP Notice:  Undefined index: where3 in /wp-content/plugins/newstatpress/includes/nsp_search.php on line 31
[23-Feb-2022 05:22:03 UTC] PHP Notice:  Undefined index: where3 in /wp-content/plugins/newstatpress/includes/nsp_search.php on line 31
[23-Feb-2022 05:22:03 UTC] PHP Notice:  Undefined index: where3 in /wp-content/plugins/newstatpress/includes/nsp_search.php on line 31
[23-Feb-2022 05:22:03 UTC] PHP Notice:  Undefined index: where3 in /wp-content/plugins/newstatpress/includes/nsp_search.php on line 31
[23-Feb-2022 05:22:03 UTC] PHP Notice:  Undefined index: where3 in /wp-content/plugins/newstatpress/includes/nsp_search.php on line 31
[23-Feb-2022 05:22:03 UTC] PHP Notice:  Undefined index: where3 in /wp-content/plugins/newstatpress/includes/nsp_search.php on line 31
[23-Feb-2022 05:22:03 UTC] PHP Notice:  Undefined index: where3 in /wp-content/plugins/newstatpress/includes/nsp_search.php on line 31
[23-Feb-2022 05:22:03 UTC] PHP Notice:  Undefined index: where3 in /wp-content/plugins/newstatpress/includes/nsp_search.php on line 31
[23-Feb-2022 05:22:03 UTC] PHP Notice:  Undefined index: where3 in /wp-content/plugins/newstatpress/includes/nsp_search.php on line 31
[23-Feb-2022 05:22:03 UTC] PHP Notice:  Undefined index: limitquery in /wp-content/plugins/newstatpress/includes/nsp_search.php on line 77
[23-Feb-2022 05:22:03 UTC] PHP Warning:  filemtime(): stat failed for /wp-content/plugins/newstatpress/includes//newstatpress/includes/includes/ip2nation.sql in /wp-content/plugins/newstatpress/includes/nsp_tools.php on line 134
[23-Feb-2022 05:22:03 UTC] PHP Notice:  Undefined variable: class_install in /wp-content/plugins/newstatpress/includes/nsp_tools.php on line 183
[23-Feb-2022 05:22:04 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/newstatpress/includes/nsp_tools.php on line 312
[23-Feb-2022 05:22:04 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/newstatpress/includes/nsp_tools.php on line 326
[23-Feb-2022 05:22:04 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/newstatpress/includes/nsp_tools.php on line 328
[23-Feb-2022 05:22:04 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/newstatpress/includes/nsp_tools.php on line 343
[23-Feb-2022 05:22:04 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/newstatpress/includes/nsp_tools.php on line 345
[23-Feb-2022 05:22:04 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/newstatpress/includes/nsp_tools.php on line 346
[23-Feb-2022 05:22:04 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/newstatpress/includes/nsp_tools.php on line 347
[23-Feb-2022 05:22:06 UTC] PHP Warning:  Use of undefined constant name - assumed 'name' (this will throw an Error in a future version of PHP) in /wp-content/plugins/newstatpress/includes/nsp_options.php on line 177
[23-Feb-2022 05:22:06 UTC] PHP Warning:  Use of undefined constant name - assumed 'name' (this will throw an Error in a future version of PHP) in /wp-content/plugins/newstatpress/includes/nsp_options.php on line 178
[23-Feb-2022 05:22:06 UTC] PHP Warning:  Use of undefined constant name - assumed 'name' (this will throw an Error in a future version of PHP) in /wp-content/plugins/newstatpress/includes/nsp_options.php on line 177
[23-Feb-2022 05:22:06 UTC] PHP Warning:  Use of undefined constant name - assumed 'name' (this will throw an Error in a future version of PHP) in /wp-content/plugins/newstatpress/includes/nsp_options.php on line 178
[23-Feb-2022 05:22:06 UTC] PHP Warning:  Use of undefined constant name - assumed 'name' (this will throw an Error in a future version of PHP) in /wp-content/plugins/newstatpress/includes/nsp_options.php on line 177
[23-Feb-2022 05:22:06 UTC] PHP Warning:  Use of undefined constant name - assumed 'name' (this will throw an Error in a future version of PHP) in /wp-content/plugins/newstatpress/includes/nsp_options.php on line 178
[23-Feb-2022 05:22:06 UTC] PHP Warning:  Use of undefined constant name - assumed 'name' (this will throw an Error in a future version of PHP) in /wp-content/plugins/newstatpress/includes/nsp_options.php on line 177
[23-Feb-2022 05:22:06 UTC] PHP Warning:  Use of undefined constant name - assumed 'name' (this will throw an Error in a future version of PHP) in /wp-content/plugins/newstatpress/includes/nsp_options.php on line 178
[23-Feb-2022 05:22:06 UTC] PHP Warning:  Use of undefined constant name - assumed 'name' (this will throw an Error in a future version of PHP) in /wp-content/plugins/newstatpress/includes/nsp_options.php on line 177
[23-Feb-2022 05:22:06 UTC] PHP Warning:  Use of undefined constant name - assumed 'name' (this will throw an Error in a future version of PHP) in /wp-content/plugins/newstatpress/includes/nsp_options.php on line 178
[23-Feb-2022 05:22:06 UTC] PHP Warning:  Use of undefined constant name - assumed 'name' (this will throw an Error in a future version of PHP) in /wp-content/plugins/newstatpress/includes/nsp_options.php on line 177
[23-Feb-2022 05:22:06 UTC] PHP Warning:  Use of undefined constant name - assumed 'name' (this will throw an Error in a future version of PHP) in /wp-content/plugins/newstatpress/includes/nsp_options.php on line 178
[23-Feb-2022 05:22:06 UTC] PHP Warning:  Use of undefined constant name - assumed 'name' (this will throw an Error in a future version of PHP) in /wp-content/plugins/newstatpress/includes/nsp_options.php on line 177
[23-Feb-2022 05:22:06 UTC] PHP Warning:  Use of undefined constant name - assumed 'name' (this will throw an Error in a future version of PHP) in /wp-content/plugins/newstatpress/includes/nsp_options.php on line 178
[23-Feb-2022 05:22:06 UTC] PHP Warning:  Use of undefined constant name - assumed 'name' (this will throw an Error in a future version of PHP) in /wp-content/plugins/newstatpress/includes/nsp_options.php on line 177
[23-Feb-2022 05:22:06 UTC] PHP Warning:  Use of undefined constant name - assumed 'name' (this will throw an Error in a future version of PHP) in /wp-content/plugins/newstatpress/includes/nsp_options.php on line 178
[23-Feb-2022 05:22:06 UTC] PHP Warning:  Use of undefined constant name - assumed 'name' (this will throw an Error in a future version of PHP) in /wp-content/plugins/newstatpress/includes/nsp_options.php on line 177
[23-Feb-2022 05:22:06 UTC] PHP Warning:  Use of undefined constant name - assumed 'name' (this will throw an Error in a future version of PHP) in /wp-content/plugins/newstatpress/includes/nsp_options.php on line 178
[23-Feb-2022 05:22:06 UTC] PHP Warning:  Use of undefined constant name - assumed 'name' (this will throw an Error in a future version of PHP) in /wp-content/plugins/newstatpress/includes/nsp_options.php on line 177
[23-Feb-2022 05:22:06 UTC] PHP Warning:  Use of undefined constant name - assumed 'name' (this will throw an Error in a future version of PHP) in /wp-content/plugins/newstatpress/includes/nsp_options.php on line 178
[23-Feb-2022 05:22:06 UTC] PHP Warning:  Use of undefined constant name - assumed 'name' (this will throw an Error in a future version of PHP) in /wp-content/plugins/newstatpress/includes/nsp_options.php on line 177
[23-Feb-2022 05:22:06 UTC] PHP Warning:  Use of undefined constant name - assumed 'name' (this will throw an Error in a future version of PHP) in /wp-content/plugins/newstatpress/includes/nsp_options.php on line 178
[23-Feb-2022 05:22:06 UTC] PHP Warning:  Use of undefined constant name - assumed 'name' (this will throw an Error in a future version of PHP) in /wp-content/plugins/newstatpress/includes/nsp_options.php on line 177
[23-Feb-2022 05:22:06 UTC] PHP Warning:  Use of undefined constant name - assumed 'name' (this will throw an Error in a future version of PHP) in /wp-content/plugins/newstatpress/includes/nsp_options.php on line 178
[23-Feb-2022 05:22:06 UTC] PHP Warning:  Use of undefined constant name - assumed 'name' (this will throw an Error in a future version of PHP) in /wp-content/plugins/newstatpress/includes/nsp_options.php on line 177
[23-Feb-2022 05:22:06 UTC] PHP Warning:  Use of undefined constant name - assumed 'name' (this will throw an Error in a future version of PHP) in /wp-content/plugins/newstatpress/includes/nsp_options.php on line 178
[23-Feb-2022 05:22:06 UTC] PHP Warning:  Use of undefined constant name - assumed 'name' (this will throw an Error in a future version of PHP) in /wp-content/plugins/newstatpress/includes/nsp_options.php on line 177
[23-Feb-2022 05:22:06 UTC] PHP Warning:  Use of undefined constant name - assumed 'name' (this will throw an Error in a future version of PHP) in /wp-content/plugins/newstatpress/includes/nsp_options.php on line 178
[23-Feb-2022 05:22:06 UTC] PHP Deprecated:  Function create_function() is deprecated in /wp-content/plugins/newstatpress/includes/nsp_options.php on line 84
See also: All tests for this plugin