Plugin for Google Reviews 2.2.7

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 plugin could not be activated
2PHP notices
2Database 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=e9897cd3bd
Aspect after-activation
HTTP status 200
Load time 0.586 s
Memory usage N/A
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.7: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.2%3,1786635
CSS37.9%2,9974810
JavaScript14.4%1,1377887
PO File7.4%587023
SVG0.1%402
Total 7,903 902 77

PHP Code Analysis | More results »

Lines of code 3,044
Total complexity 588
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 4 lines

[21-Feb-2023 00:06:36 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
[21-Feb-2023 00:06:36 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
[21-Feb-2023 00:06:36 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
[21-Feb-2023 00:06:36 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