Gratisfaction- Loyalty Rewards Referral Birthday and Giveaway Program 4.0.0

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

Summary

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

Memory usage: 119.45 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.7.2
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=73f5251375
Aspect after-activation
HTTP status 200
Load time 1.611 s
Memory usage 2.83 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.211 s
Memory usage 2.79 MiB
JS errors None
Resource errors None

WordPress › Error

Page screenshot: WordPress › Error
URL /
Aspect front-page
HTTP status 500
Load time 0.043 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.262 s0.258 s-0.004 s2.82 MiB2.87 MiB+ 54.6 KiB
/wp-admin/edit.php0.177 s0.189 s+0.012 s2.86 MiB2.92 MiB+ 56.34 KiB
/wp-admin/post-new.php0.866 s1.019 s+0.153 s5.03 MiB5.29 MiB+ 270.73 KiB
/wp-admin/upload.php0.461 s0.374 s-0.087 s2.7 MiB2.81 MiB+ 117.47 KiB
/wp-admin/options-writing.php0.250 s0.144 s-0.106 s2.71 MiB2.8 MiB+ 85.45 KiB
/wp-admin/media-new.php0.218 s0.158 s-0.060 s2.67 MiB2.79 MiB+ 117.64 KiB
/wp-admin/edit-tags.php?taxonomy=category0.195 s0.204 s+0.009 s2.77 MiB2.82 MiB+ 54.55 KiB
/wp-admin/post-new.php?post_type=page1.121 s0.706 s-0.415 s5.01 MiB5.27 MiB+ 266.32 KiB
/wp-admin/options-discussion.php0.302 s0.279 s-0.023 s2.68 MiB2.79 MiB+ 117.95 KiB
/wp-admin/edit-comments.php0.247 s0.239 s-0.008 s2.78 MiB2.83 MiB+ 53.45 KiB
Average 0.410 s0.357 s-0.053 s3.2 MiB3.32 MiB+ 119.45 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.3%5,03975010
JavaScript17.7%1,0952702
JSON1.0%6101
CSS0.0%101
Total 6,196 1,020 14

PHP Code Analysis | More results »

Lines of code 4,985
Total complexity 1,162
Median class complexity 79.0
Median method complexity 4.0
Most complex class GR_Connect
Most complex function GR_Connect::apmgr_create_discount()
Classes 7
Methods 145
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 24 lines

[15-May-2021 06:17:28 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:3290
Stack trace:
#0 /wp-includes/class-wp-hook.php(292): GR_Connect->init_page_load()
#1 /wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(551): 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 3290
[15-May-2021 06:17:29 UTC] PHP Notice:  register_rest_route was called <strong>incorrectly</strong>. The REST API route definition for <code>grwoo/v1/verifyRestApiType</code> is missing the required <code>permission_callback</code> argument. For REST API routes that are intended to be public, use <code>__return_true</code> as the permission callback. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.5.0.) in /wp-includes/functions.php on line 5313
[15-May-2021 06:17:32 UTC] PHP Notice:  register_rest_route was called <strong>incorrectly</strong>. The REST API route definition for <code>grwoo/v1/verifyRestApiType</code> is missing the required <code>permission_callback</code> argument. For REST API routes that are intended to be public, use <code>__return_true</code> as the permission callback. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.5.0.) in /wp-includes/functions.php on line 5313
[15-May-2021 06:17:34 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:3290
Stack trace:
#0 /wp-includes/class-wp-hook.php(292): GR_Connect->init_page_load()
#1 /wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(551): 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 3290
See also: All tests for this plugin