• Resolved jackmclean

    (@jackmclean)


    I am getting this error. I have tried default theme and turning off all plugins but had no luck. Have you seen it before? Thanks

    Fatal error: Uncaught Error: Call to a member function setText() on null in /wp-content/plugins/site-reviews/plugin/Helpers/Text.php:122 Stack trace: #0 /wp-content/plugins/site-reviews/plugin/Helpers/Text.php(113): GeminiLabs\SiteReviews\Helpers\Text::excerptIntlSplit(‘We were married…’, 55) #1 /wp-content/plugins/site-reviews/plugin/Helpers/Text.php(15): GeminiLabs\SiteReviews\Helpers\Text::words(‘We were married…’, 55) #2 /wp-content/plugins/site-reviews/plugin/Modules/Html/Tags/ReviewContentTag.php(28): GeminiLabs\SiteReviews\Helpers\Text::excerpt(‘We were married…’, 55) #3 /wp-content/plugins/site-reviews/plugin/Modules/Html/Tags/ReviewContentTag.php(17): GeminiLabs\SiteReviews\Modules\Html\Tags\ReviewContentTag->textExcerpt(‘We were married…’) #4 /w in?/wp-content/plugins/site-reviews/plugin/Helpers/Text.php?on line?122

    The page I need help with: [log in to see the link]

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

    (@geminilabs)

    I have not seen this error before, but looking at the Stack Trace you provided I’m able to understand what is happening.

    Site Reviews depends on the PHP intl extension to support characters and words that are not latin based (i.e. Japanese).

    Site Reviews first checks if the PHP intl extension has been loaded in the version of PHP that is running on your website. If it has been loaded, then it uses the built-in PHP intl classes to provide this functionality.

    For some reason, your version of PHP shows that the intl extension has been loaded, but the intl classes are not working as expected.

    The only way to fix this is to add some additional checks in the plugin and not depend solely on whether or not the intl extension is loaded.

    For now, you are going to have to disable excerpts in the Site Reviews settings until an update is available.

    Thread Starter jackmclean

    (@jackmclean)

    I disabled excepts and that’s working perfectly now thanks for the quick support

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Error’ is closed to new replies.