Post to Google My Business 3.1.6

Does Post to Google My Business work with WordPress 6.1.1 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
3PHP deprecation warnings
2JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

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

Page speed impact: 0.114 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 10,000+
WordPress.org page https://wordpress.org/plugins/post-to-google-my-business/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 15

Post to Google My Business ‹ Test site — WordPress

Page screenshot: Post to Google My Business ‹ Test site — WordPress
URL /wp-admin/admin.php?page=post_to_google_my_business
Requested URL /wp-admin/plugins.php?action=activate&plugin=post-to-google-my-business%2Fpost-to-google-my-business.php&plugin_status=all&paged=1&s&_wpnonce=54c8309c99
Aspect after-activation
HTTP status 200
Load time 1.199 s
Memory usage 3.58 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read properties of null (reading '__k')\n    at W (/wp-content/plugins/post-to-google-my-business/js/dashboard.js?ver=3.1.6:16:8996)\n    at e.r.handleRenderRequest [as drainedOption] (/wp-content/plugins/post-to-google-my-business/js/dashboard.js?ver=3.1.6:16:157873)\n    at e.drained (/wp-content/plugins/post-to-google-my-business/js/dashboard.js?ver=3.1.6:16:107528)\n    at e.tryDrain (/wp-content/plugins/post-to-google-my-business/js/dashboard.js?ver=3.1.6:16:107255)\n    at e.request (/wp-content/plugins/post-to-google-my-business/js/dashboard.js?ver=3.1.6:16:106719)\n    at t.render (/wp-content/plugins/post-to-google-my-business/js/dashboard.js?ver=3.1.6:16:158586)\n    at HTMLDocument.<anonymous> (/wp-content/plugins/post-to-google-my-business/js/dashboard.js?ver=3.1.6:21:48184)",
        "trace": null,
        "code": null
    }
]
Resource errors None

Post to GMB

Page screenshot: Post to GMB
URL /wp-admin/admin.php?page=post_to_google_my_business
Aspect menu-item
HTTP status 200
Load time 0.398 s
Memory usage 3.34 MiB
JS errors None
Resource errors None

Post to GMB → Settings

Page screenshot: Post to GMB  → Settings
URL /wp-admin/admin.php?page=pgmb_settings
Aspect menu-item
HTTP status 200
Load time 0.425 s
Memory usage 3.49 MiB
JS errors None
Resource errors None

Post to GMB → Settings → Auto-post settings

Page screenshot: Post to GMB  → Settings → Auto-post settings
URL /wp-admin/admin.php?page=pgmb_settings
Aspect menu-item-tab
HTTP status 200
Load time 0.365 s
Memory usage 3.35 MiB
JS errors None
Resource errors None

Post to GMB → Settings → Post type settings

Page screenshot: Post to GMB  → Settings → Post type settings
URL /wp-admin/admin.php?page=pgmb_settings
Aspect menu-item-tab
HTTP status 200
Load time 0.411 s
Memory usage 3.35 MiB
JS errors None
Resource errors None

Post to GMB → Settings → Evergreen content

Page screenshot: Post to GMB  → Settings → Evergreen content
URL /wp-admin/admin.php?page=pgmb_settings
Aspect menu-item-tab
HTTP status 200
Load time 0.338 s
Memory usage 3.35 MiB
JS errors None
Resource errors None

Post to GMB → Settings → Misc

Page screenshot: Post to GMB  → Settings → Misc
URL /wp-admin/admin.php?page=pgmb_settings
Aspect menu-item-tab
HTTP status 200
Load time 0.356 s
Memory usage 3.35 MiB
JS errors None
Resource errors None

Post to GMB → Auto-post templates

Page screenshot: Post to GMB  → Auto-post templates
URL /wp-admin/admin.php?page=pgmb_template_upsell
Aspect menu-item
HTTP status 200
Load time 0.268 s
Memory usage 3.37 MiB
JS errors None
Resource errors None

Post to GMB → Post Campaigns

Page screenshot: Post to GMB  → Post Campaigns
URL /wp-admin/admin.php?page=pgmb_postcampaign_upsell
Aspect menu-item
HTTP status 200
Load time 0.246 s
Memory usage 3.36 MiB
JS errors None
Resource errors None

Post to GMB → Affiliation

Page screenshot: Post to GMB  → Affiliation
URL /wp-admin/admin.php?page=post_to_google_my_business-affiliation
Aspect menu-item
HTTP status 200
Load time 0.581 s
Memory usage 3.55 MiB
JS errors None
Resource errors None

Post to GMB → Contact Us

Page screenshot: Post to GMB  → Contact Us
URL /wp-admin/admin.php?page=post_to_google_my_business-contact
Aspect menu-item
HTTP status 200
Load time 0.290 s
Memory usage 3.39 MiB
JS errors None
Resource errors None

Post to GMB → Support Forum

Page screenshot: Post to GMB  → Support Forum
URL https://wordpress.org/support/plugin/post-to-google-my-business/
Requested URL /wp-admin/admin.php?page=post_to_google_my_business-wp-support-forum
Aspect menu-item
HTTP status 200
Load time 2.231 s
Memory usage N/A
JS errors None
Resource errors None

Post to GMB → Upgrade  ➤

