YayCurrency 2.0

Does YayCurrency work with WordPress 6.1.1 and PHP 8.1.12? A smoke test was performed on .

Summary

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

No data available.

Environment
WordPress version6.1.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 6,000+
WordPress.org page https://wordpress.org/plugins/yaycurrency/
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=yaycurrency%2Fyay-currency.php
Requested URL /wp-admin/plugins.php?action=activate&plugin=yaycurrency%2Fyay-currency.php&plugin_status=all&paged=1&s&_wpnonce=1d2e93a8c7
Aspect after-activation
HTTP status 200
Load time 0.273 s
Memory usage 3 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.

PHP
PO File
Language % Lines of code Comment lines Files
PHP72.6%5,64617566
PO File12.3%9535805
CSS8.0%62373
SVG4.5%35037
JavaScript2.6%20504
JSON0.0%101
Total 7,778 765 86

PHP Code Analysis | More results »

Lines of code 5,416
Total complexity 1,221
Median class complexity 11.0
Median method complexity 2.0
Most complex class Yay_Currency\Engine\FEPages\WooCommerceCurrency
Most complex function Yay_Currency\Engine\FEPages\WooCommerceCurrency::change_shipping_cost()
Classes 53
Methods 331
Functions 3

Additions

No data available.

PHP Error Log 31 lines

[17-Mar-2023 01:27:32 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function Yay_Currency\Helpers\get_woocommerce_currency_symbol() in /wp-content/plugins/yaycurrency/includes/Helpers/Helper.php:310
Stack trace:
#0 /wp-content/plugins/yaycurrency/includes/Helpers/Helper.php(387): Yay_Currency\Helpers\Helper::get_woo_current_settings()
#1 /wp-content/plugins/yaycurrency/includes/Engine/ActDeact.php(26): Yay_Currency\Helpers\Helper::create_new_currency()
#2 /wp-includes/class-wp-hook.php(308): Yay_Currency\Engine\ActDeact::activate()
#3 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#4 /wp-includes/plugin.php(517): WP_Hook->do_action()
#5 /wp-admin/includes/plugin.php(691): do_action()
#6 /wp-admin/plugins.php(58): activate_plugin()
#7 {main}
  thrown in /wp-content/plugins/yaycurrency/includes/Helpers/Helper.php on line 310
[17-Mar-2023 01:27:32 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function Yay_Currency\Helpers\get_woocommerce_currency_symbol() in /wp-content/plugins/yaycurrency/includes/Helpers/Helper.php:310
Stack trace:
#0 /wp-content/plugins/yaycurrency/includes/Helpers/Helper.php(387): Yay_Currency\Helpers\Helper::get_woo_current_settings()
#1 /wp-content/plugins/yaycurrency/includes/Engine/ActDeact.php(26): Yay_Currency\Helpers\Helper::create_new_currency()
#2 /wp-includes/class-wp-hook.php(308): Yay_Currency\Engine\ActDeact::activate()
#3 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#4 /wp-includes/plugin.php(517): WP_Hook->do_action()
#5 /wp-admin/plugins.php(194): do_action()
#6 {main}
  thrown in /wp-content/plugins/yaycurrency/includes/Helpers/Helper.php on line 310
[17-Mar-2023 01:27:32 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function Yay_Currency\Helpers\get_woocommerce_currency_symbol() in /wp-content/plugins/yaycurrency/includes/Helpers/Helper.php:310
Stack trace:
#0 /wp-content/plugins/yaycurrency/includes/Helpers/Helper.php(387): Yay_Currency\Helpers\Helper::get_woo_current_settings()
#1 /wp-content/plugins/yaycurrency/includes/Engine/ActDeact.php(26): Yay_Currency\Helpers\Helper::create_new_currency()
#2 /wp-includes/class-wp-hook.php(308): Yay_Currency\Engine\ActDeact::activate()
#3 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#4 /wp-includes/plugin.php(517): WP_Hook->do_action()
#5 /wp-admin/plugins.php(194): do_action()
#6 {main}
  thrown in /wp-content/plugins/yaycurrency/includes/Helpers/Helper.php on line 310
See also: All tests for this plugin, How to Hide YayCurrency Admin Menus