Header Footer Code Manager 1.1.39

Does Header Footer Code Manager work with WordPress 6.6.2 and PHP 8.1.12? A smoke test was performed on .

Summary

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

Memory usage: 33.52 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.6.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 600,000+
WordPress.org page https://wordpress.org/plugins/header-footer-code-manager/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 5

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=header-footer-code-manager%2F99robots-header-footer-code-manager.php&plugin_status=all&paged=1&s&_wpnonce=fe97119a58
Aspect after-activation
HTTP status 200
Load time 0.308 s
Memory usage 3.51 MiB
JS errors None
Resource errors None

HFCM

Page screenshot: HFCM
URL /wp-admin/admin.php?page=hfcm-list
Aspect menu-item
HTTP status 200
Load time 0.354 s
Memory usage 3.48 MiB
JS errors None
Resource errors None

HFCM → Add New

Page screenshot: HFCM → Add New
URL /wp-admin/admin.php?page=hfcm-create
Aspect menu-item
HTTP status 200
Load time 0.630 s
Memory usage 3.63 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read properties of null (reading 'addEventListener')\n    at HTMLDocument.<anonymous> (/wp-content/plugins/header-footer-code-manager/js/nnr-hfcm-showboxes.js?ver=6.6.2:168:55)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-codemirror,underscore&ver=6.6.2:2:27028)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-codemirror,underscore&ver=6.6.2:2:27330)",
        "trace": null,
        "code": null
    }
]
Resource errors None

HFCM → Tools

Page screenshot: HFCM → Tools
URL /wp-admin/admin.php?page=hfcm-tools
Aspect menu-item
HTTP status 200
Load time 0.203 s
Memory usage 3.48 MiB
JS errors
[
    {
        "message": "TypeError: $(...).selectize is not a function\n    at HTMLDocument.<anonymous> (/wp-content/plugins/header-footer-code-manager/js/nnr-hfcm-showboxes.js?ver=6.6.2:148:106)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.6.2:2:27028)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.6.2:2:27330)",
        "trace": null,
        "code": null
    }
]
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.175 s
Memory usage 3.41 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.382 s0.321 s-0.061 s3.47 MiB3.5 MiB+ 22.88 KiB
/wp-admin/edit.php0.220 s0.301 s+0.081 s3.54 MiB3.56 MiB+ 24 KiB
/wp-admin/post-new.php0.790 s0.630 s-0.160 s5.75 MiB5.78 MiB+ 23.88 KiB
/wp-admin/upload.php0.566 s0.550 s-0.016 s3.49 MiB3.5 MiB+ 6.59 KiB
/wp-admin/options-writing.php0.213 s0.214 s+0.001 s3.41 MiB3.48 MiB+ 69.4 KiB
/wp-admin/media-new.php0.353 s0.244 s-0.109 s3.4 MiB3.48 MiB+ 82.78 KiB
/wp-admin/edit-tags.php?taxonomy=category0.226 s0.210 s-0.016 s3.47 MiB3.5 MiB+ 29.45 KiB
/wp-admin/post-new.php?post_type=page0.610 s0.616 s+0.006 s5.75 MiB5.77 MiB+ 23.46 KiB
/wp-admin/options-discussion.php0.249 s0.256 s+0.007 s3.41 MiB3.48 MiB+ 71.09 KiB
/wp-admin/edit-comments.php0.471 s0.423 s-0.048 s3.49 MiB3.5 MiB+ 6.59 KiB
/0.348 s0.232 s-0.116 s3.4 MiB3.41 MiB+ 8.62 KiB
Average 0.403 s0.363 s-0.039 s3.87 MiB3.9 MiB+ 33.52 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
CSS
PO File
Language % Lines of code Comment lines Files
PHP65.1%2,0952685
CSS19.0%612173
PO File8.7%2812691
JavaScript7.1%230213
SVG0.0%101
Total 3,219 575 13

PHP Code Analysis | More results »

Lines of code 1,529
Total complexity 292
Median class complexity 146.0
Median method complexity 2.0
Most complex class NNR_HFCM
Most complex function NNR_HFCM::hfcm_add_snippets()
Classes 2
Methods 49
Functions 0

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.

Database Tables 1

Options wp_options 2

PHP Error Log 46 lines

