• Resolved ptlj41

    (@ptlj41)


    We never update our site during the holiday season. But we got an auto-update 6 hours ago. Our site immedately went offline. We cannot even login. When I ask for a password reset, or try to login, I get this.

    Warning: Declaration of HB_Upgrader_Skin::feedback($string) should be compatible with WP_Upgrader_Skin::feedback($string, …$args) in /home2/backyard/public_html/backyardfunfactory.com/wp-content/themes/HighendWP/hbframework/admin/utilities/class-install-plugins.php on line 12

    Warning: Cannot modify header information – headers already sent by (output started at /home2/backyard/public_html/backyardfunfactory.com/wp-content/themes/HighendWP/hbframework/admin/utilities/class-install-plugins.php:12) in /home2/backyard/public_html/backyardfunfactory.com/wp-login.php on line 496

    Warning: Cannot modify header information – headers already sent by (output started at /home2/backyard/public_html/backyardfunfactory.com/wp-content/themes/HighendWP/hbframework/admin/utilities/class-install-plugins.php:12) in /home2/backyard/public_html/backyardfunfactory.com/wp-login.php on line 512

    Warning: Cannot modify header information – headers already sent by (output started at /home2/backyard/public_html/backyardfunfactory.com/wp-content/themes/HighendWP/hbframework/admin/utilities/class-install-plugins.php:12) in /home2/backyard/public_html/backyardfunfactory.com/wp-includes/functions.php on line 5946

    Warning: Cannot modify header information – headers already sent by (output started at /home2/backyard/public_html/backyardfunfactory.com/wp-content/themes/HighendWP/hbframework/admin/utilities/class-install-plugins.php:12) in /home2/backyard/public_html/backyardfunfactory.com/wp-admin/includes/misc.php on line 1252

    Warning: Cannot modify header information – headers already sent by (output started at /home2/backyard/public_html/backyardfunfactory.com/wp-content/themes/HighendWP/hbframework/admin/utilities/class-install-plugins.php:12) in /home2/backyard/public_html/backyardfunfactory.com/wp-content/plugins/jetpack/modules/sso.php on line 640

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

Viewing 15 replies - 1 through 15 (of 16 total)
  • Moderator Marius L. J.

    (@clorith)

    Hiya,

    It sounds like your theme isn’t compatible with the new WordPress release. If you are unable to manually update your theme, I would recommend reaching out to your web host, as the auto update feature of WordPress 5.3 is something they likely perform (unless you run a plugin to enable this your self).

    Thread Starter ptlj41

    (@ptlj41)

    Yes, I am seeing it isn’t compatible. We need a workaround to get into Word Press, so we can fix the site. Currently, our issue isn’t how the auto-update happened. Our issue is to get our site back up and running as quickly as possible.

    Moderator Marius L. J.

    (@clorith)

    The manual approach is to disable your theme (by manually renaming the wp-content/themes/HighendWP folder temporarily).

    You may also have to manually update your theme this way, by copying and replacing new files in via FTP or similar, as auto-updates built into the theme may not work based off the error message.

    You may also wish to reach out to the theme authors for support on this, available at https://hb-themes.com/forum/, as it’s a premium theme that we don’t have access to which makes supporting it hard for us here on the volunteer forums.

    Thread Starter ptlj41

    (@ptlj41)

    OK, I fixed it!!! If you have the problem with the HighendWP

    1. Go into your file manager.

    2. edit this file
    /wp-content/themes/HighendWP/hbframework/admin/utilities/class-install-plugins.php

    3. Change (this is around line 12) –
    class HB_Upgrader_Skin extends WP_Upgrader_Skin {

    public function feedback( $string ) {
    return;
    }

    to

    class HB_Upgrader_Skin extends WP_Upgrader_Skin {

    public function feedback($string, …$args) {
    return;
    }

    Thank you! I was experiencing the same issue and your advice resolved the issue.

    I am not a coder but have the same issue. Not sure what part of this code to cut and paste. Just this at line 12? It doesn’t work. Have tried it now I don’t know how to get back what in the file originally

    class HB_Upgrader_Skin extends WP_Upgrader_Skin {

    public function feedback( $string ) {
    return;
    }

    to

    class HB_Upgrader_Skin extends WP_Upgrader_Skin {

    public function feedback($string, …$args) {
    return;
    }

    • This reply was modified 5 years, 3 months ago by mbenatar.
    • This reply was modified 5 years, 3 months ago by mbenatar.

    Now nothing works, back end or front end. I am really screwed now and I don’t know what to do to get my client’s website back up!

    Supportt a hostgator is useless. I have no access after I screwed up the file by pasting the code and don’t know what to do.

    @mbenatar my issue specifically was around line 12. I’m not a coder either. The issue for me was an extra space between parenthesis and the “$string” and it was also missing the “…$args)” function… An extra space or letter ruins the entire script. If you have a screenshot or copy of your original code, I would try to revert it back. I would then try to review it for any spaces and then try to add any missing code from the example above manually…Sorry your experiencing issues. Good luck.

    I really screwed up. I can’t revert back to the original code and have no screenshot the of the original

    So I guess that my clients website is gone and can’t be recovered. Any input? I should have never pasted that code.

    Does any one have this original file for Highend Theme? class-install-plugins.php

    @jeramson do you have this original file for Highend Theme? class-install-plugins.php

    Maybe paste the code. Otherwise I am totally lost here.

    @mbenatar I don’t currently have access to the original file at this moment, but I can share the code I currently have for lines 1 – 24, which allows my theme to work. If you purchased the theme, you may be able to work with the vendor to get the original code.

    Note: “class HB_Upgrader_Skin extends WP_Upgrader_Skin” is the start of Line 12.

    Below is lines 1 – 24:

    <?php
    if ( ! defined( ‘ABSPATH’ ) ) { die( ‘Direct access forbidden.’ ); }

    if ( ! class_exists( ‘WP_Upgrader’ ) ) {
    require_once ABSPATH . ‘wp-admin/includes/class-wp-upgrader.php’;
    }

    if ( ! function_exists( ‘request_filesystem_credentials’ ) ) {
    require_once ABSPATH . ‘/wp-admin/includes/file.php’ ;
    }

    class HB_Upgrader_Skin extends WP_Upgrader_Skin {

    public function feedback($string, …$args) {
    return;
    }
    }

    /**
    * HB Install Plugins utilities.
    * Class that contains methods for installing & activating plugins
    *
    * @since 3.4.1
    */

    _______________________________________________________________________________________

    @mbenatar If you have an email, I’ll see if I can forward you what I was sent yesterday from the vendor. It’s suppose to be the theme. I never tried extracting it via the email method, but it might work. I don’t work for WordPress nor am I a web designer, so don’t rely on my suggestions, but happy to try to help.

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘Site Crashed after auto update of WordPress 5.3’ is closed to new replies.