Post to Google My Business 3.1.10

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

Page speed impact: 0.118 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=c0c58310eb
Aspect after-activation
HTTP status 200
Load time 1.002 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.10:16:8996)\n    at e.r.handleRenderRequest [as drainedOption] (/wp-content/plugins/post-to-google-my-business/js/dashboard.js?ver=3.1.10:16:157873)\n    at e.drained (/wp-content/plugins/post-to-google-my-business/js/dashboard.js?ver=3.1.10:16:107528)\n    at e.tryDrain (/wp-content/plugins/post-to-google-my-business/js/dashboard.js?ver=3.1.10:16:107255)\n    at e.request (/wp-content/plugins/post-to-google-my-business/js/dashboard.js?ver=3.1.10:16:106719)\n    at t.render (/wp-content/plugins/post-to-google-my-business/js/dashboard.js?ver=3.1.10:16:158586)\n    at HTMLDocument.<anonymous> (/wp-content/plugins/post-to-google-my-business/js/dashboard.js?ver=3.1.10: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.409 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.403 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.338 s
Memory usage 3.36 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.414 s
Memory usage 3.36 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.328 s
Memory usage 3.36 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.332 s
Memory usage 3.36 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.281 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.228 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.588 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.268 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.955 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.592 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.249 s
Memory usage 3.23 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.649 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.10:4:39405)\n    at Timepicker.$.timepicker.handleRange (/wp-content/plugins/post-to-google-my-business/js/metabox.js?ver=3.1.10:4:40218)\n    at Timepicker.$.timepicker.datetimeRange (/wp-content/plugins/post-to-google-my-business/js/metabox.js?ver=3.1.10:4:39064)\n    at new e.a (/wp-content/plugins/post-to-google-my-business/js/metabox.js?ver=3.1.10:1:7825)\n    at Module.<anonymous> (/wp-content/plugins/post-to-google-my-business/js/metabox.js?ver=3.1.10:12:13340)\n    at i (/wp-content/plugins/post-to-google-my-business/js/metabox.js?ver=3.1.10:1:110)\n    at /wp-content/plugins/post-to-google-my-business/js/metabox.js?ver=3.1.10:1:902\n    at /wp-content/plugins/post-to-google-my-business/js/metabox.js?ver=3.1.10: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.272 s0.479 s+0.207 s3.05 MiB3.49 MiB+ 456.04 KiB
/wp-admin/edit.php0.179 s0.350 s+0.171 s3.07 MiB3.52 MiB+ 456.58 KiB
/wp-admin/post-new.php0.759 s1.006 s+0.247 s4.97 MiB5.34 MiB+ 379.34 KiB
/wp-admin/upload.php0.516 s0.326 s-0.190 s2.99 MiB3.34 MiB+ 356.59 KiB
/wp-admin/options-writing.php0.145 s0.264 s+0.119 s2.99 MiB3.37 MiB+ 387.2 KiB
/wp-admin/media-new.php0.255 s0.319 s+0.064 s2.97 MiB3.34 MiB+ 377.6 KiB
/wp-admin/edit-tags.php?taxonomy=category0.172 s0.248 s+0.076 s2.98 MiB3.39 MiB+ 415.84 KiB
/wp-admin/post-new.php?post_type=page0.635 s1.045 s+0.410 s4.96 MiB5.32 MiB+ 371.09 KiB
/wp-admin/options-discussion.php0.199 s0.363 s+0.164 s2.98 MiB3.37 MiB+ 401.04 KiB
/wp-admin/edit-comments.php0.194 s0.276 s+0.082 s3 MiB3.45 MiB+ 460.63 KiB
/0.262 s0.206 s-0.056 s2.94 MiB3.23 MiB+ 290.26 KiB
Average 0.326 s0.444 s+0.118 s3.35 MiB3.74 MiB+ 395.65 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
PHP87.1%42,51920,316284
PO File8.5%4,1602,0004
JavaScript3.4%1,67036423
CSS0.5%263615
JSON0.3%14102
XML0.1%59143
YAML0.1%3021
Total 48,842 22,702 332

PHP Code Analysis | More results »

Lines of code 29,466
Total complexity 7,096
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 135
Methods 1,808
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 11

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-Mar-2023 12:31:54 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-prefixed/rarst/wpdatetime/src/WpDateTimeTrait.php on line 69
[13-Mar-2023 12:31:56 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-prefixed/rarst/wpdatetime/src/WpDateTimeTrait.php on line 69
[13-Mar-2023 12:31:57 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-prefixed/rarst/wpdatetime/src/WpDateTimeTrait.php on line 69
See also: All tests for this plugin, How to Hide Post to Google My Business Admin Menus and Meta Boxes