Home
Random Post for Widget
5.0 (latest)
Does Random Post for Widget work with WordPress 6.4.3 and PHP 8.1.12? A smoke test was performed on 2024-02-01 15:46:08 UTC .
Summary
Errors
The plugin could not be activated
1 PHP fatal errors
No JavaScript exceptions
No resource errors
Environment
WordPress version 6.4.3 PHP version 8.1.12 MySQL version 10.6.10 PHP memory limit 512M
Pages 1 Plugins ‹ Test site — WordPress
URL
/wp-admin/plugins.php?plugin=random-post-for-widget%2Frandom_post_widget.php
Requested URL
/wp-admin/plugins.php?action=activate&plugin=random-post-for-widget%2Frandom_post_widget.php&plugin_status=all&paged=1&s&_wpnonce=8c1a4623a6
Aspect
after-activation
HTTP status
200
Load time
0.264 s
Memory usage
3.32 MiB
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.
Language
%
Lines of code
Comment lines
Files
PHP 100.0% 69 16 1
Total
69
16
1
Lines of code
69
Total complexity
9
Median class complexity
9.0
Median method complexity
1.0
Most complex class
RandomPostForWidget
Most complex function
RandomPostForWidget::widget()
Classes
1
Methods
4
Functions
0
Additions
No data available.
PHP Error Log 7 lines [01-Feb-2024 15:46:26 UTC] PHP Fatal error: Uncaught Error: Call to undefined function create_function() in /wp-content/plugins/random-post-for-widget/random_post_widget.php:95
Stack trace:
#0 /wp-admin/includes/plugin.php(2318): include_once()
#1 /wp-admin/includes/plugin.php(663): plugin_sandbox_scrape()
#2 /wp-admin/plugins.php(58): activate_plugin()
#3 {main}
thrown in /wp-content/plugins/random-post-for-widget/random_post_widget.php on line 95