Does Go Night Pro work with WordPress 5.7 and PHP 7.4.8? A smoke test was performed on .
| 26 | PHP notices |
| 1 | JavaScript exceptions |
| All test pages loaded successfully | |
| No resource errors |
Memory usage: 35.71 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.
| WordPress version | 5.7 |
|---|---|
| PHP version | 7.4.8 |
| MySQL version | 8.0.21 |
| PHP memory limit | 256M |
| Last updated | |
|---|---|
| Active installs | 60+ |
| WordPress.org page | https://wordpress.org/plugins/go-night-pro/ |
| Badges |
|
| URL | /wp-admin/plugins.php?plugin_status=all&paged=1&s |
|---|---|
| Requested URL | /wp-admin/plugins.php?action=activate&plugin=go-night-pro%2Fgo-night-pro.php&plugin_status=all&paged=1&s&_wpnonce=c5e4dd9a7b |
| Aspect | after-activation |
| HTTP status | 200 |
| Load time | 0.338 s |
| Memory usage | 2.86 MiB |
| JS errors | None |
| Resource errors | None |
| URL | /wp-admin/admin.php?page=go-night-pro |
|---|---|
| Aspect | menu-item |
| HTTP status | 200 |
| Load time | 0.935 s |
| Memory usage | 2.79 MiB |
| JS errors | |
| Resource errors | None |
| URL | / |
|---|---|
| Aspect | front-page |
| HTTP status | 200 |
| Load time | 0.229 s |
| Memory usage | 2.69 MiB |
| JS errors | None |
| Resource errors | None |
| URL | Load time | Memory usage | ||||
|---|---|---|---|---|---|---|
| Inactive | Active | Change | Inactive | Active | Change | |
| /wp-admin/index.php | 0.277 s | 0.252 s | -0.025 s | 2.82 MiB | 2.86 MiB | + 40.14 KiB |
| /wp-admin/edit.php | 0.180 s | 0.212 s | +0.032 s | 2.86 MiB | 2.9 MiB | + 40.14 KiB |
| /wp-admin/post-new.php | 0.907 s | 0.950 s | +0.043 s | 5.02 MiB | 5.07 MiB | + 52.27 KiB |
| /wp-admin/upload.php | 0.509 s | 0.247 s | -0.262 s | 2.7 MiB | 2.73 MiB | + 35.24 KiB |
| /wp-admin/options-writing.php | 0.255 s | 0.147 s | -0.108 s | 2.71 MiB | 2.71 MiB | + 3.52 KiB |
| /wp-admin/media-new.php | 0.217 s | 0.300 s | +0.083 s | 2.67 MiB | 2.71 MiB | + 35.78 KiB |
| /wp-admin/edit-tags.php?taxonomy=category | 0.178 s | 0.198 s | +0.020 s | 2.77 MiB | 2.81 MiB | + 36.69 KiB |
| /wp-admin/post-new.php?post_type=page | 1.757 s | 1.000 s | -0.757 s | 5.01 MiB | 5.05 MiB | + 43.86 KiB |
| /wp-admin/options-discussion.php | 0.299 s | 0.302 s | +0.003 s | 2.67 MiB | 2.71 MiB | + 36.03 KiB |
| /wp-admin/edit-comments.php | 0.233 s | 0.238 s | +0.005 s | 2.78 MiB | 2.81 MiB | + 35.03 KiB |
| / | 0.256 s | 0.235 s | -0.021 s | 2.65 MiB | 2.69 MiB | + 34.14 KiB |
| Average | 0.461 s | 0.371 s | -0.090 s | 3.15 MiB | 3.19 MiB | + 35.71 KiB |
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.
| Language | % | Lines of code | Comment lines | Files | |
|---|---|---|---|---|---|
| SVG | 68.1% | 18,202 | 17 | 4 | |
| CSS | 9.7% | 2,585 | 101 | 3 | |
| LESS | 8.6% | 2,305 | 10 | 1 | |
| PHP | 7.0% | 1,871 | 432 | 18 | |
| Sass | 4.3% | 1,154 | 0 | 2 | |
| JavaScript | 1.8% | 490 | 97 | 3 | |
| PO File | 0.5% | 140 | 71 | 1 | |
| Total | 26,747 | 728 | 32 | ||
| Lines of code | 1,974 |
|---|---|
| Total complexity | 272 |
| Median class complexity | 7.0 |
| Median method complexity | 1.0 |
| Most complex class | Go_Night_Public |
| Most complex function | show_floating_switch_render() |
| Classes | 7 |
|---|---|
| Methods | 35 |
| Functions | 18 |
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.
No new entries found.
[22-Mar-2021 11:35:04 UTC] PHP Notice: Trying to access array offset on value of type bool in /wp-content/plugins/go-night-pro/admin/class-go-night-admin.php on line 85
[22-Mar-2021 11:35:05 UTC] PHP Notice: Trying to access array offset on value of type bool in /wp-content/plugins/go-night-pro/admin/class-go-night-admin.php on line 85
[22-Mar-2021 11:35:05 UTC] PHP Notice: Trying to access array offset on value of type bool in /wp-content/plugins/go-night-pro/admin/class-go-night-admin.php on line 85
[22-Mar-2021 11:35:05 UTC] PHP Notice: WP_Scripts::localize was called <strong>incorrectly</strong>. The <code>$l10n</code> parameter must be an array. To pass arbitrary data to scripts, use the <code>wp_add_inline_script()</code> function instead. 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 5.7.0.) in /wp-includes/functions.php on line 5313
[22-Mar-2021 11:35:06 UTC] PHP Notice: WP_Scripts::localize was called <strong>incorrectly</strong>. The <code>$l10n</code> parameter must be an array. To pass arbitrary data to scripts, use the <code>wp_add_inline_script()</code> function instead. 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 5.7.0.) in /wp-includes/functions.php on line 5313
[22-Mar-2021 11:35:06 UTC] PHP Notice: WP_Scripts::localize was called <strong>incorrectly</strong>. The <code>$l10n</code> parameter must be an array. To pass arbitrary data to scripts, use the <code>wp_add_inline_script()</code> function instead. 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 5.7.0.) in /wp-includes/functions.php on line 5313
[22-Mar-2021 11:35:06 UTC] PHP Notice: Trying to access array offset on value of type bool in /wp-content/plugins/go-night-pro/public/class-go-night-public.php on line 236
[22-Mar-2021 11:35:06 UTC] PHP Notice: Trying to access array offset on value of type bool in /wp-content/plugins/go-night-pro/public/class-go-night-public.php on line 239
[22-Mar-2021 11:35:06 UTC] PHP Notice: Trying to access array offset on value of type bool in /wp-content/plugins/go-night-pro/public/class-go-night-public.php on line 249
[22-Mar-2021 11:35:07 UTC] PHP Notice: Trying to access array offset on value of type bool in /wp-content/plugins/go-night-pro/admin/class-go-night-admin.php on line 85
[22-Mar-2021 11:35:07 UTC] PHP Notice: Trying to access array offset on value of type bool in /wp-content/plugins/go-night-pro/admin/class-go-night-admin.php on line 85
[22-Mar-2021 11:35:08 UTC] PHP Notice: Trying to access array offset on value of type bool in /wp-content/plugins/go-night-pro/admin/class-go-night-admin.php on line 85
[22-Mar-2021 11:35:10 UTC] PHP Notice: Trying to access array offset on value of type bool in /wp-content/plugins/go-night-pro/admin/class-go-night-admin.php on line 85
[22-Mar-2021 11:35:10 UTC] PHP Notice: Trying to access array offset on value of type bool in /wp-content/plugins/go-night-pro/admin/class-go-night-admin.php on line 85
[22-Mar-2021 11:35:10 UTC] PHP Notice: Trying to access array offset on value of type bool in /wp-content/plugins/go-night-pro/admin/class-go-night-admin.php on line 85
[22-Mar-2021 11:35:11 UTC] PHP Notice: Trying to access array offset on value of type bool in /wp-content/plugins/go-night-pro/admin/class-go-night-admin.php on line 85
[22-Mar-2021 11:35:11 UTC] PHP Notice: Trying to access array offset on value of type bool in /wp-content/plugins/go-night-pro/admin/class-go-night-admin.php on line 85
[22-Mar-2021 11:35:13 UTC] PHP Notice: Trying to access array offset on value of type bool in /wp-content/plugins/go-night-pro/admin/class-go-night-admin.php on line 85
[22-Mar-2021 11:35:13 UTC] PHP Notice: Trying to access array offset on value of type bool in /wp-content/plugins/go-night-pro/admin/class-go-night-admin.php on line 85
[22-Mar-2021 11:35:13 UTC] PHP Notice: WP_Scripts::localize was called <strong>incorrectly</strong>. The <code>$l10n</code> parameter must be an array. To pass arbitrary data to scripts, use the <code>wp_add_inline_script()</code> function instead. 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 5.7.0.) in /wp-includes/functions.php on line 5313
[22-Mar-2021 11:35:13 UTC] PHP Notice: WP_Scripts::localize was called <strong>incorrectly</strong>. The <code>$l10n</code> parameter must be an array. To pass arbitrary data to scripts, use the <code>wp_add_inline_script()</code> function instead. 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 5.7.0.) in /wp-includes/functions.php on line 5313
[22-Mar-2021 11:35:13 UTC] PHP Notice: Trying to access array offset on value of type bool in /wp-content/plugins/go-night-pro/public/class-go-night-public.php on line 236
[22-Mar-2021 11:35:13 UTC] PHP Notice: Trying to access array offset on value of type bool in /wp-content/plugins/go-night-pro/public/class-go-night-public.php on line 239
[22-Mar-2021 11:35:13 UTC] PHP Notice: Trying to access array offset on value of type bool in /wp-content/plugins/go-night-pro/public/class-go-night-public.php on line 249
[22-Mar-2021 11:35:14 UTC] PHP Notice: Trying to access array offset on value of type bool in /wp-content/plugins/go-night-pro/admin/class-go-night-admin.php on line 85
[22-Mar-2021 11:35:14 UTC] PHP Notice: Trying to access array offset on value of type bool in /wp-content/plugins/go-night-pro/admin/class-go-night-admin.php on line 85