Post to Google My Business 3.1.3

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: 391.75 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.113 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=dde7b18786
Aspect after-activation
HTTP status 200
Load time 1.391 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.3:16:8996)\n    at e.r.handleRenderRequest [as drainedOption] (/wp-content/plugins/post-to-google-my-business/js/dashboard.js?ver=3.1.3:16:157873)\n    at e.drained (/wp-content/plugins/post-to-google-my-business/js/dashboard.js?ver=3.1.3:16:107528)\n    at e.tryDrain (/wp-content/plugins/post-to-google-my-business/js/dashboard.js?ver=3.1.3:16:107255)\n    at e.request (/wp-content/plugins/post-to-google-my-business/js/dashboard.js?ver=3.1.3:16:106719)\n    at t.render (/wp-content/plugins/post-to-google-my-business/js/dashboard.js?ver=3.1.3:16:158586)\n    at HTMLDocument.<anonymous> (/wp-content/plugins/post-to-google-my-business/js/dashboard.js?ver=3.1.3: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.390 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.404 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.348 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.402 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.337 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.336 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.285 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.234 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.573 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.276 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 1.295 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.588 s
Memory usage 3.41 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.261 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.641 s
Memory usage 5.34 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.3:4:39405)\n    at Timepicker.$.timepicker.handleRange (/wp-content/plugins/post-to-google-my-business/js/metabox.js?ver=3.1.3:4:40218)\n    at Timepicker.$.timepicker.datetimeRange (/wp-content/plugins/post-to-google-my-business/js/metabox.js?ver=3.1.3:4:39064)\n    at new t.a (/wp-content/plugins/post-to-google-my-business/js/metabox.js?ver=3.1.3:1:18472)\n    at Module.<anonymous> (/wp-content/plugins/post-to-google-my-business/js/metabox.js?ver=3.1.3:12:13009)\n    at i (/wp-content/plugins/post-to-google-my-business/js/metabox.js?ver=3.1.3:1:110)\n    at /wp-content/plugins/post-to-google-my-business/js/metabox.js?ver=3.1.3:1:902\n    at /wp-content/plugins/post-to-google-my-business/js/metabox.js?ver=3.1.3: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.286 s0.477 s+0.191 s3.05 MiB3.49 MiB+ 454.52 KiB
/wp-admin/edit.php0.179 s0.358 s+0.179 s3.07 MiB3.52 MiB+ 455.05 KiB
/wp-admin/post-new.php0.769 s1.027 s+0.258 s4.97 MiB5.34 MiB+ 377.82 KiB
/wp-admin/upload.php0.545 s0.332 s-0.213 s2.99 MiB3.34 MiB+ 355.06 KiB
/wp-admin/options-writing.php0.170 s0.258 s+0.088 s2.99 MiB3.36 MiB+ 385.67 KiB
/wp-admin/media-new.php0.269 s0.318 s+0.049 s2.97 MiB3.34 MiB+ 376.08 KiB
/wp-admin/edit-tags.php?taxonomy=category0.188 s0.269 s+0.081 s2.98 MiB3.39 MiB+ 414.31 KiB
/wp-admin/post-new.php?post_type=page0.619 s1.002 s+0.383 s4.96 MiB5.32 MiB+ 369.57 KiB
/wp-admin/options-discussion.php0.209 s0.418 s+0.209 s2.98 MiB3.37 MiB+ 399.52 KiB
/wp-admin/edit-comments.php0.203 s0.304 s+0.101 s3 MiB3.43 MiB+ 435.41 KiB
/0.291 s0.204 s-0.087 s2.94 MiB3.22 MiB+ 286.21 KiB
Average 0.339 s0.452 s+0.113 s3.35 MiB3.74 MiB+ 391.75 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.6%39,62018,435228
PO File8.8%4,0431,9484
JavaScript3.6%1,65136323
CSS0.6%263615
JSON0.2%10502
XML0.1%59143
YAML0.1%3021
Total 45,771 20,768 276

PHP Code Analysis | More results »

Lines of code 29,329
Total complexity 7,040
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 129
Methods 1,782
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

[12-Jan-2023 13:47:40 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
[12-Jan-2023 13:47:41 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
[12-Jan-2023 13:47:42 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