Does Lucky Draw work with WordPress 6.7.1 and PHP 8.1.12? A smoke test was performed on .
1 | PHP fatal errors |
3 | PHP warnings |
2 | Database errors |
No JavaScript exceptions | |
All test pages loaded successfully | |
No resource errors |
Memory usage: 12.23 KiB
The average PHP memory usage increased by this amount after activating by the plugin.
Page speed impact:
0.050 seconds
The average page load time increased by this amount after activating the plugin.
WordPress version | 6.7.1 |
---|---|
PHP version | 8.1.12 |
MySQL version | 10.6.10 |
PHP memory limit | 512M |
Last updated | |
---|---|
Active installs | <10 |
WordPress.org page | https://wordpress.org/plugins/lucky-draw/ |
Badges |
|
URL | /wp-admin/plugins.php?plugin_status=all&paged=1&s |
---|---|
Requested URL | /wp-admin/plugins.php?action=activate&plugin=lucky-draw%2Flucky-draw.php&plugin_status=all&paged=1&s&_wpnonce=918cd705e7 |
Aspect | after-activation |
HTTP status | 200 |
Load time | 0.867 s |
Memory usage | 3.51 MiB |
JS errors | None |
Resource errors | None |
URL | /wp-admin/admin.php?page=lucky-draw |
---|---|
Aspect | menu-item |
HTTP status | 200 |
Load time | 0.242 s |
Memory usage | 3.48 MiB |
JS errors | None |
Resource errors | None |
URL | /wp-admin/admin.php?page=adddraw |
---|---|
Aspect | menu-item |
HTTP status | 200 |
Load time | 0.223 s |
Memory usage | 3.48 MiB |
JS errors | None |
Resource errors | None |
URL | /wp-admin/admin.php?page=drawprize |
---|---|
Aspect | menu-item |
HTTP status | 200 |
Load time | 0.211 s |
Memory usage | 3.48 MiB |
JS errors | None |
Resource errors | None |
URL | /wp-admin/admin.php?page=email |
---|---|
Aspect | menu-item |
HTTP status | 200 |
Load time | 0.195 s |
Memory usage | 3.48 MiB |
JS errors | None |
Resource errors | None |
URL | /wp-admin/admin.php?page=luckydrawhelp |
---|---|
Aspect | menu-item |
HTTP status | 200 |
Load time | 0.170 s |
Memory usage | 3.48 MiB |
JS errors | None |
Resource errors | None |
URL | / |
---|---|
Aspect | front-page |
HTTP status | 200 |
Load time | 0.187 s |
Memory usage | 3.42 MiB |
JS errors | None |
Resource errors | None |
URL | Load time | Memory usage | ||||
---|---|---|---|---|---|---|
Inactive | Active | Change | Inactive | Active | Change | |
/wp-admin/index.php | 0.300 s | 0.566 s | +0.266 s | 3.48 MiB | 3.5 MiB | + 22.55 KiB |
/wp-admin/edit.php | 0.177 s | 0.305 s | +0.128 s | 3.54 MiB | 3.56 MiB | + 21.87 KiB |
/wp-admin/post-new.php | 0.707 s | 0.919 s | +0.212 s | 5.92 MiB | 5.95 MiB | + 26.65 KiB |
/wp-admin/upload.php | 0.513 s | 0.314 s | -0.199 s | 3.49 MiB | 3.5 MiB | + 4.77 KiB |
/wp-admin/options-writing.php | 0.198 s | 0.225 s | +0.027 s | 3.47 MiB | 3.48 MiB | + 8.45 KiB |
/wp-admin/media-new.php | 0.244 s | 0.260 s | +0.016 s | 3.46 MiB | 3.48 MiB | + 16.64 KiB |
/wp-admin/edit-tags.php?taxonomy=category | 0.180 s | 0.401 s | +0.221 s | 3.47 MiB | 3.5 MiB | + 27.31 KiB |
/wp-admin/post-new.php?post_type=page | 0.534 s | 0.642 s | +0.108 s | 5.92 MiB | 5.94 MiB | + 22.17 KiB |
/wp-admin/options-discussion.php | 0.270 s | 0.276 s | +0.006 s | 3.47 MiB | 3.48 MiB | + 5.57 KiB |
/wp-admin/edit-comments.php | 0.382 s | 0.216 s | -0.166 s | 3.49 MiB | 3.5 MiB | + 4.45 KiB |
/ | 0.299 s | 0.227 s | -0.072 s | 3.44 MiB | 3.42 MiB | - 25.84 KiB |
Average | 0.346 s | 0.396 s | +0.050 s | 3.92 MiB | 3.94 MiB | + 12.23 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 | |
---|---|---|---|---|---|
JavaScript | 82.5% | 31,253 | 7,992 | 5 | |
CSS | 13.6% | 5,152 | 281 | 5 | |
PHP | 3.9% | 1,463 | 107 | 20 | |
Total | 37,868 | 8,380 | 30 |
Lines of code | 308 |
---|---|
Total complexity | 18 |
Median class complexity | 0.0 |
Median method complexity | 0.0 |
Most complex class | — |
Most complex function | lucky_draw__admin_inline_css() |
Classes | 0 |
---|---|
Methods | 0 |
Functions | 15 |
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.
[05-Jan-2025 11:15:43 UTC] PHP Warning: include_once(/wp-content/plugins/lucky-draw../includes/lucky-draw-db.php): Failed to open stream: No such file or directory in /wp-content/plugins/lucky-draw/lucky-draw.php on line 109
[05-Jan-2025 11:15:43 UTC] PHP Warning: include_once(): Failed opening '/wp-content/plugins/lucky-draw../includes/lucky-draw-db.php' for inclusion (include_path='.:/opt/bitnami/php/lib/php') in /wp-content/plugins/lucky-draw/lucky-draw.php on line 109
[05-Jan-2025 11:15:45 UTC] WordPress database error Table 'wordpress.wp_lucky_draw' doesn't exist for query SELECT * FROM wp_lucky_draw ORDER BY id ASC made by do_action('toplevel_page_lucky-draw'), WP_Hook->do_action, WP_Hook->apply_filters, lucky_draw_adminpage, include('/plugins/lucky-draw/admin/dashboard.php')
[05-Jan-2025 11:15:47 UTC] WordPress database error Table 'wordpress.wp_lucky_draw' doesn't exist for query SELECT * FROM `wp_lucky_draw` WHERE draw_date <='2025-01-05 ' AND status =1 ORDER BY id ASC made by do_action('lucky-draw_page_drawprize'), WP_Hook->do_action, WP_Hook->apply_filters, lucky_draw_the_prize, include('/plugins/lucky-draw/admin/draw-prize.php')
[05-Jan-2025 11:15:59 UTC] PHP Warning: Undefined variable $wpdb in /wp-content/plugins/lucky-draw/lucky-draw.php on line 119
[05-Jan-2025 11:15:59 UTC] PHP Fatal error: Uncaught Error: Call to a member function query() on null in /wp-content/plugins/lucky-draw/lucky-draw.php:119
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): lucky_draw_table_deletion()
#1 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-admin/includes/plugin.php(826): do_action()
#4 /wp-admin/plugins.php(211): deactivate_plugins()
#5 {main}
thrown in /wp-content/plugins/lucky-draw/lucky-draw.php on line 119