Before you ask please READ THIS

Rife Pro Causing Critical Error on Website

csicsi
in Rife Posts: 15
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,970
    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.
  • csicsi
    Posts: 15
    Hello, checking in to see if this update has been released yet? Thanks!
  • AirAir
    Posts: 10,970
    It seems that this change was released in the March update.

    With kind regards.
  • csicsi
    Posts: 15
    Perfect! Do you have a specific place I can go to download the ZIP of the most recent Rife Pro theme so I can manually update my site theme? I have tried doing it via wordpress theme updates and it give me a "forbidden" error. I was going to try manually doing the update but I cannot find the newest download version. I checked Themeforest and I don't see it there. Thanks.
  • AirAir
    Posts: 10,970
    Hey :-)

    Your personal download link you should have with your license e-mail https://rifetheme.com/help/docs/getting-started/where-i-can-find-license-code/

    In any case, I am attaching your link in a private message :-)

    With kind regards.
  • csicsi
    Posts: 15
    Hello. This same issue is happening again with our Rife Pro theme.

    WordPress version 6.9.5
    Active theme: Rife Pro (version 2.4.14.1)
    Current plugin: (version )
    PHP version 8.2

    Error:
    PHP Fatal error: Uncaught Error: Attempt to modify property "response" on bool in /dom1020437/wp-content/themes/rife/advance/inc/theme-update-checker.php:187 Stack trace: #0 /dom1020437/wp-includes/class-wp-hook.php(343): ThemeUpdateChecker->injectUpdate(false) #1 /dom1020437/wp-includes/plugin.php(205): WP_Hook->apply_filters(false, Array) #2 /dom1020437/wp-includes/option.php(2622): apply_filters('site_transient_...', false, 'update_themes') #3 /dom1020437/wp-includes/update.php(956): get_site_transient('update_themes') #4 /dom1020437/wp-admin/menu.php(38): wp_get_update_data() #5 /dom1020437/wp-admin/admin.php(163): require('/dom1020437/wp-...') #6

    {main}
    thrown in /dom1020437/wp-content/themes/rife/advance/inc/theme-update-checker.php on line 187

    Our theme was switched to default one (theme twenty-twenty-one) in order to get WP admin back accessible.
  • Posts: 132
    Tell me why don't you want to update Rife theme to the latest version?
    Support, The
  • csicsi
    Posts: 15
    We are open to updating the theme. I changed the WP easy updates manager to allow for updates for the Rife Pro Theme. Will that fix the issue? Rife Pro is still inactive at this point.
  • Posts: 132
    3.0.1 - is the latest version. it has this error fixed.
    but for now the previous fix should do the job

    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) ){
    Support, The
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!