EAS EU compliance 1.5.0

Does EAS EU compliance work with WordPress 6.4.2 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
The plugin could not be activated
1PHP fatal errors
No JavaScript exceptions
No resource errors
Performance

No data available.

Environment
WordPress version6.4.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 200+
WordPress.org page https://wordpress.org/plugins/eas-eu-compliance/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 1

Plugins ‹ Test site — WordPress

Page screenshot: Plugins ‹ Test site — WordPress
URL /wp-admin/plugins.php?plugin=eas-eu-compliance%2FEAScompliance.php
Requested URL /wp-admin/plugins.php?action=activate&plugin=eas-eu-compliance%2FEAScompliance.php&plugin_status=all&paged=1&s&_wpnonce=79ce4a4bc9
Aspect after-activation
HTTP status 200
Load time 0.423 s
Memory usage 3.36 MiB
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.

PO File
PHP
Language % Lines of code Comment lines Files
PO File48.9%5,6312,31411
PHP46.1%5,3041,0533
JavaScript4.3%499472
CSS0.5%5402
Markdown0.2%2201
Total 11,510 3,414 19

PHP Code Analysis | More results »

Lines of code 5,305
Total complexity 875
Median class complexity 0.0
Median method complexity 1.0
Most complex class EASLogHandler
Most complex function eascompliance_woocommerce_update_options_settings_tab_compliance()
Classes 3
Methods 1
Functions 122

Additions

No data available.

PHP Error Log 9 lines

[26-Dec-2023 15:38:10 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function wc_get_base_location() in /wp-content/plugins/eas-eu-compliance/EAScompliance.php:182
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): eascompliance_plugin_activation()
#1 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-admin/includes/plugin.php(693): do_action()
#4 /wp-admin/plugins.php(58): activate_plugin()
#5 {main}
  thrown in /wp-content/plugins/eas-eu-compliance/EAScompliance.php on line 182
See also: All tests for this plugin