Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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 1 year, 11 months ago by drikusroor.
    • This reply was modified 1 year, 11 months ago by drikusroor.

    Kimberly, that fix seemed to work for me so far. Thank you!

    • This reply was modified 8 years, 1 month ago by drikusroor.
Viewing 2 replies - 1 through 2 (of 2 total)