Before you ask please READ THIS

Rife Pro Causing Critical Error on Website

csicsi
in Rife Posts: 11
Hello,

We keep experiencing a critical error on our WordPress sites with Rife Pro with the below error message. We have tried rolling back to an older version of the site that was backed up and turning off all auto-update features; however, this issue still keeps happening. I have backed up and rolled back our site probably 5 or 6 times now with no improvement. Any he;p would be greatly appreciated. I can also give you admin access to the site if the admin portal is working.

WordPress version 6.1.1
Active theme: Rife Pro (version 2.4.14.1)
Current plugin: (version )
PHP version 8.0.26

Error Details
=============
An error of type E_ERROR was caused in line 187 of the file /var/www/wp-content/themes/rife/advance/inc/theme-update-checker.php. Error message: Uncaught Error: Attempt to modify property "response" on bool in /var/www/wp-content/themes/rife/advance/inc/theme-update-checker.php:187
Stack trace:
#0 /var/www/wp-includes/class-wp-hook.php(310): ThemeUpdateChecker->injectUpdate(false)
#1 /var/www/wp-includes/plugin.php(205): WP_Hook->apply_filters(false, Array)
#2 /var/www/wp-includes/option.php(1986): apply_filters('site_transient_...', false, 'update_themes')
#3 /var/www/wp-includes/update.php(1033): get_site_transient('update_themes')
#4 /var/www/wp-includes/class-wp-hook.php(308): _maybe_update_themes('')
#5 /var/www/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)
#6 /var/www/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#7 /var/www/wp-admin/admin-post.php(30): do_action('admin_init')
#8 {main}
thrown

Comments

  • AirAir
    Posts: 10,889
    Hey :-)

    It is unusual for this to happen.
    Looks like some things for updates are blocked or modified that it later creates this error when Rife tries to check for updates.

    Anyway, try adding this protection in the code and I will add it to the next updates as well:
    file rife/advance/inc/theme-update-checker.php:187
    change this
    if ( isset($state->update) && !empty($state->update) ){
    to this
    if ( isset($state->update) && !empty($state->update) && !empty($updates->response) ){

    With kind regards.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion