Customer Loyalty for WooCommerce 1.3.0

Does "Customer Loyalty for WooCommerce" work with WordPress 6.5.2 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
9PHP fatal errors
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 102.86 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 version6.5.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 20+
WordPress.org page https://wordpress.org/plugins/customer-loyalty-for-woocommerce/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 2

Customer Loyalty for WooCommerce ‹ Test site — WordPress

Page screenshot: Customer Loyalty for WooCommerce ‹ Test site — WordPress
URL /wp-admin/admin.php?page=clwc_admin_settings
Requested URL /wp-admin/plugins.php?action=activate&plugin=customer-loyalty-for-woocommerce%2Fcustomer-loyalty-for-woocommerce.php&plugin_status=all&paged=1&s&_wpnonce=ed24a3ef4e
Aspect after-activation
HTTP status 200
Load time 0.526 s
Memory usage 3.45 MiB
JS errors None
Resource errors None

Test site – Just another WordPress site

Page screenshot: Test site – Just another WordPress site
URL /
Aspect front-page
HTTP status 200
Load time 0.146 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.377 s0.198 s-0.179 s3.44 MiB
/wp-admin/edit.php0.214 s0.203 s-0.011 s3.46 MiB
/wp-admin/upload.php0.528 s0.397 s-0.131 s3.38 MiB3.46 MiB+ 81.46 KiB
/wp-admin/options-writing.php0.236 s0.337 s+0.101 s3.37 MiB3.47 MiB+ 95.29 KiB
/wp-admin/media-new.php0.313 s0.286 s-0.027 s3.35 MiB3.46 MiB+ 111.21 KiB
/wp-admin/edit-tags.php?taxonomy=category0.203 s0.260 s+0.057 s3.37 MiB3.49 MiB+ 120.13 KiB
/wp-admin/options-discussion.php0.347 s0.341 s-0.006 s3.36 MiB3.46 MiB+ 106.21 KiB
/wp-admin/edit-comments.php0.265 s0.180 s-0.085 s3.39 MiB
/0.314 s0.134 s-0.180 s3.37 MiB
Average 0.311 s0.260 s-0.051 s3.39 MiB3.47 MiB+ 102.86 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
PO File
Language % Lines of code Comment lines Files
PHP70.2%1,3631,20720
PO File26.5%5142123
CSS1.9%3772
Markdown1.1%2101
JavaScript0.3%6542
Total 1,941 1,480 28

PHP Code Analysis | More results »

Lines of code 1,143
Total complexity 233
Median class complexity 3.0
Median method complexity 1.0
Most complex class Customer_Loyalty_OSA
Most complex function clwc_dashboard_shortcode()
Classes 8
Methods 55
Functions 35

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.

No new entries found.

PHP Error Log 147 lines

