• Resolved adovin

    (@adovin)


    Hi

    I have installed the Plugin “Simle Share Buttons Adder”. (already reinstalled)

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor ShareThis

    (@sharethis)

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

    (@drikusroor)

    Hi @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):

    ( ! ) 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 2 years ago by drikusroor.
    • This reply was modified 2 years ago by drikusroor.
    Plugin Contributor ShareThis

    (@sharethis)

    Hello @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 2 years ago by ShareThis.
    • This reply was modified 2 years ago by ShareThis.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Warning: Undefined array key “ssba_bar_buttons”’ is closed to new replies.