Blocks for CiviCRM 1.0.3

Does Blocks for CiviCRM work with WordPress 6.2 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
2PHP fatal errors
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: -5.56 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.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 70+
WordPress.org page https://wordpress.org/plugins/blocks-for-civicrm/
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=blocks-for-civicrm%2Fblocks-for-civicrm-plugin.php&plugin_status=all&paged=1&s&_wpnonce=d91e069f08
Aspect after-activation
HTTP status 200
Load time 0.411 s
Memory usage 3.02 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 200
Load time 0.255 s
Memory usage 2.97 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.299 s0.269 s-0.030 s3.07 MiB3.08 MiB+ 3.97 KiB
/wp-admin/edit.php0.183 s0.184 s+0.001 s3.1 MiB3.1 MiB+ 3.97 KiB
/wp-admin/upload.php0.541 s0.307 s-0.234 s3.02 MiB3 MiB- 13.22 KiB
/wp-admin/options-writing.php0.157 s0.145 s-0.012 s3.01 MiB2.99 MiB- 26.46 KiB
/wp-admin/media-new.php0.334 s0.240 s-0.094 s2.99 MiB2.99 MiB- 1.03 KiB
/wp-admin/edit-tags.php?taxonomy=category0.180 s0.207 s+0.027 s3.01 MiB3.01 MiB+ 4.14 KiB
/wp-admin/options-discussion.php0.224 s0.236 s+0.012 s3 MiB2.99 MiB- 12.73 KiB
/wp-admin/edit-comments.php0.194 s0.205 s+0.011 s3.03 MiB3.01 MiB- 13.23 KiB
/0.320 s0.174 s-0.146 s2.97 MiB2.97 MiB+ 4.58 KiB
Average 0.270 s0.219 s-0.052 s3.02 MiB3.02 MiB- 5.56 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.

PHP
JSON
Language % Lines of code Comment lines Files
PHP66.1%84113
JSON33.1%4201
JavaScript0.8%101
Total 127 11 5

PHP Code Analysis | More results »

Lines of code 81
Total complexity 2
Median class complexity 0.0
Median method complexity 0.0
Most complex class
Most complex function block_civicrm()
Classes 0
Methods 0
Functions 1

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.

No new entries found.

PHP Error Log 18 lines

[17-Apr-2023 12:54:43 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function civi_wp() in /wp-content/plugins/blocks-for-civicrm/inc/block_civicrm.php:24
Stack trace:
#0 /wp-includes/class-wp-hook.php(308): {closure}()
#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/edit-form-blocks.php(272): do_action()
#4 /wp-admin/post-new.php(72): require('...')
#5 {main}
  thrown in /wp-content/plugins/blocks-for-civicrm/inc/block_civicrm.php on line 24
[17-Apr-2023 12:54:45 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function civi_wp() in /wp-content/plugins/blocks-for-civicrm/inc/block_civicrm.php:24
Stack trace:
#0 /wp-includes/class-wp-hook.php(308): {closure}()
#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/edit-form-blocks.php(272): do_action()
#4 /wp-admin/post-new.php(72): require('...')
#5 {main}
  thrown in /wp-content/plugins/blocks-for-civicrm/inc/block_civicrm.php on line 24
See also: All tests for this plugin, How to Hide the "Error Report" Admin Menu