Post to Google My Business 3.1.28

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

Summary

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

Memory usage: 432.69 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.7.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 13

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=509c16ced4
Aspect after-activation
HTTP status 200
Load time 0.849 s
Memory usage 4.06 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read properties of null (reading 'isConnected')\n    at /wp-content/plugins/post-to-google-my-business/js/dashboard.js?ver=3.1.28:1:164598\n    at new ts (/wp-content/plugins/post-to-google-my-business/js/dashboard.js?ver=3.1.28:1:164646)\n    at HTMLDocument.<anonymous> (/wp-content/plugins/post-to-google-my-business/js/dashboard.js?ver=3.1.28:1:239013)",
        "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.465 s
Memory usage 3.89 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.491 s
Memory usage 3.97 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.383 s
Memory usage 3.89 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.431 s
Memory usage 3.89 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.374 s
Memory usage 3.89 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.370 s
Memory usage 3.89 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.255 s
Memory usage 3.89 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.291 s
Memory usage 3.89 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.531 s
Memory usage 4.09 MiB
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 0.428 s
Memory usage 3.89 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.276 s
Memory usage 3.67 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.723 s
Memory usage 6.38 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.28:1:39520)\n    at Timepicker.$.timepicker.handleRange (/wp-content/plugins/post-to-google-my-business/js/metabox.js?ver=3.1.28:1:40333)\n    at Timepicker.$.timepicker.datetimeRange (/wp-content/plugins/post-to-google-my-business/js/metabox.js?ver=3.1.28:1:39179)\n    at new <anonymous> (/wp-content/plugins/post-to-google-my-business/js/metabox.js?ver=3.1.28:1:56367)\n    at /wp-content/plugins/post-to-google-my-business/js/metabox.js?ver=3.1.28:1:55907\n    at /wp-content/plugins/post-to-google-my-business/js/metabox.js?ver=3.1.28:1:63664\n    at /wp-content/plugins/post-to-google-my-business/js/metabox.js?ver=3.1.28:1:63668",
        "trace": null,
        "code": null
    }
]
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.384 s0.536 s+0.152 s3.48 MiB3.97 MiB+ 503.78 KiB
/wp-admin/edit.php0.231 s0.361 s+0.130 s3.54 MiB4.01 MiB+ 473.65 KiB
/wp-admin/post-new.php0.868 s1.044 s+0.176 s5.92 MiB6.38 MiB+ 461.41 KiB
/wp-admin/upload.php0.812 s0.533 s-0.279 s3.5 MiB3.89 MiB+ 407.87 KiB
/wp-admin/options-writing.php0.247 s0.315 s+0.068 s3.47 MiB3.89 MiB+ 427.45 KiB
/wp-admin/media-new.php0.293 s0.317 s+0.024 s3.46 MiB3.89 MiB+ 435.64 KiB
/wp-admin/edit-tags.php?taxonomy=category0.227 s0.313 s+0.086 s3.48 MiB3.94 MiB+ 471.09 KiB
/wp-admin/post-new.php?post_type=page0.736 s0.642 s-0.094 s5.92 MiB6.34 MiB+ 428.02 KiB
/wp-admin/options-discussion.php0.328 s0.366 s+0.038 s3.47 MiB3.89 MiB+ 424.57 KiB
/wp-admin/edit-comments.php0.533 s0.568 s+0.035 s3.49 MiB3.94 MiB+ 455.14 KiB
/0.420 s0.204 s-0.216 s3.41 MiB3.67 MiB+ 270.95 KiB
Average 0.462 s0.473 s+0.011 s3.92 MiB4.35 MiB+ 432.69 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
PHP85.6%42,93320,790276
PO File8.4%4,1992,0204
JavaScript2.9%1,45930625
SVG2.2%1,07944
CSS0.5%269617
JSON0.2%10402
XML0.1%59143
YAML0.1%3021
Total 50,132 23,142 332

PHP Code Analysis | More results »

Lines of code 30,402
Total complexity 7,335
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 143
Methods 1,874
Functions 101

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 2 lines

[22-Nov-2024 10:10:50 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
[22-Nov-2024 10:10:51 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