Support » Plugin: WP Product Review Lite » Call to undefined function get_user_locale()

  • Resolved Andrews32

    (@andrews32)


    Just after installing, the admin dashboard does not work (any admin page). The only phrase displays:

    Fatal error: Call to undefined function ThemeisleSDK\Modules\get_user_locale() in /wp-content/plugins/wp-product-review/vendor/codeinwp/themeisle-sdk/src/Modules/Translate.php on line 786

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter Andrews32

    (@andrews32)

    WP version is latest, but it (version) is changed manually to “99.9” to protect website from hackers.

    Thread Starter Andrews32

    (@andrews32)

    changed “return get_user_locale();” to “return true;” and the plugin (and site dashboard) started to work again.

    Thread Starter Andrews32

    (@andrews32)

    Also, the review form (“write a review”) does not appear on the pages after adding the [P_REVIEW] shortcode. Deactivated & uninstalled.

    Plugin Contributor contactashish13

    (@rozroz)

    @andrews32 sorry to hear you are facing a problem with this. Can you let us know how did you change the WP version? did you use a plugin? if so, which one?

    Please also mention your PHP and real WP version.

    the P_REVIEW shortcode is only available in the pro version. We have mentioned that in our documentation as well as in the plugin settings.

    Plugin Contributor contactashish13

    (@rozroz)

    closing this for lack of response

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Call to undefined function get_user_locale()’ is closed to new replies.