Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #280176
    tomdkat
    Participant

    Hi! I upgraded to Photofocus Pro 5.1.1 today and WordPress sent me this error information:

    When seeking help with this issue, you may be asked for some of the following information:
    WordPress version 5.7.1
    Current theme: PhotoFocus Pro (version 5.1.1)
    Current plugin:  (version )
    PHP version 8.0.3
    
    Error Details
    =============
    An error of type E_ERROR was caused in line 133 of the file /path/to/site/public_html/wp-content/themes/photofocus-pro/inc/updater/theme-updater-class.php. Error message: Uncaught Error: Attempt to modify property "response" on bool in /path/to/site/public_html/wp-content/themes/photofocus-pro/inc/updater/theme-updater-class.php:133
    Stack trace:
    #0 /path/to/site/public_html/wp-includes/class-wp-hook.php(294): EDD_Theme_Updater->theme_update_transient(false)
    #1 /path/to/site/public_html/wp-includes/plugin.php(212): WP_Hook->apply_filters(false, Array)
    #2 /path/to/site/public_html/wp-includes/option.php(1899): apply_filters('site_transient_...', false, 'update_themes')
    #3 /path/to/site/public_html/wp-content/plugins/wordfence/lib/wfUpdateCheck.php(275): get_site_transient('update_themes')
    #4 /path/to/site/public_html/wp-content/plugins/wordfence/lib/wfUpdateCheck.php(468): wfUpdateCheck->checkThemeUpdates()
    #5 /path/to/site/public_html/wp-content/plugins/wordfence/lib/wfUpdateCheck.php(315): wfUpdateCheck->checkThemeVulnerabilities()
    #6 /path/to/site/public_html/wp-content/plugins/wordfence/lib/wordfenceClass.php(1071): wfUpdateCheck->checkAllVulnerabilities()
    #7 /path/to/site/public_html/wp-includes/class-wp-hook.php(294): wordfence::_refreshVulnerabilityCache(Object(Theme_Upgrader))
    #8 /path/to/site/public_html/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters(NULL, Array)
    #9 /path/to/site/public_html/wp-includes/plugin.php(484): WP_Hook->do_action(Array)
    #10 /path/to/site/public_html/wp-admin/includes/class-theme-upgrader.php(472): do_action('upgrader_proces...', Object(Theme_Upgrader), Array)
    #11 /path/to/site/public_html/wp-admin/update.php(245): Theme_Upgrader->bulk_upgrade(Array)
    #12 {main}
      thrown

    Outside of this error, the upgrade appeared to work. This happened today (Monday, April 19, 2021).

    #280210
    Skandha
    Participant

    @tomdkat: Hello there,
    Can you try deactivating all your plugins and then check if the issue is resolved?

    Let me know if the issue persists!
    Kind Regards,
    Skandha

    #280264
    tomdkat
    Participant

    @skandha Hi! Thanks for the reply. I’m not sure I follow. The upgrade has already been performed. Are you suggesting I somehow revert back to the previous theme version and attempt the upgrade again?

    As long as the current theme version works, I’m happy. I just wanted to report the error that was generated. 🙂

    Thanks!

    #280297
    Skandha
    Participant

    @tomdkat: Hello there,
    No, I am not suggesting you to revert back to the previous version.
    Just wanted to check if any plugins you are using is causing the error to show up so asked you to deactivate all the plugins.

    Kind Regards,
    Skandha

    #280334
    tomdkat
    Participant

    @skandha Well, I really don’t know if any plugins I have installed were involved, other than Wordfence (based on the stack trace above).

    I can certainly disable all plugins but since I won’t be updating the theme, I don’t see how that would make any difference. In any event, given the stack trace above, the theme developers should be able to look at the code, see if the message above is applicable, and make whatever changes are deemed appropriate.

    I think the important information here is we’re running in a PHP 8 environment. I don’t know if that would have any impact on how the theme update needs to be performed.

    So far, the site appears to be working well, with the upgraded theme in place.

    Thanks!

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘WordPress error generated after theme upgrade’ is closed to new replies.