Geolocation 1.7.4

Does Geolocation work with WordPress 6.1.1 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
18PHP warnings
1JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 19.49 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.039 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version6.1.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 500+
WordPress.org page https://wordpress.org/plugins/geolocation/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 4

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=geolocation%2Fgeolocation.php&plugin_status=all&paged=1&s&_wpnonce=0ca35e0d2c
Aspect after-activation
HTTP status 200
Load time 0.391 s
Memory usage 3.02 MiB
JS errors None
Resource errors None

Settings → Geolocation

Page screenshot: Settings → Geolocation
URL /wp-admin/options-general.php?page=geolocation.php
Aspect menu-item
HTTP status 200
Load time 0.324 s
Memory usage 3.07 MiB
JS errors
[
    {
        "message": "ReferenceError: google is not defined\n    at setMarkerOptions (/wp-admin/options-general.php?page=geolocation.php:314:5)\n    at initializeMap (/wp-admin/options-general.php?page=geolocation.php:387:5)\n    at providerSelected (/wp-admin/options-general.php?page=geolocation.php:473:5)\n    at initializeForm (/wp-admin/options-general.php?page=geolocation.php:480:5)\n    at HTMLDocument.<anonymous> (/wp-admin/options-general.php?page=geolocation.php:492:5)",
        "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.276 s
Memory usage 2.96 MiB
JS errors None
Resource errors None

Add New Post ‹ Test site — WordPress

Page screenshot: Add New Post ‹ Test site — WordPress
URL /wp-admin/post-new.php
Aspect new-meta-boxes
HTTP status 200
Load time 1.457 s
Memory usage 5 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.247 s0.208 s-0.039 s3.05 MiB3.07 MiB+ 27.11 KiB
/wp-admin/edit.php0.161 s0.148 s-0.013 s3.07 MiB3.1 MiB+ 27.48 KiB
/wp-admin/post-new.php0.732 s1.589 s+0.857 s4.97 MiB5 MiB+ 34.62 KiB
/wp-admin/upload.php0.449 s0.251 s-0.198 s2.99 MiB3 MiB+ 10.07 KiB
/wp-admin/options-writing.php0.161 s0.115 s-0.046 s2.99 MiB2.98 MiB- 3.28 KiB
/wp-admin/media-new.php0.412 s0.317 s-0.095 s2.97 MiB2.99 MiB+ 22.26 KiB
/wp-admin/edit-tags.php?taxonomy=category0.156 s0.151 s-0.005 s2.98 MiB3.01 MiB+ 27.43 KiB
/wp-admin/post-new.php?post_type=page0.544 s0.535 s-0.009 s4.96 MiB4.99 MiB+ 30.01 KiB
/wp-admin/options-discussion.php0.191 s0.165 s-0.026 s2.97 MiB2.99 MiB+ 10.88 KiB
/wp-admin/edit-comments.php0.178 s0.169 s-0.009 s3 MiB3.01 MiB+ 10.06 KiB
/0.236 s0.253 s+0.017 s2.94 MiB2.96 MiB+ 17.79 KiB
Average 0.315 s0.355 s+0.039 s3.35 MiB3.37 MiB+ 19.49 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
Language % Lines of code Comment lines Files
PHP70.1%1,6133795
CSS25.9%595302
PO File4.0%92481
JavaScript0.0%151
Total 2,301 462 9

PHP Code Analysis | More results »

Lines of code 1,709
Total complexity 145
Median class complexity 0.0
Median method complexity 0.0
Most complex class
Most complex function geolocation_settings_page()
Classes 0
Methods 0
Functions 48

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 11

Meta Boxes

{
    "post": {
        "geolocation_sectionid": {
            "title": "Geolocation",
            "context": "advanced"
        }
    }
}

PHP Error Log 18 lines

[24-Feb-2023 21:55:00 UTC] PHP Warning:  Undefined array key 0 in /wp-content/plugins/geolocation/geolocation.php on line 563
[24-Feb-2023 21:55:00 UTC] PHP Warning:  Undefined array key 0 in /wp-content/plugins/geolocation/geolocation.php on line 563
[24-Feb-2023 21:55:01 UTC] PHP Warning:  Undefined array key "geolocation_nonce" in /wp-content/plugins/geolocation/geolocation.php on line 194
[24-Feb-2023 21:55:01 UTC] PHP Warning:  Undefined array key 0 in /wp-content/plugins/geolocation/geolocation.php on line 563
[24-Feb-2023 21:55:01 UTC] PHP Warning:  Undefined array key 0 in /wp-content/plugins/geolocation/geolocation.php on line 563
[24-Feb-2023 21:55:01 UTC] PHP Warning:  Undefined array key 0 in /wp-content/plugins/geolocation/geolocation.php on line 563
[24-Feb-2023 21:55:01 UTC] PHP Warning:  Undefined array key 0 in /wp-content/plugins/geolocation/geolocation.php on line 563
[24-Feb-2023 21:55:04 UTC] PHP Warning:  Undefined array key 0 in /wp-content/plugins/geolocation/geolocation.php on line 563
[24-Feb-2023 21:55:04 UTC] PHP Warning:  Undefined array key 0 in /wp-content/plugins/geolocation/geolocation.php on line 563
[24-Feb-2023 21:55:04 UTC] PHP Warning:  Undefined array key 0 in /wp-content/plugins/geolocation/geolocation.php on line 563
[24-Feb-2023 21:55:04 UTC] PHP Warning:  Undefined array key 0 in /wp-content/plugins/geolocation/geolocation.php on line 563
[24-Feb-2023 21:55:06 UTC] PHP Warning:  Undefined array key 0 in /wp-content/plugins/geolocation/geolocation.php on line 563
[24-Feb-2023 21:55:06 UTC] PHP Warning:  Undefined array key 0 in /wp-content/plugins/geolocation/geolocation.php on line 563
[24-Feb-2023 21:55:07 UTC] PHP Warning:  Undefined array key "geolocation_nonce" in /wp-content/plugins/geolocation/geolocation.php on line 194
[24-Feb-2023 21:55:07 UTC] PHP Warning:  Undefined array key 0 in /wp-content/plugins/geolocation/geolocation.php on line 563
[24-Feb-2023 21:55:07 UTC] PHP Warning:  Undefined array key 0 in /wp-content/plugins/geolocation/geolocation.php on line 563
[24-Feb-2023 21:55:07 UTC] PHP Warning:  Undefined array key 0 in /wp-content/plugins/geolocation/geolocation.php on line 563
[24-Feb-2023 21:55:07 UTC] PHP Warning:  Undefined array key 0 in /wp-content/plugins/geolocation/geolocation.php on line 563
See also: All tests for this plugin, How to Hide Geolocation Admin Menus and Meta Boxes