Gratisfaction- Loyalty Rewards Referral Birthday and Giveaway Program 4.1.4

Does "Gratisfaction- Loyalty Rewards Referral Birthday and Giveaway Program" work with WordPress 5.8.1 and PHP 7.4.8? A smoke test was performed on .

Summary

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

Memory usage: 72.61 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.

Environment
WordPress version5.8.1
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 1,000+
WordPress.org page https://wordpress.org/plugins/gratisfaction-all-in-one-loyalty-contests-referral-program-for-woocommerce/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 3

Plugins ‹ Test site — WordPress

Page screenshot: Plugins ‹ Test site — WordPress
URL /wp-admin/plugins.php?plugin_status=all&paged=1&s
Requested URL /wp-admin/plugins.php?action=activate&plugin=gratisfaction-all-in-one-loyalty-contests-referral-program-for-woocommerce%2Fgrconnect.php&plugin_status=all&paged=1&s&_wpnonce=70c383353e
Aspect after-activation
HTTP status 200
Load time 0.439 s
Memory usage 3.09 MiB
JS errors None
Resource errors None

Settings → Gratisfaction

Page screenshot: Settings → Gratisfaction
URL /wp-admin/options-general.php?page=grconnect
Aspect menu-item
HTTP status 200
Load time 0.252 s
Memory usage 3.05 MiB
JS errors None
Resource errors None

WordPress › Error

Page screenshot: WordPress › Error
URL /
Aspect front-page
HTTP status 500
Load time 0.059 s
Memory usage N/A
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.338 s0.292 s-0.046 s3.08 MiB3.2 MiB+ 114.6 KiB
/wp-admin/edit.php0.184 s0.222 s+0.038 s3.11 MiB3.23 MiB+ 116.34 KiB
/wp-admin/post-new.php1.300 s1.427 s+0.127 s5.27 MiB5.37 MiB+ 106.52 KiB
/wp-admin/upload.php0.582 s0.335 s-0.247 s3.03 MiB3.08 MiB+ 49.47 KiB
/wp-admin/options-writing.php0.146 s0.145 s-0.001 s3.02 MiB3.06 MiB+ 33.45 KiB
/wp-admin/media-new.php0.314 s0.211 s-0.103 s3.01 MiB3.06 MiB+ 49.64 KiB
/wp-admin/edit-tags.php?taxonomy=category0.185 s0.313 s+0.128 s3.04 MiB3.09 MiB+ 50.55 KiB
/wp-admin/post-new.php?post_type=page1.293 s1.182 s-0.111 s5.26 MiB5.36 MiB+ 106.11 KiB
/wp-admin/options-discussion.php0.306 s0.315 s+0.009 s3 MiB3.05 MiB+ 49.95 KiB
/wp-admin/edit-comments.php0.224 s0.221 s-0.003 s3.04 MiB3.09 MiB+ 49.45 KiB
Average 0.487 s0.466 s-0.021 s3.49 MiB3.56 MiB+ 72.61 KiB

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
JavaScript
Language % Lines of code Comment lines Files
PHP81.6%5,12776310
JavaScript17.4%1,0952702
JSON1.0%6201
CSS0.0%101
Total 6,285 1,033 14

PHP Code Analysis | More results »

Lines of code 5,073
Total complexity 1,215
Median class complexity 79.0
Median method complexity 4.5
Most complex class GR_Connect
Most complex function GR_Connect::apmgr_create_discount()
Classes 7
Methods 146
Functions 9

Additions

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.

Options wp_options 1

PHP Error Log 22 lines

[11-Sep-2021 12:01:51 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function WC() in /wp-content/plugins/gratisfaction-all-in-one-loyalty-contests-referral-program-for-woocommerce/grconnect.php:3271
Stack trace:
#0 /wp-includes/class-wp-hook.php(303): GR_Connect->init_page_load()
#1 /wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(518): WP_Hook->do_action()
#3 /wp-includes/class-wp.php(763): do_action_ref_array()
#4 /wp-includes/functions.php(1291): WP->main()
#5 /wp-blog-header.php(16): wp()
#6 /index.php(17): require('/opt/bitnami/ap...')
#7 {main}
  thrown in /wp-content/plugins/gratisfaction-all-in-one-loyalty-contests-referral-program-for-woocommerce/grconnect.php on line 3271
[11-Sep-2021 12:01:58 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function WC() in /wp-content/plugins/gratisfaction-all-in-one-loyalty-contests-referral-program-for-woocommerce/grconnect.php:3271
Stack trace:
#0 /wp-includes/class-wp-hook.php(303): GR_Connect->init_page_load()
#1 /wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(518): WP_Hook->do_action()
#3 /wp-includes/class-wp.php(763): do_action_ref_array()
#4 /wp-includes/functions.php(1291): WP->main()
#5 /wp-blog-header.php(16): wp()
#6 /index.php(17): require('/opt/bitnami/ap...')
#7 {main}
  thrown in /wp-content/plugins/gratisfaction-all-in-one-loyalty-contests-referral-program-for-woocommerce/grconnect.php on line 3271
See also: All tests for this plugin