Gratisfaction- Loyalty Rewards Referral Birthday and Giveaway Program 4.2.3

Does "Gratisfaction- Loyalty Rewards Referral Birthday and Giveaway Program" work with WordPress 5.9.3 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: 102.15 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.9.3
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=254f78e0f0
Aspect after-activation
HTTP status 200
Load time 0.428 s
Memory usage 3.38 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.300 s
Memory usage 3.35 MiB
JS errors None
Resource errors None

WordPress › Error

Page screenshot: WordPress › Error
URL /
Aspect front-page
HTTP status 500
Load time 0.072 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.350 s0.244 s-0.106 s3.37 MiB3.42 MiB+ 50.6 KiB
/wp-admin/edit.php0.188 s0.197 s+0.009 s3.4 MiB3.45 MiB+ 52.34 KiB
/wp-admin/post-new.php0.941 s0.962 s+0.021 s5.69 MiB5.8 MiB+ 112.28 KiB
/wp-admin/upload.php0.387 s0.290 s-0.097 s3.25 MiB3.37 MiB+ 121.47 KiB
/wp-admin/options-writing.php0.350 s0.146 s-0.204 s3.24 MiB3.35 MiB+ 105.32 KiB
/wp-admin/media-new.php0.290 s0.195 s-0.095 s3.23 MiB3.35 MiB+ 121.64 KiB
/wp-admin/edit-tags.php?taxonomy=category0.185 s0.179 s-0.006 s3.27 MiB3.38 MiB+ 114.55 KiB
/wp-admin/post-new.php?post_type=page0.642 s0.646 s+0.004 s5.68 MiB5.79 MiB+ 107.87 KiB
/wp-admin/options-discussion.php0.252 s0.345 s+0.093 s3.22 MiB3.34 MiB+ 121.95 KiB
/wp-admin/edit-comments.php0.213 s0.215 s+0.002 s3.27 MiB3.38 MiB+ 113.45 KiB
Average 0.380 s0.342 s-0.038 s3.76 MiB3.86 MiB+ 102.15 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
PHP82.2%5,35477210
JavaScript16.8%1,0952702
JSON1.0%6201
CSS0.0%101
Total 6,512 1,042 14

PHP Code Analysis | More results »

Lines of code 5,300
Total complexity 1,301
Median class complexity 79.0
Median method complexity 5.0
Most complex class GR_Connect
Most complex function GR_Connect::apmgr_create_discount()
Classes 7
Methods 150
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

[08-Apr-2022 06:43:01 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:3407
Stack trace:
#0 /wp-includes/class-wp-hook.php(307): GR_Connect->init_page_load()
#1 /wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(522): WP_Hook->do_action()
#3 /wp-includes/class-wp.php(771): do_action_ref_array()
#4 /wp-includes/functions.php(1310): 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 3407
[08-Apr-2022 06:43:08 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:3407
Stack trace:
#0 /wp-includes/class-wp-hook.php(307): GR_Connect->init_page_load()
#1 /wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(522): WP_Hook->do_action()
#3 /wp-includes/class-wp.php(771): do_action_ref_array()
#4 /wp-includes/functions.php(1310): 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 3407
See also: All tests for this plugin