Does Cosmos Pay work with WordPress 6.1.1 and PHP 8.1.12? A smoke test was performed on .
1 | PHP fatal errors |
1 | PHP warnings |
No JavaScript exceptions | |
All test pages loaded successfully | |
No resource errors |
Memory usage: 12.41 KiB
The average PHP memory usage increased by this amount after activating by the plugin.
Page speed impact:
0.037 seconds
The average page load time increased by this amount after activating the plugin.
WordPress version | 6.1.1 |
---|---|
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 |
Get badge code |
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=e5c15cfc00 |
Aspect | after-activation |
HTTP status | 200 |
Load time | 0.434 s |
Memory usage | 3.01 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.153 s |
Memory usage | N/A |
JS errors | None |
Resource errors | None |
URL | / |
---|---|
Aspect | front-page |
HTTP status | 200 |
Load time | 0.966 s |
Memory usage | 2.96 MiB |
JS errors | None |
Resource errors | None |
URL | Load time | Memory usage | ||||
---|---|---|---|---|---|---|
Inactive | Active | Change | Inactive | Active | Change | |
/wp-admin/index.php | 0.290 s | 0.242 s | -0.048 s | 3.05 MiB | 3.07 MiB | + 20.22 KiB |
/wp-admin/edit.php | 0.182 s | 0.183 s | +0.001 s | 3.07 MiB | 3.09 MiB | + 20.22 KiB |
/wp-admin/post-new.php | 0.767 s | 0.964 s | +0.197 s | 4.97 MiB | 4.99 MiB | + 24.59 KiB |
/wp-admin/upload.php | 0.544 s | 0.459 s | -0.085 s | 2.99 MiB | 2.99 MiB | + 2.81 KiB |
/wp-admin/options-writing.php | 0.144 s | 0.268 s | +0.124 s | 2.99 MiB | 2.98 MiB | - 11.16 KiB |
/wp-admin/media-new.php | 0.267 s | 0.246 s | -0.021 s | 2.97 MiB | 2.98 MiB | + 15 KiB |
/wp-admin/edit-tags.php?taxonomy=category | 0.214 s | 0.173 s | -0.041 s | 2.98 MiB | 3 MiB | + 20.17 KiB |
/wp-admin/post-new.php?post_type=page | 0.632 s | 0.625 s | -0.007 s | 4.96 MiB | 4.98 MiB | + 20.17 KiB |
/wp-admin/options-discussion.php | 0.217 s | 0.193 s | -0.024 s | 2.98 MiB | 2.98 MiB | + 2.68 KiB |
/wp-admin/edit-comments.php | 0.182 s | 0.213 s | +0.031 s | 3 MiB | 3 MiB | + 2.84 KiB |
/ | 0.274 s | 0.554 s | +0.280 s | 2.94 MiB | 2.96 MiB | + 18.96 KiB |
Average | 0.338 s | 0.375 s | +0.037 s | 3.35 MiB | 3.37 MiB | + 12.41 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 | |
---|---|---|---|---|---|
PHP | 46.5% | 970 | 613 | 17 | |
JavaScript | 26.5% | 554 | 162 | 11 | |
CSS | 13.5% | 281 | 38 | 2 | |
Markdown | 8.9% | 186 | 0 | 3 | |
HTML | 3.4% | 70 | 11 | 1 | |
JSON | 1.3% | 27 | 0 | 1 | |
Total | 2,088 | 824 | 35 |
Lines of code | 339 |
---|---|
Total complexity | 59 |
Median class complexity | 6.5 |
Median method complexity | 1.0 |
Most complex class | Cosmos_Woocommerce_Admin |
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[06-Dec-2022 14:42:56 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
[06-Dec-2022 14:42:56 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(308): Cosmos_Woocommerce_Admin->get_cosmos_settings()
#1 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-admin/admin.php(259): do_action()
#4 {main}
thrown in /wp-content/plugins/cosmos-pay/admin/class-cosmos-woocommerce-admin.php on line 142