• Resolved Frank White

    (@frankwikie)


    Is there a way to fix this plugin? I use it on another website (I love it) but on my next site it shows this error:

    Warning: Undefined array key "terms" in?/wp-content/plugins/site-reviews/plugin/Defaults/ReviewsDefaults.php?on line?152
    
    Fatal error: Uncaught TypeError: GeminiLabs\SiteReviews\Defaults\ReviewsDefaults::finalizeTerms(): Argument #1 ($value) must be of type string, null given, called in /public_html/wp-content/plugins/site-reviews/plugin/Defaults/ReviewsDefaults.php on line 152 and defined in /public_html/wp-content/plugins/site-reviews/plugin/Defaults/ReviewsDefaults.php:208 Stack trace: #0 /public_html/wp-content/plugins/site-reviews/plugin/Defaults/ReviewsDefaults.php(152): GeminiLabs\SiteReviews\Defaults\ReviewsDefaults->finalizeTerms(NULL) #1 /public_html/wp-content/plugins/site-reviews/plugin/Defaults/DefaultsAbstract.php(121): GeminiLabs\SiteReviews\Defaults\ReviewsDefaults->finalize(Array) #2 /public_html/wp-content/plugins/site-reviews/plugin/Database/Query.php(136): GeminiLabs\SiteReviews\Defaults\DefaultsAbstract->__call('restrict', Array) #3 /public_html/wp-content/plugins/site-reviews/plugin/Database/Query.php(60): GeminiLabs\SiteReviews\Database\Query->setArgs(Array, Array) #4 /public_html/wp-content/plugins/site-reviews/plugin/Database/RatingManager.php(14): GeminiLabs\SiteReviews\Database\Query->ratings(Array) #5 /public_html/wp-content/plugins/site-reviews/plugin/Shortcodes/SiteReviewsSummaryShortcode.php(25): GeminiLabs\SiteReviews\Database\RatingManager->ratings(Array) #6 /public_html/wp-content/plugins/site-reviews/plugin/Shortcodes/Shortcode.php(83): GeminiLabs\SiteReviews\Shortcodes\SiteReviewsSummaryShortcode->buildTemplate(Array) #7 /public_html/wp-content/plugins/site-reviews/plugin/Shortcodes/Shortcode.php(102): GeminiLabs\SiteReviews\Shortcodes\Shortcode->build(Array, 'shortcode') #8 /public_html/wp-includes/shortcodes.php(355): GeminiLabs\SiteReviews\Shortcodes\Shortcode->buildShortcode(Array, '', 'site_reviews_su…') #9 [internal function]: do_shortcode_tag(Array) #10 /public_html/wp-includes/shortcodes.php(227): preg_replace_callback('/\[(\[?)(site_r…', 'do_shortcode_ta…', '
    
    aaaa\n[si…') #11 /public_html/wp-includes/class-wp-hook.php(308): do_shortcode('
    
    aaaa\n[si…') #12 /public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters('aaaa\n[si…', Array) #13 /public_html/wp-includes/post-template.php(255): apply_filters('the_content', 'aaaa\r\n\r\n[site_r…') #14 /public_html/wp-content/themes/listingpro/single.php(129): the_content() #15 /public_html/wp-includes/template-loader.php(106): include('/home/wuelygjag…') #16 /public_html/wp-blog-header.php(19): require_once('/home/wuelygjag…') #17 /public_html/index.php(17): require('/home/wuelygjag…') #18 {main} thrown in /public_html/wp-content/plugins/site-reviews/plugin/Defaults/ReviewsDefaults.php on line 208

    I deleted / installed a few times and each time I get this error.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Gemini Labs

    (@geminilabs)

    Are you using the latest version?

    Thread Starter Frank White

    (@frankwikie)

    yes, I downloaded via CMS plugins>add (I searched for it)

    Thread Starter Frank White

    (@frankwikie)

    any help with this?

    Plugin Author Gemini Labs

    (@geminilabs)

    Hi @frankwikie

    I haven’t been able to reproduce this error.

    The only thing I can think of is that maybe the plugin is missing a file or perhaps it wasn’t updated correctly? Try deleting the plugin and then installing a fresh copy. Does that fix the problem?

    If not, are there any reviews on this second website? If not, try creating a review. Does that fix the problem?

    Let me know.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Fatal error – ReviewsDefaults.php’ is closed to new replies.