[17-Apr-2024 01:46:58 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function is_wc_endpoint_url() in /wp-content/plugins/customer-loyalty-for-woocommerce/admin/clwc-woocommerce-account-tab.php:80
Stack trace:
#0 /wp-includes/class-wp-hook.php(326): clwc_endpoint_page_title()
#1 /wp-includes/plugin.php(205): WP_Hook->apply_filters()
#2 /wp-includes/post-template.php(174): apply_filters()
#3 /wp-admin/includes/template.php(2095): get_the_title()
#4 /wp-admin/includes/dashboard.php(1040): _draft_or_post_title()
#5 /wp-admin/includes/dashboard.php(954): wp_dashboard_recent_posts()
#6 /wp-admin/includes/template.php(1456): wp_dashboard_site_activity()
#7 /wp-admin/includes/dashboard.php(271): do_meta_boxes()
#8 /wp-admin/index.php(204): wp_dashboard()
#9 {main}
  thrown in /wp-content/plugins/customer-loyalty-for-woocommerce/admin/clwc-woocommerce-account-tab.php on line 80
[17-Apr-2024 01:46:58 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function is_wc_endpoint_url() in /wp-content/plugins/customer-loyalty-for-woocommerce/admin/clwc-woocommerce-account-tab.php:80
Stack trace:
#0 /wp-includes/class-wp-hook.php(326): clwc_endpoint_page_title()
#1 /wp-includes/plugin.php(205): WP_Hook->apply_filters()
#2 /wp-includes/nav-menu.php(880): apply_filters()
#3 [internal function]: wp_setup_nav_menu_item()
#4 /wp-includes/nav-menu.php(732): array_map()
#5 /wp-includes/nav-menu-template.php(151): wp_get_nav_menu_items()
#6 /wp-content/themes/twentyseventeen/template-parts/navigation/navigation-top.php(24): wp_nav_menu()
#7 /wp-includes/template.php(812): require('...')
#8 /wp-includes/template.php(745): load_template()
#9 /wp-includes/general-template.php(206): locate_template()
#10 /wp-content/themes/twentyseventeen/header.php(42): get_template_part()
#11 /wp-includes/template.php(810): require_once('...')
#12 /wp-includes/template.php(745): load_template()
#13 /wp-includes/general-template.php(48): locate_template()
#14 /wp-content/themes/twentyseventeen/index.php(18): get_header()
#15 /wp-includes/template-loader.php(106): include('...')
#16 /wp-blog-header.php(19): require_once('...')
#17 /index.php(17): require('...')
#18 {main}
  thrown in /wp-content/plugins/customer-loyalty-for-woocommerce/admin/clwc-woocommerce-account-tab.php on line 80
[17-Apr-2024 01:46:59 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function is_wc_endpoint_url() in /wp-content/plugins/customer-loyalty-for-woocommerce/admin/clwc-woocommerce-account-tab.php:80
Stack trace:
#0 /wp-includes/class-wp-hook.php(326): clwc_endpoint_page_title()
#1 /wp-includes/plugin.php(205): WP_Hook->apply_filters()
#2 /wp-includes/post-template.php(174): apply_filters()
#3 /wp-admin/includes/template.php(2095): get_the_title()
#4 /wp-admin/includes/dashboard.php(1040): _draft_or_post_title()
#5 /wp-admin/includes/dashboard.php(954): wp_dashboard_recent_posts()
#6 /wp-admin/includes/template.php(1456): wp_dashboard_site_activity()
#7 /wp-admin/includes/dashboard.php(271): do_meta_boxes()
#8 /wp-admin/index.php(204): wp_dashboard()
#9 {main}
  thrown in /wp-content/plugins/customer-loyalty-for-woocommerce/admin/clwc-woocommerce-account-tab.php on line 80
[17-Apr-2024 01:46:59 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function is_wc_endpoint_url() in /wp-content/plugins/customer-loyalty-for-woocommerce/admin/clwc-woocommerce-account-tab.php:80
Stack trace:
#0 /wp-includes/class-wp-hook.php(326): clwc_endpoint_page_title()
#1 /wp-includes/plugin.php(205): WP_Hook->apply_filters()
#2 /wp-includes/post-template.php(174): apply_filters()
#3 /wp-admin/includes/template.php(2095): get_the_title()
#4 /wp-admin/includes/class-wp-posts-list-table.php(1042): _draft_or_post_title()
#5 /wp-admin/includes/class-wp-list-table.php(1779): WP_Posts_List_Table->column_cb()
#6 /wp-admin/includes/class-wp-posts-list-table.php(1432): WP_List_Table->single_row_columns()
#7 /wp-admin/includes/class-wp-posts-list-table.php(834): WP_Posts_List_Table->single_row()
#8 /wp-admin/includes/class-wp-posts-list-table.php(810): WP_Posts_List_Table->_display_rows()
#9 /wp-admin/includes/class-wp-list-table.php(1706): WP_Posts_List_Table->display_rows()
#10 /wp-admin/includes/class-wp-list-table.php(1633): WP_List_Table->display_rows_or_placeholder()
#11 /wp-admin/edit.php(503): WP_List_Table->display()
#12 {main}
  thrown in /wp-content/plugins/customer-loyalty-for-woocommerce/admin/clwc-woocommerce-account-tab.php on line 80
[17-Apr-2024 01:46:59 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function is_wc_endpoint_url() in /wp-content/plugins/customer-loyalty-for-woocommerce/admin/clwc-woocommerce-account-tab.php:80
Stack trace:
#0 /wp-includes/class-wp-hook.php(326): clwc_endpoint_page_title()
#1 /wp-includes/plugin.php(205): WP_Hook->apply_filters()
#2 /wp-includes/post-template.php(174): apply_filters()
#3 /wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php(1842): get_the_title()
#4 /wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php(569): WP_REST_Posts_Controller->prepare_item_for_response()
#5 /wp-includes/rest-api/class-wp-rest-server.php(1230): WP_REST_Posts_Controller->get_item()
#6 /wp-includes/rest-api/class-wp-rest-server.php(1063): WP_REST_Server->respond_to_request()
#7 /wp-includes/rest-api.php(555): WP_REST_Server->dispatch()
#8 /wp-includes/rest-api.php(2922): rest_do_request()
#9 [internal function]: rest_preload_api_request()
#10 /wp-includes/block-editor.php(753): array_reduce()
#11 /wp-admin/edit-form-blocks.php(77): block_editor_rest_api_preload()
#12 /wp-admin/post-new.php(72): require('...')
#13 {main}
  thrown in /wp-content/plugins/customer-loyalty-for-woocommerce/admin/clwc-woocommerce-account-tab.php on line 80
[17-Apr-2024 01:47:01 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function is_wc_endpoint_url() in /wp-content/plugins/customer-loyalty-for-woocommerce/admin/clwc-woocommerce-account-tab.php:80
Stack trace:
#0 /wp-includes/class-wp-hook.php(326): clwc_endpoint_page_title()
#1 /wp-includes/plugin.php(205): WP_Hook->apply_filters()
#2 /wp-includes/post-template.php(174): apply_filters()
#3 /wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php(1842): get_the_title()
#4 /wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php(569): WP_REST_Posts_Controller->prepare_item_for_response()
#5 /wp-includes/rest-api/class-wp-rest-server.php(1230): WP_REST_Posts_Controller->get_item()
#6 /wp-includes/rest-api/class-wp-rest-server.php(1063): WP_REST_Server->respond_to_request()
#7 /wp-includes/rest-api.php(555): WP_REST_Server->dispatch()
#8 /wp-includes/rest-api.php(2922): rest_do_request()
#9 [internal function]: rest_preload_api_request()
#10 /wp-includes/block-editor.php(753): array_reduce()
#11 /wp-admin/edit-form-blocks.php(77): block_editor_rest_api_preload()
#12 /wp-admin/post-new.php(72): require('...')
#13 {main}
  thrown in /wp-content/plugins/customer-loyalty-for-woocommerce/admin/clwc-woocommerce-account-tab.php on line 80
[17-Apr-2024 01:47:01 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function is_wc_endpoint_url() in /wp-content/plugins/customer-loyalty-for-woocommerce/admin/clwc-woocommerce-account-tab.php:80
Stack trace:

(+47 more lines)
See also: All tests for this plugin