Plugin for Google Reviews 2.2.5

Does Plugin for Google Reviews work with WordPress 6.1.1 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
The testing tool crashed
2PHP warnings
6PHP notices
4Database errors
1JavaScript exceptions
No resource errors
Performance

No data available.

Environment
WordPress version6.1.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 100,000+
WordPress.org page https://wordpress.org/plugins/widget-google-reviews/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 1

Overview ‹ Test site — WordPress

Page screenshot: Overview ‹ Test site — WordPress
URL /wp-admin/admin.php?page=grw
Requested URL /wp-admin/plugins.php?action=activate&plugin=widget-google-reviews%2Fgrw.php&plugin_status=all&paged=1&s&_wpnonce=3dc5e8b1a7
Aspect after-activation
HTTP status 200
Load time 0.645 s
Memory usage 3.13 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read properties of undefined (reading 'name')\n    at Object.success (/wp-content/plugins/widget-google-reviews/assets/js/admin-main.js?ver=2.2.5:5:163)\n    at c (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.1.1:2:28327)\n    at Object.fireWith [as resolveWith] (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.1.1:2:29072)\n    at l (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.1.1:2:80045)\n    at XMLHttpRequest.<anonymous> (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.1.1:2:82499)",
        "trace": null,
        "code": null
    }
]
Resource errors None

Benchmark

No benchmark data available.

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
JavaScript
Language % Lines of code Comment lines Files
PHP40.3%3,1746535
CSS37.7%2,9684810
JavaScript14.4%1,1367887
PO File7.5%587023
SVG0.1%402
Total 7,869 901 77

PHP Code Analysis | More results »

Lines of code 3,040
Total complexity 586
Median class complexity 11.5
Median method complexity 2.0
Most complex class WP_Rplg_Google_Reviews\Includes\View
Most complex function WP_Rplg_Google_Reviews\Includes\Core\Connect_Google::save_reviews()
Classes 30
Methods 160
Functions 4

Additions

No data available.

PHP Error Log 12 lines

[12-Jan-2023 00:02:10 UTC] PHP Warning:  Undefined array key "place_id" in /wp-content/plugins/widget-google-reviews/includes/class-plugin-overview-ajax.php on line 16
[12-Jan-2023 00:02:10 UTC] PHP Notice:  Function wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.9.0.) in /wp-includes/functions.php on line 5835
[12-Jan-2023 00:02:10 UTC] PHP Notice:  Function wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.9.0.) in /wp-includes/functions.php on line 5835
[12-Jan-2023 00:02:10 UTC] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ') ORDER BY time DESC LIMIT 10' at line 1 for query SELECT * FROM wp_grp_google_review WHERE google_place_id IN () ORDER BY time DESC LIMIT 10 made by do_action('wp_ajax_grw_overview_ajax'), WP_Hook->do_action, WP_Hook->apply_filters, WP_Rplg_Google_Reviews\Includes\Plugin_Overview_Ajax->overview_ajax, WP_Rplg_Google_Reviews\Includes\Core\Core->get_overview
[12-Jan-2023 00:02:10 UTC] PHP Notice:  Function wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.9.0.) in /wp-includes/functions.php on line 5835
[12-Jan-2023 00:02:10 UTC] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ') ORDER BY id DESC LIMIT 10000' at line 1 for query SELECT * FROM wp_grp_google_stats WHERE google_place_id IN () ORDER BY id DESC LIMIT 10000 made by do_action('wp_ajax_grw_overview_ajax'), WP_Hook->do_action, WP_Hook->apply_filters, WP_Rplg_Google_Reviews\Includes\Plugin_Overview_Ajax->overview_ajax, WP_Rplg_Google_Reviews\Includes\Core\Core->get_overview
[12-Jan-2023 00:02:12 UTC] PHP Warning:  Undefined array key "place_id" in /wp-content/plugins/widget-google-reviews/includes/class-plugin-overview-ajax.php on line 16
[12-Jan-2023 00:02:12 UTC] PHP Notice:  Function wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.9.0.) in /wp-includes/functions.php on line 5835
[12-Jan-2023 00:02:12 UTC] PHP Notice:  Function wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.9.0.) in /wp-includes/functions.php on line 5835
[12-Jan-2023 00:02:12 UTC] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ') ORDER BY time DESC LIMIT 10' at line 1 for query SELECT * FROM wp_grp_google_review WHERE google_place_id IN () ORDER BY time DESC LIMIT 10 made by do_action('wp_ajax_grw_overview_ajax'), WP_Hook->do_action, WP_Hook->apply_filters, WP_Rplg_Google_Reviews\Includes\Plugin_Overview_Ajax->overview_ajax, WP_Rplg_Google_Reviews\Includes\Core\Core->get_overview
[12-Jan-2023 00:02:12 UTC] PHP Notice:  Function wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.9.0.) in /wp-includes/functions.php on line 5835
[12-Jan-2023 00:02:12 UTC] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ') ORDER BY id DESC LIMIT 10000' at line 1 for query SELECT * FROM wp_grp_google_stats WHERE google_place_id IN () ORDER BY id DESC LIMIT 10000 made by do_action('wp_ajax_grw_overview_ajax'), WP_Hook->do_action, WP_Hook->apply_filters, WP_Rplg_Google_Reviews\Includes\Plugin_Overview_Ajax->overview_ajax, WP_Rplg_Google_Reviews\Includes\Core\Core->get_overview
See also: All tests for this plugin, How to Hide Plugin for Google Reviews Admin Menus