Page screenshot: Post to GMB  → Upgrade  ➤
URL /wp-admin/admin.php?page=post_to_google_my_business-pricing
Aspect menu-item
HTTP status 200
Load time 1.501 s
Memory usage 3.4 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.278 s
Memory usage 3.22 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 0.701 s
Memory usage 5.33 MiB
JS errors
[
    {
        "message": "TypeError: r.getTime is not a function\n    at a (/wp-content/plugins/post-to-google-my-business/js/metabox.js?ver=3.1.6:4:39405)\n    at Timepicker.$.timepicker.handleRange (/wp-content/plugins/post-to-google-my-business/js/metabox.js?ver=3.1.6:4:40218)\n    at Timepicker.$.timepicker.datetimeRange (/wp-content/plugins/post-to-google-my-business/js/metabox.js?ver=3.1.6:4:39064)\n    at new e.a (/wp-content/plugins/post-to-google-my-business/js/metabox.js?ver=3.1.6:1:7825)\n    at Module.<anonymous> (/wp-content/plugins/post-to-google-my-business/js/metabox.js?ver=3.1.6:12:13009)\n    at i (/wp-content/plugins/post-to-google-my-business/js/metabox.js?ver=3.1.6:1:110)\n    at /wp-content/plugins/post-to-google-my-business/js/metabox.js?ver=3.1.6:1:902\n    at /wp-content/plugins/post-to-google-my-business/js/metabox.js?ver=3.1.6:1:912",
        "trace": null,
        "code": null
    }
]
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.298 s0.496 s+0.198 s3.05 MiB3.49 MiB+ 453.51 KiB
/wp-admin/edit.php0.194 s0.365 s+0.171 s3.07 MiB3.52 MiB+ 454.05 KiB
/wp-admin/post-new.php0.798 s1.049 s+0.251 s4.97 MiB5.33 MiB+ 376.81 KiB
/wp-admin/upload.php0.553 s0.344 s-0.209 s2.99 MiB3.34 MiB+ 354.05 KiB
/wp-admin/options-writing.php0.146 s0.276 s+0.130 s2.99 MiB3.36 MiB+ 384.66 KiB
/wp-admin/media-new.php0.297 s0.329 s+0.032 s2.97 MiB3.33 MiB+ 375.07 KiB
/wp-admin/edit-tags.php?taxonomy=category0.164 s0.417 s+0.253 s2.98 MiB3.38 MiB+ 413.3 KiB
/wp-admin/post-new.php?post_type=page0.621 s0.859 s+0.238 s4.96 MiB5.32 MiB+ 368.56 KiB
/wp-admin/options-discussion.php0.207 s0.367 s+0.160 s2.98 MiB3.36 MiB+ 398.51 KiB
/wp-admin/edit-comments.php0.201 s0.289 s+0.088 s3 MiB3.42 MiB+ 434.4 KiB
/0.281 s0.224 s-0.057 s2.94 MiB3.22 MiB+ 286.97 KiB
Average 0.342 s0.456 s+0.114 s3.35 MiB3.74 MiB+ 390.9 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
PO File
Language % Lines of code Comment lines Files
PHP86.5%39,77918,446233
PO File9.0%4,1201,9934
JavaScript3.6%1,64736423
CSS0.6%263615
JSON0.2%10502
XML0.1%59143
YAML0.1%3021
Total 46,003 20,825 281

PHP Code Analysis | More results »

Lines of code 29,472
Total complexity 7,066
Median class complexity 10.0
Median method complexity 2.0
Most complex class Freemius
Most complex function FS_Plugin_Info_Dialog::install_plugin_information()
Classes 133
Methods 1,792
Functions 95

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 12

Custom Post Types 2

ID Name
mbp_post_entityPosts
mbp-google-subpostsPosts

Meta Boxes

{
    "post": {
        "pgmb_post_creation_metabox": {
            "title": "Post to Google My Business",
            "context": "advanced"
        }
    }
}

Capabilities 2

PHP Error Log 3 lines

[13-Feb-2023 10:35:37 UTC] PHP Deprecated:  Return type of PGMB\Vendor\Rarst\WordPress\DateTime\WpDateTimeTrait::createFromFormat($format, $time, $timezone = null) should either be compatible with DateTime::createFromFormat(string $format, string $datetime, ?DateTimeZone $timezone = null): DateTime|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/post-to-google-my-business/vendor/rarst/wpdatetime/src/WpDateTimeTrait.php on line 63
[13-Feb-2023 10:35:38 UTC] PHP Deprecated:  Return type of PGMB\Vendor\Rarst\WordPress\DateTime\WpDateTimeTrait::createFromFormat($format, $time, $timezone = null) should either be compatible with DateTime::createFromFormat(string $format, string $datetime, ?DateTimeZone $timezone = null): DateTime|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/post-to-google-my-business/vendor/rarst/wpdatetime/src/WpDateTimeTrait.php on line 63
[13-Feb-2023 10:35:39 UTC] PHP Deprecated:  Return type of PGMB\Vendor\Rarst\WordPress\DateTime\WpDateTimeTrait::createFromFormat($format, $time, $timezone = null) should either be compatible with DateTime::createFromFormat(string $format, string $datetime, ?DateTimeZone $timezone = null): DateTime|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/post-to-google-my-business/vendor/rarst/wpdatetime/src/WpDateTimeTrait.php on line 63
See also: All tests for this plugin, How to Hide Post to Google My Business Admin Menus and Meta Boxes