Warning Message

  • Unknown's avatar

    I am receiving this message when I try to log into my site: Warning: Undefined variable $bh_data in /home4/ivinggl2/public_html/backtonaturediabetic/wp-content/plugins/bluehost-wordpress-plugin/vendor/bluehost/bluehost-wp-customer-data/includes/Customer.php on line 42

    This is what’s on line 42:
    if ( $bh_data &&
    is_array( $bh_cdata ) &&
    ! array_key_exists( ‘signup_date’, $bh_cdata ) ||
    ! array_key_exists( ‘plan_subtype’, $bh_cdata ) ) {
    $bh_cdata = false;
    Transient::delete( self::TRANSIENT );
    }

    if ( ! $bh_cdata ) {
    $guapi = self::get_account_info();
    $mole = self::get_onboarding_info();
    if ( empty( $guapi ) ) {
    return false;
    }
    $bh_cdata = array_merge( $guapi, array( ‘meta’ => $mole ) );
    Transient::set( self::TRANSIENT, $bh_cdata, WEEK_IN_SECONDS );
    }

    return $bh_cdata;
    }

    WP.com: Unknown
    Jetpack: Yes
    Correct account: Unknown

  • This looks like an issue a Bluehost plugin, so you need to contact them to resolve this.

    If the issue is related to your WordPress installation, you can find more help in these forums:

    https://wordpress.org/support/forums/

    The forum you have posted is for the WordPress.com hosting platform, which is different than the WordPress software that your site is using. You can learn more about these differences here:

    WordPress.com vs. WordPress.org

  • The topic ‘Warning Message’ is closed to new replies.