Forum Forum WordPress Theme Samex – Clean, Minimal Shop WooCommerce WordPress Theme Undefined array key “ssba_bar_buttons”

  • Author
    Posts
  • #40442

    deejayp
    Participant

    HI
    I installed the theme, and I’m having various problems. more than anything it has a php error level.

    The first:

    – the one in question gives it to me when I see the detail of a product

    PHP Warning: Undefined array key “ssba_bar_buttons” in /home/domain/public_html/wp-content/plugins/simple-share-buttons-adder/php/class-buttons.php on line 598

    this is the indicated line

    $network_color = ‘Y’ === $arr_settings[‘ssba_new_buttons’] || ‘Y’ === $arr_settings[‘ssba_bar_buttons’] ? self::get_button_color( $button_name ) : ”;

    – the second problem is that I don’t understand how to connect an instagram page (using SNS INSTAGRAM FEED).. obviously creating a problem in the display on the site

    PHP Warning: foreach() argument must be of type array|object, null given in /home/gioiaone/public_html/wp-content/plugins/samex-shortcodes/shortcodes/templates/sns_instagram.php on line 29

    this is the indicated line

    >>>>>>>> foreach ( $m_items as $m_item ) {
    if ( $i >= $limit ) break;
    if ( $type == ‘tag’ && $tag != ” ) { // get follow tag
    if ( isset( $m_item->caption ) ) {
    $pos = strpos($m_item->caption, ‘#’ . $tag);
    if ( $pos === false ) {
    continue;
    }
    }else{
    continue;
    }
    }

    then there would be 2 other things, but I will create another ticket to avoid confusion

    thank you for the attention you will give me

    Attachments:
    1. Immagine2.jpg

You must be logged in to reply to this topic. Click here to login or register