Code Snippets 3.6.0

Does Code Snippets work with WordPress 6.3.2 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
1PHP fatal errors
1PHP warnings
2PHP notices
No JavaScript exceptions
1Page failed to load
  • 1 500 Internal Server Error
No resource errors
Performance

No data available.

Environment
WordPress version6.3.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 900,000+
WordPress.org page https://wordpress.org/plugins/code-snippets/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 1

WordPress › Error

Page screenshot: WordPress › Error
URL /wp-admin/plugins.php?activate=true&plugin_status=all&paged=1&s=
Requested URL /wp-admin/plugins.php?action=activate&plugin=code-snippets%2Fcode-snippets.php&plugin_status=all&paged=1&s&_wpnonce=35ae5adaf0
Aspect after-activation
HTTP status 500
Load time 0.186 s
Memory usage N/A
JS errors None
Resource errors None

Benchmark

No benchmark data available.

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.

PHP
TypeScript
Sass
Language % Lines of code Comment lines Files
PHP59.5%5,6963,00243
TypeScript26.6%2,5537461
Sass12.9%1,235014
SVG1.0%9702
Total 9,581 3,076 120

PHP Code Analysis | More results »

Lines of code 5,390
Total complexity 1,116
Median class complexity 27.5
Median method complexity 2.0
Most complex class Code_Snippets\List_Table
Most complex function Code_Snippets\Validator::validate()
Classes 26
Methods 279
Functions 46

Additions

No data available.

PHP Error Log 4 lines

[06-Nov-2023 14:48:09 UTC] PHP Warning:  Trying to access invalid property on "Code_Snippets\Snippet" class: network in /wp-content/plugins/code-snippets/php/class-data-item.php on line 145
[06-Nov-2023 14:48:09 UTC] PHP Fatal error:  Trying to set invalid property on "Code_Snippets\Snippet" class: modified in /wp-content/plugins/code-snippets/php/class-data-item.php on line 167
[06-Nov-2023 14:48:09 UTC] PHP Notice:  Function is_embed was called <strong>incorrectly</strong>. Conditional query tags do not work before the query is run. Before then, they always return false. Please see <a href="https://wordpress.org/documentation/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.1.0.) in /wp-includes/functions.php on line 5905
[06-Nov-2023 14:48:09 UTC] PHP Notice:  Function is_search was called <strong>incorrectly</strong>. Conditional query tags do not work before the query is run. Before then, they always return false. Please see <a href="https://wordpress.org/documentation/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.1.0.) in /wp-includes/functions.php on line 5905
See also: All tests for this plugin, How to Hide Code Snippets Admin Menus