Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • @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.

    @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 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.

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

Viewing 4 replies - 1 through 4 (of 4 total)