Lucky Draw 1.0

Does Lucky Draw work with WordPress 6.7.1 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
The plugin could not be activated
1PHP fatal errors
2PHP warnings
No JavaScript exceptions
No resource errors
Performance

No data available.

Environment
WordPress version6.7.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs <10
WordPress.org page https://wordpress.org/plugins/lucky-draw/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 1

Plugins ‹ Test site — WordPress

Page screenshot: Plugins ‹ Test site — WordPress
URL /wp-admin/plugins.php?plugin=lucky-draw%2Flucky-draw.php
Requested URL /wp-admin/plugins.php?action=activate&plugin=lucky-draw%2Flucky-draw.php&plugin_status=all&paged=1&s&_wpnonce=ef4682f378
Aspect after-activation
HTTP status 200
Load time 0.264 s
Memory usage 3.49 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.

JavaScript
CSS
Language % Lines of code Comment lines Files
JavaScript82.5%31,2537,9925
CSS13.6%5,1522815
PHP3.9%1,49411119
Total 37,899 8,384 29

PHP Code Analysis | More results »

Lines of code 432
Total complexity 25
Median class complexity 5.0
Median method complexity 1.0
Most complex class Custom_Post_List_Table
Most complex function lucky_draw__admin_inline_css()
Classes 1
Methods 4
Functions 16

Additions

No data available.

PHP Error Log 10 lines

[05-Jan-2025 06:32:39 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 155
[05-Jan-2025 06:32:39 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 155
[05-Jan-2025 06:32:39 UTC] PHP Fatal error:  Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, function "lucky_draw_table_creation" not found or invalid function name in /wp-includes/class-wp-hook.php:324
Stack trace:
#0 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#1 /wp-includes/plugin.php(517): WP_Hook->do_action()
#2 /wp-admin/includes/plugin.php(703): do_action()
#3 /wp-admin/plugins.php(60): activate_plugin()
#4 {main}
  thrown in /wp-includes/class-wp-hook.php on line 324
See also: All tests for this plugin, How to Hide Lucky Draw Contests | DESIGN - REWARD - REPEAT. Admin Menus