Plugin for Google Reviews 2.2.4

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

Summary

Errors
The plugin could not be activated
4PHP notices
2Database errors
1JavaScript exceptions
No resource errors
Performance

No data available.

Environment
WordPress version6.1.1
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
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=3a9ce15154
Aspect after-activation
HTTP status 200
Load time 0.752 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.4: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
PHP36.5%3,0785334
CSS34.2%2,8874510
JavaScript22.2%1,875437
PO File7.0%587023
SVG0.0%402
Total 8,431 141 76

PHP Code Analysis | More results »

Lines of code 2,942
Total complexity 563
Median class complexity 11.0
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 29
Methods 155
Functions 4

Additions

No data available.

PHP Error Log 6 lines

[17-Nov-2022 10:33:04 UTC] PHP Notice:  Undefined index: place_id in /wp-content/plugins/widget-google-reviews/includes/class-plugin-overview-ajax.php on line 16
[17-Nov-2022 10:33:04 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
[17-Nov-2022 10:33:04 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
[17-Nov-2022 10:33:04 UTC] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL 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
[17-Nov-2022 10:33:04 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
[17-Nov-2022 10:33:04 UTC] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL 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