[30-Sep-2024 20:43:43 UTC] PHP Fatal error:  Uncaught TypeError: array_map(): Argument #2 ($array) must be of type array, stdClass given in /wp-includes/rest-api/endpoints/class-wp-rest-pattern-directory-controller.php:202
Stack trace:
#0 /wp-includes/rest-api/endpoints/class-wp-rest-pattern-directory-controller.php(202): array_map()
#1 /wp-includes/rest-api/endpoints/class-wp-rest-pattern-directory-controller.php(176): WP_REST_Pattern_Directory_Controller->prepare_item_for_response()
#2 /wp-includes/rest-api/class-wp-rest-server.php(1230): WP_REST_Pattern_Directory_Controller->get_items()
#3 /wp-includes/rest-api/class-wp-rest-server.php(1063): WP_REST_Server->respond_to_request()
#4 /wp-includes/rest-api.php(547): WP_REST_Server->dispatch()
#5 /wp-includes/block-patterns.php(235): rest_do_request()
#6 /wp-includes/rest-api/endpoints/class-wp-rest-block-patterns-controller.php(107): _load_remote_block_patterns()
#7 /wp-includes/rest-api/class-wp-rest-server.php(1230): WP_REST_Block_Patterns_Controller->get_items()
#8 /wp-includes/rest-api/class-wp-rest-server.php(1063): WP_REST_Server->respond_to_request()
#9 /wp-includes/rest-api/class-wp-rest-server.php(439): WP_REST_Server->dispatch()
#10 /wp-includes/rest-api.php(420): WP_REST_Server->serve_request()
#11 /wp-includes/class-wp-hook.php(324): rest_api_loaded()
#12 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#13 /wp-includes/plugin.php(565): WP_Hook->do_action()
#14 /wp-includes/class-wp.php(418): do_action_ref_array()
#15 /wp-includes/class-wp.php(813): WP->parse_request()
#16 /wp-includes/functions.php(1336): WP->main()
#17 /wp-blog-header.php(16): wp()
#18 /index.php(17): require('...')
#19 {main}
  thrown in /wp-includes/rest-api/endpoints/class-wp-rest-pattern-directory-controller.php on line 202
[30-Sep-2024 20:43:46 UTC] PHP Fatal error:  Uncaught TypeError: array_map(): Argument #2 ($array) must be of type array, stdClass given in /wp-includes/rest-api/endpoints/class-wp-rest-pattern-directory-controller.php:202
Stack trace:
#0 /wp-includes/rest-api/endpoints/class-wp-rest-pattern-directory-controller.php(202): array_map()
#1 /wp-includes/rest-api/endpoints/class-wp-rest-pattern-directory-controller.php(176): WP_REST_Pattern_Directory_Controller->prepare_item_for_response()
#2 /wp-includes/rest-api/class-wp-rest-server.php(1230): WP_REST_Pattern_Directory_Controller->get_items()
#3 /wp-includes/rest-api/class-wp-rest-server.php(1063): WP_REST_Server->respond_to_request()
#4 /wp-includes/rest-api.php(547): WP_REST_Server->dispatch()
#5 /wp-includes/block-patterns.php(235): rest_do_request()
#6 /wp-includes/rest-api/endpoints/class-wp-rest-block-patterns-controller.php(107): _load_remote_block_patterns()
#7 /wp-includes/rest-api/class-wp-rest-server.php(1230): WP_REST_Block_Patterns_Controller->get_items()
#8 /wp-includes/rest-api/class-wp-rest-server.php(1063): WP_REST_Server->respond_to_request()
#9 /wp-includes/rest-api/class-wp-rest-server.php(439): WP_REST_Server->dispatch()
#10 /wp-includes/rest-api.php(420): WP_REST_Server->serve_request()
#11 /wp-includes/class-wp-hook.php(324): rest_api_loaded()
#12 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#13 /wp-includes/plugin.php(565): WP_Hook->do_action()
#14 /wp-includes/class-wp.php(418): do_action_ref_array()
#15 /wp-includes/class-wp.php(813): WP->parse_request()
#16 /wp-includes/functions.php(1336): WP->main()
#17 /wp-blog-header.php(16): wp()
#18 /index.php(17): require('...')
#19 {main}
  thrown in /wp-includes/rest-api/endpoints/class-wp-rest-pattern-directory-controller.php on line 202
See also: All tests for this plugin