Fatal error After Plugin Update

Last night, I this plugin got upgraded to version: 7.0.2

Then the functionality broke down in frontend. Screenshot: https://imgur.com/jBQmbAG

Then I tried rollback to version: 7.0.0 – It did not fix the issue.

Then I roll backed to version: 6.11.8 – Now issue is fixed.

WordPress version: 6.5.2

PHP version: 8.2.13

Full error:

Fatal error: Uncaught Error: GeminiLabs\SiteReviews\Modules\Avatars\PixelAvatar::setPixelColour(): Argument #2 ($current) must be of type string, null given, called in /var/www/html/wp-content/plugins/site-reviews/plugin/Modules/Avatars/PixelAvatar.php on line 325
in /var/www/html/wp-content/plugins/site-reviews/plugin/Modules/Avatars/PixelAvatar.php on line 443

Call stack:

GeminiLabs\S\M\A\PixelAvatar::setPixelColour()
wp-content/plugins/site-reviews/plugin/Modules/Avatars/PixelAvatar.php:325
GeminiLabs\S\M\A\PixelAvatar::addBody()
wp-content/plugins/site-reviews/plugin/Modules/Avatars/PixelAvatar.php:311
GeminiLabs\S\M\A\PixelAvatar::generate()
wp-content/plugins/site-reviews/plugin/Modules/Avatars/AbstractSvgAvatar.php:9
GeminiLabs\S\M\A\AbstractSvgAvatar::create()
wp-content/plugins/site-reviews/plugin/Modules/Avatar.php:87
GeminiLabs\S\M\Avatar::generatePixels()
call_user_func()
wp-content/plugins/site-reviews/plugin/Modules/Avatar.php:41
GeminiLabs\S\M\Avatar::fallbackUrl()
wp-content/plugins/site-reviews/plugin/Modules/Avatar.php:59
GeminiLabs\S\M\Avatar::generate()
wp-content/plugins/site-reviews/plugin/Modules/Avatar.php:112
GeminiLabs\S\M\Avatar::url()
wp-content/plugins/site-reviews/plugin/Review.php:76
GeminiLabs\SiteReviews\Review::__construct()
wp-content/plugins/site-reviews/plugin/Database/Query.php:101
GeminiLabs\S\D\Query::reviews()
wp-content/plugins/site-reviews/plugin/Database/ReviewManager.php:155
GeminiLabs\S\D\ReviewManager::reviews()
wp-content/plugins/site-reviews/plugin/Shortcodes/SiteReviewsShortcode.php:15
GeminiLabs\S\S\SiteReviewsShortcode::buildReviewsHtml()
wp-content/plugins/site-reviews/plugin/Shortcodes/SiteReviewsShortcode.php:26
GeminiLabs\S\S\SiteReviewsShortcode::buildTemplate()
wp-content/plugins/site-reviews/plugin/Shortcodes/Shortcode.php:48
GeminiLabs\S\S\Shortcode::build()
wp-content/plugins/site-reviews/plugin/Shortcodes/Shortcode.php:67
GeminiLabs\S\S\Shortcode::buildShortcode()
wp-includes/shortcodes.php:433
do_shortcode_tag()
preg_replace_callback()
wp-includes/shortcodes.php:273
do_shortcode()
wp-content/themes/generatepress_child/comments.php:44
require()
wp-includes/comment-template.php:1617
comments_template()
wp-content/themes/generatepress_child/single-bemway_app.php:671
include()
wp-includes/template-loader.php:106
require_once()
wp-blog-header.php:19
require()
index.php:17

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer