Student Discount for WooCommerce 1.0

Does "Student Discount for WooCommerce" work with WordPress 6.8.1 and PHP 8.1.12? A smoke test was performed on .

Summary

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

Memory usage: 0 bytes
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.8.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/student-discount-for-woocommerce/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 2

WordPress › Error

Page screenshot: WordPress › Error
URL /wp-admin/plugins.php?activate=true&plugin_status=all&paged=1&s=
Requested URL /wp-admin/plugins.php?action=activate&plugin=student-discount-for-woocommerce%2Fwc-inacademia.php&plugin_status=all&paged=1&s&_wpnonce=d8b24dd31d
Aspect after-activation
HTTP status 500
Load time 0.181 s
Memory usage N/A
JS errors None
Resource errors None

WordPress › Error

Page screenshot: WordPress › Error
URL /
Aspect front-page
HTTP status 500
Load time 0.049 s
Memory usage N/A
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.

PHP
JavaScript
SVG
Language % Lines of code Comment lines Files
PHP58.7%7273446
JavaScript19.1%237562
SVG11.1%13722
Markdown6.5%8002
CSS3.1%3991
JSON1.5%1901
Total 1,239 411 14

PHP Code Analysis | More results »

Lines of code 718
Total complexity 109
Median class complexity 13.0
Median method complexity 1.0
Most complex class InAcademia_Blocks_Integration
Most complex function inacademia_sanitize_options()
Classes 1
Methods 8
Functions 33

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 192 lines

[10-May-2025 12:05:01 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function WC() in /wp-content/plugins/student-discount-for-woocommerce/wc-inacademia.php:96
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): inacademia_wp_loaded()
#1 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-settings.php(749): do_action()
#4 /wp-config.php(191): require_once('...')
#5 /wp-load.php(50): require_once('...')
#6 /wp-admin/admin.php(35): require_once('...')
#7 /wp-admin/plugins.php(10): require_once('...')
#8 {main}
  thrown in /wp-content/plugins/student-discount-for-woocommerce/wc-inacademia.php on line 96
[10-May-2025 12:05:01 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function WC() in /wp-content/plugins/student-discount-for-woocommerce/wc-inacademia.php:96
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): inacademia_wp_loaded()
#1 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-settings.php(749): do_action()
#4 /wp-config.php(191): require_once('...')
#5 /wp-load.php(50): require_once('...')
#6 /wp-admin/admin.php(35): require_once('...')
#7 /wp-admin/index.php(10): require_once('...')
#8 {main}
  thrown in /wp-content/plugins/student-discount-for-woocommerce/wc-inacademia.php on line 96
[10-May-2025 12:05:01 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function WC() in /wp-content/plugins/student-discount-for-woocommerce/wc-inacademia.php:96
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): inacademia_wp_loaded()
#1 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-settings.php(749): do_action()
#4 /wp-config.php(191): require_once('...')
#5 /wp-load.php(50): require_once('...')
#6 /wp-blog-header.php(13): require_once('...')
#7 /index.php(17): require('...')
#8 {main}
  thrown in /wp-content/plugins/student-discount-for-woocommerce/wc-inacademia.php on line 96
[10-May-2025 12:05:02 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function WC() in /wp-content/plugins/student-discount-for-woocommerce/wc-inacademia.php:96
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): inacademia_wp_loaded()
#1 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-settings.php(749): do_action()
#4 /wp-config.php(191): require_once('...')
#5 /wp-load.php(50): require_once('...')
#6 /wp-admin/admin.php(35): require_once('...')
#7 /wp-admin/index.php(10): require_once('...')
#8 {main}
  thrown in /wp-content/plugins/student-discount-for-woocommerce/wc-inacademia.php on line 96
[10-May-2025 12:05:02 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function WC() in /wp-content/plugins/student-discount-for-woocommerce/wc-inacademia.php:96
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): inacademia_wp_loaded()
#1 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-settings.php(749): do_action()
#4 /wp-config.php(191): require_once('...')
#5 /wp-load.php(50): require_once('...')
#6 /wp-admin/admin.php(35): require_once('...')
#7 /wp-admin/edit.php(10): require_once('...')
#8 {main}
  thrown in /wp-content/plugins/student-discount-for-woocommerce/wc-inacademia.php on line 96
[10-May-2025 12:05:02 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function WC() in /wp-content/plugins/student-discount-for-woocommerce/wc-inacademia.php:96
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): inacademia_wp_loaded()
#1 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-settings.php(749): do_action()
#4 /wp-config.php(191): require_once('...')
#5 /wp-load.php(50): require_once('...')
#6 /wp-admin/admin.php(35): require_once('...')
#7 /wp-admin/post-new.php(10): require_once('...')
#8 {main}
  thrown in /wp-content/plugins/student-discount-for-woocommerce/wc-inacademia.php on line 96
[10-May-2025 12:05:02 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function WC() in /wp-content/plugins/student-discount-for-woocommerce/wc-inacademia.php:96
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): inacademia_wp_loaded()
#1 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-settings.php(749): do_action()
#4 /wp-config.php(191): require_once('...')
#5 /wp-load.php(50): require_once('...')
#6 /wp-admin/admin.php(35): require_once('...')
#7 /wp-admin/upload.php(10): require_once('...')
#8 {main}
  thrown in /wp-content/plugins/student-discount-for-woocommerce/wc-inacademia.php on line 96
[10-May-2025 12:05:02 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function WC() in /wp-content/plugins/student-discount-for-woocommerce/wc-inacademia.php:96
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): inacademia_wp_loaded()
#1 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-settings.php(749): do_action()
#4 /wp-config.php(191): require_once('...')
#5 /wp-load.php(50): require_once('...')
#6 /wp-admin/admin.php(35): require_once('...')
#7 /wp-admin/options-writing.php(10): require_once('...')
#8 {main}
  thrown in /wp-content/plugins/student-discount-for-woocommerce/wc-inacademia.php on line 96
[10-May-2025 12:05:02 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function WC() in /wp-content/plugins/student-discount-for-woocommerce/wc-inacademia.php:96
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): inacademia_wp_loaded()
#1 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()

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