YayCurrency 2.0.3

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=acd0a6ee0f
Aspect after-activation
HTTP status 200
Load time 0.239 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.3%5,85618169
PO File11.9%9535805
CSS7.8%62373
SVG4.4%35037
JavaScript2.5%20304
JSON0.0%101
Total 7,986 771 89

PHP Code Analysis | More results »

Lines of code 5,626
Total complexity 1,263
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 56
Methods 349
Functions 3

Additions

No data available.

PHP Error Log 31 lines

[14-Apr-2023 04:34:23 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
[14-Apr-2023 04:34:23 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
[14-Apr-2023 04:34:23 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