Alma - Pay in installments or later for WooCommerce 3.1.2

Does "Alma - Pay in installments or later for WooCommerce" work with WordPress 6.1 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: 37.9 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.1
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=919407c426
Aspect after-activation
HTTP status 200
Load time 0.358 s
Memory usage 3.54 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.109 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.333 s0.308 s-0.025 s3.55 MiB3.59 MiB+ 36.77 KiB
/wp-admin/edit.php0.199 s0.230 s+0.031 s3.58 MiB3.62 MiB+ 36.41 KiB
/wp-admin/post-new.php1.188 s1.013 s-0.175 s5.48 MiB5.52 MiB+ 45.45 KiB
/wp-admin/upload.php0.646 s0.354 s-0.292 s3.49 MiB3.53 MiB+ 36.02 KiB
/wp-admin/options-writing.php0.150 s0.166 s+0.016 s3.49 MiB3.5 MiB+ 18.64 KiB
/wp-admin/media-new.php0.258 s0.236 s-0.022 s3.47 MiB3.51 MiB+ 37.38 KiB
/wp-admin/edit-tags.php?taxonomy=category0.184 s0.206 s+0.022 s3.5 MiB3.55 MiB+ 53.26 KiB
/wp-admin/post-new.php?post_type=page1.055 s1.171 s+0.116 s5.47 MiB5.51 MiB+ 37 KiB
/wp-admin/options-discussion.php0.232 s0.277 s+0.045 s3.47 MiB3.51 MiB+ 38.01 KiB
/wp-admin/edit-comments.php0.197 s0.235 s+0.038 s3.5 MiB3.54 MiB+ 40.09 KiB
Average 0.444 s0.420 s-0.025 s3.9 MiB3.94 MiB+ 37.9 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.2%16,1641,3934
PHP15.2%3,4442,05529
PO File10.1%2,2821,1837
CSS2.7%62302
SVG0.4%98014
JSON0.2%4001
XML0.2%38401
Total 22,689 4,671 58

PHP Code Analysis | More results »

Lines of code 3,427
Total complexity 666
Median class complexity 16.0
Median method complexity 2.0
Most complex class Alma_WC_Payment_Gateway
Most complex function alma_wc_usort_plans_keys()
Classes 25
Methods 254
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

User Metadata wp_usermeta 1

PHP Error Log 22 lines

[06-Nov-2022 14:50:16 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:866
Stack trace:
#0 /wp-includes/class-wp-hook.php(308): Alma_WC_Plugin->wp_enqueue_scripts()
#1 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-includes/script-loader.php(2180): do_action()
#4 /wp-includes/class-wp-hook.php(308): wp_enqueue_scripts()
#5 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#6 /wp-includes/plugin.php(517): WP_Hook->do_action()
#7 /wp-includes/general-template.php(3043): do_action()
#8 /wp-content/themes/twentyseventeen/h in /wp-content/plugins/alma-gateway-for-woocommerce/includes/class-alma-wc-plugin.php on line 866
[06-Nov-2022 14:50:24 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:866
Stack trace:
#0 /wp-includes/class-wp-hook.php(308): Alma_WC_Plugin->wp_enqueue_scripts()
#1 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-includes/script-loader.php(2180): do_action()
#4 /wp-includes/class-wp-hook.php(308): wp_enqueue_scripts()
#5 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#6 /wp-includes/plugin.php(517): WP_Hook->do_action()
#7 /wp-includes/general-template.php(3043): do_action()
#8 /wp-content/themes/twentyseventeen/h in /wp-content/plugins/alma-gateway-for-woocommerce/includes/class-alma-wc-plugin.php on line 866
See also: All tests for this plugin