Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #276718
    tomdkat
    Participant

    Hi! I’m running Photofocus Pro 5.0.2 on WordPress 5.6.2 and PHP 8. When I upgraded *to* Photofocus Pro 5.0.2 (and Photofocus 1.1.9), I received an email notification about an error that was generated by the theme. Here is the message I received:

    When seeking help with this issue, you may be asked for some of the following information:
    WordPress version 5.6.2
    Current theme: PhotoFocus Pro (version 5.0.2)
    Current plugin:  (version )
    PHP version 8.0.2
    
    Error Details
    =============
    An error of type E_ERROR was caused in line 133 of the file /path/to/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/public_html/wp-content/themes/photofocus-pro/inc/updater/theme-updater-class.php:133
    Stack trace:
    #0 /path/to/public_html/wp-includes/class-wp-hook.php(289): EDD_Theme_Updater->theme_update_transient(false)
    #1 /path/to/public_html/wp-includes/plugin.php(212): WP_Hook->apply_filters(false, Array)
    #2 /path/to/public_html/wp-includes/option.php(1899): apply_filters('site_transient_...', false, 'update_themes')
    #3 /path/to/public_html/wp-content/plugins/wordfence/lib/wfUpdateCheck.php(275): get_site_transient('update_themes')
    #4 /path/to/public_html/wp-content/plugins/wordfence/lib/wfUpdateCheck.php(468): wfUpdateCheck->checkThemeUpdates()
    #5 /path/to/public_html/wp-content/plugins/wordfence/lib/wfUpdateCheck.php(315): wfUpdateCheck->checkThemeVulnerabilities()
    #6 /path/to/public_html/wp-content/plugins/wordfence/lib/wordfenceClass.php(1079): wfUpdateCheck->checkAllVulnerabilities()
    #7 /path/to/public_html/wp-includes/class-wp-hook.php(289): wordfence::_refreshVulnerabilityCache(Object(Theme_Upgrader))
    #8 /path/to/public_html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
    #9 /path/to/public_html/wp-includes/plugin.php(484): WP_Hook->do_action(Array)
    #10 /path/to/public_html/wp-admin/includes/class-theme-upgrader.php(481): do_action('upgrader_proces...', Object(Theme_Upgrader), Array)
    #11 /path/to/public_html/wp-admin/update.php(245): Theme_Upgrader->bulk_upgrade(Array)
    #12 {main}
      thrown

    The theme upgrade appears to have worked ok as the site seems to function fine. Thanks for looking into this!

    #276719
    tomdkat
    Participant

    Of course, I redacted the paths shown above. 🙂

    #276737
    tikaram
    Participant

    @tomdkat: I will check for the update and check for issues as well and let you know. Glad to know that the upgrade worked and the site is working fine. let me know if you have any other issues.

    Regards,
    Tikaram

    #280178
    tomdkat
    Participant

    Hi! I upgraded to PhotoFocus Pro 5.1.1 today and got another upgrade error:

    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

    Again, the upgrade appeared to work, despite this error being generated.

    Peace…

    #280265
    tomdkat
    Participant

    Sorry for posting twice. I didn’t think the new thread I tried to start got created, so I updated this thread. 🙂

    #280753
    tikaram
    Participant

    @tomdkat: Sorry for getting late on the issue. I will inform the development team and let you know soon. Sorry for the inconvenience caused.

    Regards,
    Tikaram

    #280770
    tomdkat
    Participant

    @tikaram No worries. I actually got the exact same error when upgrading from Photofocus Pro 5.1.1 to 5.1.2. Fortunately, the error doesn’t seem to affect/impact the upgrade at all. However, WordPress does send out the notification message about the uncaught exception. The developers should be able to identify the issue and take the appropriate action. 🙂

    Thanks!

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