Alma - Pay in installments or later for WooCommerce 3.0.0

Does "Alma - Pay in installments or later for WooCommerce" work with WordPress 6.0 and PHP 7.4.8? A smoke test was performed on .

Summary

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

Memory usage: 41.22 KiB
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.0
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 1,000+
WordPress.org page https://wordpress.org/plugins/alma-gateway-for-woocommerce/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 2

Plugins ‹ Test site — WordPress

Page screenshot: Plugins ‹ Test site — WordPress
URL /wp-admin/plugins.php?plugin_status=all&paged=1&s
Requested URL /wp-admin/plugins.php?action=activate&plugin=alma-gateway-for-woocommerce%2Falma-gateway-for-woocommerce.php&plugin_status=all&paged=1&s&_wpnonce=70bb3b84ea
Aspect after-activation
HTTP status 200
Load time 0.326 s
Memory usage 3.72 MiB
JS errors None
Resource errors None

Test site – Just another WordPress site

Page screenshot: Test site – Just another WordPress site
URL /
Aspect front-page
HTTP status 500
Load time 0.073 s
Memory usage N/A
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.349 s0.325 s-0.024 s3.72 MiB3.75 MiB+ 29.96 KiB
/wp-admin/edit.php0.215 s0.292 s+0.077 s3.75 MiB3.78 MiB+ 28.86 KiB
/wp-admin/post-new.php0.760 s1.004 s+0.244 s5.53 MiB5.57 MiB+ 37.9 KiB
/wp-admin/upload.php0.414 s0.331 s-0.083 s3.68 MiB3.71 MiB+ 28.46 KiB
/wp-admin/options-writing.php0.266 s0.183 s-0.083 s3.61 MiB3.69 MiB+ 74.28 KiB
/wp-admin/media-new.php0.356 s0.204 s-0.152 s3.66 MiB3.69 MiB+ 29.83 KiB
/wp-admin/edit-tags.php?taxonomy=category0.187 s0.200 s+0.013 s3.68 MiB3.71 MiB+ 30.16 KiB
/wp-admin/post-new.php?post_type=page0.728 s0.649 s-0.079 s5.53 MiB5.56 MiB+ 29.48 KiB
/wp-admin/options-discussion.php0.216 s0.358 s+0.142 s3.59 MiB3.68 MiB+ 94.45 KiB
/wp-admin/edit-comments.php0.216 s0.240 s+0.024 s3.69 MiB3.72 MiB+ 28.81 KiB
Average 0.371 s0.379 s+0.008 s4.05 MiB4.09 MiB+ 41.22 KiB

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.

JavaScript
PHP
PO File
Language % Lines of code Comment lines Files
JavaScript71.3%14,7579164
PHP15.2%3,1451,79927
PO File9.8%2,0371,0297
CSS2.8%58802
SVG0.5%98014
XML0.2%38401
JSON0.2%3601
Total 20,699 3,784 56

PHP Code Analysis | More results »

Lines of code 3,128
Total complexity 593
Median class complexity 13.0
Median method complexity 2.0
Most complex class Alma_WC_Payment_Gateway
Most complex function alma_wc_usort_plans_keys()
Classes 23
Methods 224
Functions 8

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.

Options wp_options 2

PHP Error Log 22 lines

[04-Jul-2022 00:54:43 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function is_checkout() in /wp-content/plugins/alma-gateway-for-woocommerce/includes/class-alma-wc-plugin.php:837
Stack trace:
#0 /wp-includes/class-wp-hook.php(307): Alma_WC_Plugin->wp_enqueue_scripts()
#1 /wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(476): WP_Hook->do_action()
#3 /wp-includes/script-loader.php(2156): do_action()
#4 /wp-includes/class-wp-hook.php(307): wp_enqueue_scripts()
#5 /wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
#6 /wp-includes/plugin.php(476): WP_Hook->do_action()
#7 /wp-includes/general-template.php(3042): do_action()
#8 /wp-content/themes/twentyseventeen/h in /wp-content/plugins/alma-gateway-for-woocommerce/includes/class-alma-wc-plugin.php on line 837
[04-Jul-2022 00:54:51 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function is_checkout() in /wp-content/plugins/alma-gateway-for-woocommerce/includes/class-alma-wc-plugin.php:837
Stack trace:
#0 /wp-includes/class-wp-hook.php(307): Alma_WC_Plugin->wp_enqueue_scripts()
#1 /wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(476): WP_Hook->do_action()
#3 /wp-includes/script-loader.php(2156): do_action()
#4 /wp-includes/class-wp-hook.php(307): wp_enqueue_scripts()
#5 /wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
#6 /wp-includes/plugin.php(476): WP_Hook->do_action()
#7 /wp-includes/general-template.php(3042): do_action()
#8 /wp-content/themes/twentyseventeen/h in /wp-content/plugins/alma-gateway-for-woocommerce/includes/class-alma-wc-plugin.php on line 837
See also: All tests for this plugin