Title: Warning: Undefined array key &#8220;ssba_bar_buttons&#8221;
Last modified: February 22, 2023

---

# Warning: Undefined array key “ssba_bar_buttons”

 *  Resolved [adovin](https://wordpress.org/support/users/adovin/)
 * (@adovin)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/warning-undefined-array-key-ssba_bar_buttons/)
 * Hi
 * I have installed the Plugin “Simle Share Buttons Adder”. (already reinstalled)

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

 *  Plugin Contributor [ShareThis](https://wordpress.org/support/users/sharethis/)
 * (@sharethis)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/warning-undefined-array-key-ssba_bar_buttons/#post-16499934)
 * Hi [@adovin](https://wordpress.org/support/users/adovin/),
 * Apologies for the wait.
 * It must have been an error during the installation, although you mentioned you
   reinstalled it already, so I’m curious to know if it disappeared.
 * Also, are you able to enter the plugin’s dashboard and configure some settings?
 * Regards,
 * – The ShareThis Technical Support team.
 *  [drikusroor](https://wordpress.org/support/users/drikusroor/)
 * (@drikusroor)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/warning-undefined-array-key-ssba_bar_buttons/#post-16547729)
 * Hi [@sharethis](https://wordpress.org/support/users/sharethis/), I’m experiencing
   the same problem. I have also re-installed the plugin several times. The buttons
   do appear still, but I’m getting the same warning 4 times (perhaps related to
   the four buttons that are selected?).
 * PHP Version: 8.0.0
 * WordPress version: 6.1.1
 * Code: `<?php echo do_shortcode('[ssba]'); ?>` (is this still how it’s supposed
   to be used?)
 * More details here (couldn’t post a screenshot unfortunately):
 *     ```wp-block-code
       ( ! ) Warning: Undefined array key "ssba_bar_buttons" in /Users/myuser/Local Sites/mysite/app/public/wp-content/plugins/simple-share-buttons-adder/php/class-buttons.php on line 598
       Call Stack
       #	Time	Memory	Function	Location
       1	16768283859.9395	371320	{main}( )	.../index.php:0
       2	16768283859.9395	371632	require( '/Users/myuser/Local Sites/mysite/app/public/wp-blog-header.php )	.../index.php:17
       3	16768283859.9395	26982552	require_once( '/Users/myuser/Local Sites/mysite/app/public/wp-includes/template-loader.php )	.../wp-blog-header.php:19
       4	16768283859.9395	27038648	include( '/Users/myuser/repos/mysite.nl/src/wp-content/themes/mytheme/templates/default-template.php )	.../template-loader.php:106
       5	16768283859.9395	29436544	template_get_view( )	.../default-template.php:25
       6	16768283859.9395	29443016	include( '/Users/myuser/repos/mysite.nl/src/wp-content/themes/mytheme/templates/single-event.php )	.../general.php:47
       7	16768283859.9395	29834096	do_shortcode( )	.../single-event.php:70
       8	16768283859.9395	29836976	preg_replace_callback ( )	.../shortcodes.php:227
       9	16768283859.9395	29837416	do_shortcode_tag( )	.../shortcodes.php:227
       10	16768283859.9395	29837416	SimpleShareButtonsAdder\Buttons->ssba_orig_buttons( )	.../shortcodes.php:355
       11	16768283859.9395	29837416	SimpleShareButtonsAdder\Buttons->show_share_buttons( )	.../class-buttons.php:392
       12	16768283859.9395	29856240	SimpleShareButtonsAdder\Buttons->get_share_buttons( )	.../class-buttons.php:266
       13	16768283859.9395	29887800	SimpleShareButtonsAdder\Buttons->get_button( )	.../class-buttons.php:496
       ```
   
    -  This reply was modified 3 years, 3 months ago by [drikusroor](https://wordpress.org/support/users/drikusroor/).
    -  This reply was modified 3 years, 3 months ago by [drikusroor](https://wordpress.org/support/users/drikusroor/).
 *  Plugin Contributor [ShareThis](https://wordpress.org/support/users/sharethis/)
 * (@sharethis)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/warning-undefined-array-key-ssba_bar_buttons/#post-16570713)
 * Hello [@drikusroor](https://wordpress.org/support/users/drikusroor/),
 * I’m really sorry for the delay here, apologies.
 * Yes, that’s how the shortcode for the Simple Share Buttons Adder is added via
   PHP. Thank you for the detailed information!
 *  I tried to replicate this on my end, however, no errors or warnings showed up
   for me.
 * Can you try adding the buttons via the plugin settings instead? That is** turning
   on the switch** for the Modern Share Buttons, customizing the tools, and finally
   saving the settings using the** blue Save button** at the top right.
 * Best regards,
 * – The ShareThis Technical Support team.
    -  This reply was modified 3 years, 2 months ago by [ShareThis](https://wordpress.org/support/users/sharethis/).
    -  This reply was modified 3 years, 2 months ago by [ShareThis](https://wordpress.org/support/users/sharethis/).

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

The topic ‘Warning: Undefined array key “ssba_bar_buttons”’ is closed to new replies.

 * ![](https://ps.w.org/simple-share-buttons-adder/assets/icon-256x256.png?rev=2661516)
 * [Simple Share Buttons Adder](https://wordpress.org/plugins/simple-share-buttons-adder/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-share-buttons-adder/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-share-buttons-adder/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-share-buttons-adder/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-share-buttons-adder/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-share-buttons-adder/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [ShareThis](https://wordpress.org/support/users/sharethis/)
 * Last activity: [3 years, 2 months ago](https://wordpress.org/support/topic/warning-undefined-array-key-ssba_bar_buttons/#post-16570713)
 * Status: resolved