YayCurrency 2.0.6

Does YayCurrency work with WordPress 6.2 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.2
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=4f2d1a6ed1
Aspect after-activation
HTTP status 200
Load time 0.444 s
Memory usage 3.01 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
PHP73.5%5,92218370
PO File11.8%9535805
CSS7.7%62373
SVG4.3%35037
JavaScript2.5%20504
JSON0.0%101
Total 8,054 773 90

PHP Code Analysis | More results »

Lines of code 5,692
Total complexity 1,291
Median class complexity 11.0
Median method complexity 2.0
Most complex class Yay_Currency\Engine\FEPages\WooCommerceCurrency
Most complex function Yay_Currency\Engine\Compatibles\YITHWooCommerceAddOnsExtraPremiumOptions::get_price_options_by_cart()
Classes 57
Methods 355
Functions 3

Additions

No data available.

PHP Error Log 31 lines

[09-May-2023 16:20:42 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:312
Stack trace:
#0 /wp-content/plugins/yaycurrency/includes/Helpers/Helper.php(389): 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 312
[09-May-2023 16:20:42 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:312
Stack trace:
#0 /wp-content/plugins/yaycurrency/includes/Helpers/Helper.php(389): 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 312
[09-May-2023 16:20:43 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:312
Stack trace:
#0 /wp-content/plugins/yaycurrency/includes/Helpers/Helper.php(389): 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 312
See also: All tests for this plugin, How to Hide YayCurrency Admin Menus