• Resolved Chuckie

    (@ajtruckle)


    The site appears to be behaving fine. But when I upgraded I receives errors:

    When seeking help with this issue, you may be asked for some of the following information:
    WordPress version 6.6.2
    Active theme: Unos Business Premium (version 1.0.15)
    Current plugin: Site Reviews (version 7.1.1)
    PHP version 8.1.29



    Error Details
    =============
    An error of type E_ERROR was caused in line 72 of the file /home/storage/735/4165735/user/htdocs/wp-content/plugins/site-reviews/plugin/Defaults/Updater/VersionUpdateDefaults.php. Error message: Uncaught Error: Call to undefined method GeminiLabs\SiteReviews\Helper::version() in /home/storage/735/4165735/user/htdocs/wp-content/plugins/site-reviews/plugin/Defaults/Updater/VersionUpdateDefaults.php:72
    Stack trace:
    #0 /home/storage/735/4165735/user/htdocs/wp-content/plugins/site-reviews/plugin/Defaults/DefaultsAbstract.php(148): GeminiLabs\SiteReviews\Defaults\Updater\VersionUpdateDefaults->finalize(Array)
    #1 /home/storage/735/4165735/user/htdocs/wp-content/plugins/site-reviews/plugin/Defaults/DefaultsAbstract.php(113): GeminiLabs\SiteReviews\Defaults\DefaultsAbstract->callMethod(Array)
    #2 /home/storage/735/4165735/user/htdocs/wp-content/plugins/site-reviews/plugin/Addons/Updater.php(81): GeminiLabs\SiteReviews\Defaults\DefaultsAbstract->__call('restrict', Array)
    #3 /home/storage/735/4165735/user/htdocs/wp-content/plugins/site-reviews/plugin/Controllers/UpdateController.php(61): GeminiLabs\SiteReviews\Addons\Updater->versionUpdate()
    #4 [internal function]: GeminiLabs\SiteReviews\Controllers\UpdateController->filterUpdatePlugins(false, Array)
    #5 /home/storage/735/4165735/user/htdocs/wp-content/plugins/site-reviews/plugin/HookProxy.php(24): call_user_func_array(Array, Array)
    #6 /home/storage/735/4165735/user/htdocs/wp-includes/class-wp-hook.php(326): GeminiLabs\SiteReviews\Controllers\AbstractController::GeminiLabs\SiteReviews\{closure}(false, Array)
    #7 /home/storage/735/4165735/user/htdocs/wp-includes/plugin.php(205): WP_Hook->apply_filters(false, Array)
    #8 /home/storage/735/4165735/user/htdocs/wp-includes/update.php(515): apply_filters('update_plugins_...', false, Array, 'site-reviews-fi...', Array)
    #9 /home/storage/735/4165735/user/htdocs/wp-includes/update.php(1025): wp_update_plugins()
    #10 /home/storage/735/4165735/user/htdocs/wp-includes/class-wp-hook.php(324): _maybe_update_plugins('')
    #11 /home/storage/735/4165735/user/htdocs/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
    #12 /home/storage/735/4165735/user/htdocs/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #13 /home/storage/735/4165735/user/htdocs/wp-admin/admin.php(175): do_action('admin_init')
    #14 /home/storage/735/4165735/user/htdocs/wp-admin/plugin-install.php(16): require_once('/home/storage/7...')
    #15 {main}
    thrown

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

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

    (@geminilabs)

    Error message: Uncaught Error: Call to undefined method GeminiLabs\SiteReviews\Helper::version()

    I‘m not sure why you got that error. It could have something to do with the way the plugin was updated and maybe some parts of the old version was still in play during the update process.

    As you can see, the Helper::version() method does exist, but it was introduced in v7.1.0:

    https://github.com/pryley/site-reviews/blob/main/plugin/Helper.php#L341-L360

    Thread Starter Chuckie

    (@ajtruckle)

    I think I updated Site Reviews first. Then Site Reviews – Filters. I can’t remember at which point it was raised. But if all is good, then no worries.

    Thread Starter Chuckie

    (@ajtruckle)

    Maybe, after Site Reviews was updated, the cache did not update. So when the extra was updated, it didn’t pick up the latest version of the code. BUt all seems fine now.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.