Does Cosmos Pay work with WordPress 6.8.3 and PHP 8.1.12? A smoke test was performed on .
| 3 | PHP fatal errors |
| 3 | PHP warnings |
| No JavaScript exceptions | |
| 1 | Page failed to load
|
| No resource errors |
Memory usage: 16.16 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.
| WordPress version | 6.8.3 |
|---|---|
| PHP version | 8.1.12 |
| MySQL version | 10.6.10 |
| PHP memory limit | 512M |
| Last updated | |
|---|---|
| Active installs | <10 |
| WordPress.org page | https://wordpress.org/plugins/cosmos-pay/ |
| Badges |
|
| URL | /wp-admin/plugins.php?plugin_status=all&paged=1&s |
|---|---|
| Requested URL | /wp-admin/plugins.php?action=activate&plugin=cosmos-pay%2Fcosmos-woocommerce.php&plugin_status=all&paged=1&s&_wpnonce=7634c4f88c |
| Aspect | after-activation |
| HTTP status | 200 |
| Load time | 0.290 s |
| Memory usage | 3.54 MiB |
| JS errors | None |
| Resource errors | None |
| URL | /wp-admin/admin.php?page=cosmos-pay-settings |
|---|---|
| Aspect | menu-item |
| HTTP status | 200 |
| Load time | 0.145 s |
| Memory usage | N/A |
| JS errors | None |
| Resource errors | None |
| URL | / |
|---|---|
| Aspect | front-page |
| HTTP status | 500 |
| Load time | 0.054 s |
| Memory usage | N/A |
| JS errors | None |
| Resource errors | None |
| URL | Load time | Memory usage | ||||
|---|---|---|---|---|---|---|
| Inactive | Active | Change | Inactive | Active | Change | |
| /wp-admin/index.php | 0.386 s | 0.287 s | -0.099 s | 3.51 MiB | 3.53 MiB | + 22.73 KiB |
| /wp-admin/edit.php | 0.211 s | 0.203 s | -0.008 s | 3.57 MiB | 3.59 MiB | + 22.73 KiB |
| /wp-admin/post-new.php | 0.842 s | 0.655 s | -0.187 s | 6.06 MiB | 6.08 MiB | + 22.15 KiB |
| /wp-admin/upload.php | 0.812 s | 0.682 s | -0.130 s | 3.52 MiB | 3.53 MiB | + 5.38 KiB |
| /wp-admin/options-writing.php | 0.236 s | 0.243 s | +0.007 s | 3.5 MiB | 3.51 MiB | + 9.38 KiB |
| /wp-admin/media-new.php | 0.305 s | 0.277 s | -0.028 s | 3.49 MiB | 3.51 MiB | + 17.57 KiB |
| /wp-admin/edit-tags.php?taxonomy=category | 0.203 s | 0.220 s | +0.017 s | 3.5 MiB | 3.53 MiB | + 28.24 KiB |
| /wp-admin/post-new.php?post_type=page | 0.775 s | 0.668 s | -0.107 s | 6.05 MiB | 6.07 MiB | + 22.15 KiB |
| /wp-admin/options-discussion.php | 0.284 s | 0.314 s | +0.030 s | 3.5 MiB | 3.51 MiB | + 5.88 KiB |
| /wp-admin/edit-comments.php | 0.476 s | 0.228 s | -0.248 s | 3.52 MiB | 3.53 MiB | + 5.37 KiB |
| Average | 0.453 s | 0.378 s | -0.075 s | 4.02 MiB | 4.04 MiB | + 16.16 KiB |
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.
| Language | % | Lines of code | Comment lines | Files | |
|---|---|---|---|---|---|
| JavaScript | 68.4% | 3,327 | 1,791 | 11 | |
| PHP | 20.9% | 1,019 | 612 | 17 | |
| CSS | 5.8% | 281 | 38 | 2 | |
| Markdown | 3.8% | 186 | 0 | 3 | |
| JSON | 0.6% | 28 | 0 | 1 | |
| HTML | 0.5% | 25 | 0 | 1 | |
| Total | 4,866 | 2,441 | 35 | ||
| Lines of code | 353 |
|---|---|
| Total complexity | 65 |
| Median class complexity | 6.5 |
| Median method complexity | 1.0 |
| Most complex class | Cosmos_Woocommerce_Public |
| Most complex function | Cosmos_Woocommerce_Public::cosmos_pay_form() |
| Classes | 8 |
|---|---|
| Methods | 34 |
| Functions | 3 |
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.
wp_options 2[08-Oct-2025 15:11:19 UTC] PHP Warning: Attempt to read property "payment_gateways" on null in /wp-content/plugins/cosmos-pay/admin/class-cosmos-woocommerce-admin.php on line 142
[08-Oct-2025 15:11:19 UTC] PHP Fatal error: Uncaught Error: Call to a member function payment_gateways() on null in /wp-content/plugins/cosmos-pay/admin/class-cosmos-woocommerce-admin.php:142
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): Cosmos_Woocommerce_Admin->get_cosmos_settings()
#1 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-admin/admin.php(260): do_action()
#4 {main}
thrown in /wp-content/plugins/cosmos-pay/admin/class-cosmos-woocommerce-admin.php on line 142
[08-Oct-2025 15:11:19 UTC] PHP Warning: Attempt to read property "session" on null in /wp-content/plugins/cosmos-pay/public/class-cosmos-woocommerce-public.php on line 100
[08-Oct-2025 15:11:19 UTC] PHP Fatal error: Uncaught Error: Call to a member function get() on null in /wp-content/plugins/cosmos-pay/public/class-cosmos-woocommerce-public.php:100
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): Cosmos_Woocommerce_Public->enqueue_scripts()
#1 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-includes/script-loader.php(2299): do_action()
#4 /wp-includes/class-wp-hook.php(324): wp_enqueue_scripts()
#5 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#6 /wp-includes/plugin.php(517): WP_Hook->do_action()
#7 /wp-includes/general-template.php(3192): do_action()
#8 /wp-content/themes/twentyseventeen/header.php(22): wp_head()
#9 /wp-includes/template.php(810): require_once('...')
#10 /wp-includes/template.php(745): load_template()
#11 /wp-includes/general-template.php(48): locate_template()
#12 /wp-content/themes/twentyseventeen/index.php(18): get_header()
#13 /wp-includes/template-loader.php(106): include('...')
#14 /wp-blog-header.php(19): require_once('...')
#15 /index.php(17): require('...')
#16 {main}
thrown in /wp-content/plugins/cosmos-pay/public/class-cosmos-woocommerce-public.php on line 100
[08-Oct-2025 15:11:27 UTC] PHP Warning: Attempt to read property "session" on null in /wp-content/plugins/cosmos-pay/public/class-cosmos-woocommerce-public.php on line 100
[08-Oct-2025 15:11:27 UTC] PHP Fatal error: Uncaught Error: Call to a member function get() on null in /wp-content/plugins/cosmos-pay/public/class-cosmos-woocommerce-public.php:100
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): Cosmos_Woocommerce_Public->enqueue_scripts()
#1 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-includes/script-loader.php(2299): do_action()
#4 /wp-includes/class-wp-hook.php(324): wp_enqueue_scripts()
#5 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#6 /wp-includes/plugin.php(517): WP_Hook->do_action()
#7 /wp-includes/general-template.php(3192): do_action()
#8 /wp-content/themes/twentyseventeen/header.php(22): wp_head()
#9 /wp-includes/template.php(810): require_once('...')
#10 /wp-includes/template.php(745): load_template()
#11 /wp-includes/general-template.php(48): locate_template()
#12 /wp-content/themes/twentyseventeen/index.php(18): get_header()
#13 /wp-includes/template-loader.php(106): include('...')
#14 /wp-blog-header.php(19): require_once('...')
#15 /index.php(17): require('...')
#16 {main}
thrown in /wp-content/plugins/cosmos-pay/public/class-cosmos-woocommerce-public.php on line 100