• Resolved Erica Franz

    (@ericakfranz)


    On my dev site SSBA is generating multiple undefined index errors once activated.

    Running WP 4.3.1, tested with the Twenty-Fifteen theme active and all other plugins disabled.

    Notice: Undefined index: ssba_homepage in /srv/www/writingofriding.com/current/web/app/plugins/simple-share-buttons-adder/inc/ssba_admin_panel.php on line 178
    
    Notice: Undefined index: ssba_pages in /srv/www/writingofriding.com/current/web/app/plugins/simple-share-buttons-adder/inc/ssba_admin_panel.php on line 182
    
    Notice: Undefined index: ssba_posts in /srv/www/writingofriding.com/current/web/app/plugins/simple-share-buttons-adder/inc/ssba_admin_panel.php on line 186
    
    Notice: Undefined index: ssba_cats_archs in /srv/www/writingofriding.com/current/web/app/plugins/simple-share-buttons-adder/inc/ssba_admin_panel.php on line 194
    
    Notice: Undefined index: ssba_before_or_after in /srv/www/writingofriding.com/current/web/app/plugins/simple-share-buttons-adder/inc/ssba_admin_panel.php on line 214
    
    Notice: Undefined index: ssba_share_text in /srv/www/writingofriding.com/current/web/app/plugins/simple-share-buttons-adder/inc/ssba_admin_panel.php on line 231
    
    Notice: Undefined index: ssba_selected_buttons in /srv/www/writingofriding.com/current/web/app/plugins/simple-share-buttons-adder/inc/ssba_admin_panel.php on line 242
    
    Notice: Undefined index: ssba_selected_buttons in /srv/www/writingofriding.com/current/web/app/plugins/simple-share-buttons-adder/inc/ssba_admin_panel.php on line 251
    
    Notice: Undefined index: ssba_selected_buttons in /srv/www/writingofriding.com/current/web/app/plugins/simple-share-buttons-adder/inc/ssba_admin_panel.php on line 256
    
    Notice: Undefined index: ssba_image_set in /srv/www/writingofriding.com/current/web/app/plugins/simple-share-buttons-adder/inc/ssba_admin_panel.php on line 309
    
    Notice: Undefined index: ssba_image_set in /srv/www/writingofriding.com/current/web/app/plugins/simple-share-buttons-adder/inc/ssba_admin_panel.php on line 325
    
    Notice: Undefined index: ssba_custom_buffer in /srv/www/writingofriding.com/current/web/app/plugins/simple-share-buttons-adder/inc/ssba_admin_panel.php on line 336
    
    Notice: Undefined index: ssba_custom_diggit in /srv/www/writingofriding.com/current/web/app/plugins/simple-share-buttons-adder/inc/ssba_admin_panel.php on line 336
    
    Notice: Undefined index: ssba_custom_email in /srv/www/writingofriding.com/current/web/app/plugins/simple-share-buttons-adder/inc/ssba_admin_panel.php on line 336
    
    Notice: Undefined index: ssba_custom_facebook in /srv/www/writingofriding.com/current/web/app/plugins/simple-share-buttons-adder/inc/ssba_admin_panel.php on line 336
    
    Notice: Undefined index: ssba_custom_flattr in /srv/www/writingofriding.com/current/web/app/plugins/simple-share-buttons-adder/inc/ssba_admin_panel.php on line 336
    
    Notice: Undefined index: ssba_custom_google in /srv/www/writingofriding.com/current/web/app/plugins/simple-share-buttons-adder/inc/ssba_admin_panel.php on line 336
    
    Notice: Undefined index: ssba_custom_linkedin in /srv/www/writingofriding.com/current/web/app/plugins/simple-share-buttons-adder/inc/ssba_admin_panel.php on line 336
    
    Notice: Undefined index: ssba_custom_pinterest in /srv/www/writingofriding.com/current/web/app/plugins/simple-share-buttons-adder/inc/ssba_admin_panel.php on line 336
    
    Notice: Undefined index: ssba_custom_reddit in /srv/www/writingofriding.com/current/web/app/plugins/simple-share-buttons-adder/inc/ssba_admin_panel.php on line 336
    
    Notice: Undefined index: ssba_custom_stumbleupon in /srv/www/writingofriding.com/current/web/app/plugins/simple-share-buttons-adder/inc/ssba_admin_panel.php on line 336
    
    Notice: Undefined index: ssba_custom_tumblr in /srv/www/writingofriding.com/current/web/app/plugins/simple-share-buttons-adder/inc/ssba_admin_panel.php on line 336
    
    Notice: Undefined index: ssba_custom_twitter in /srv/www/writingofriding.com/current/web/app/plugins/simple-share-buttons-adder/inc/ssba_admin_panel.php on line 336
    
    Notice: Undefined index: ssba_size in /srv/www/writingofriding.com/current/web/app/plugins/simple-share-buttons-adder/inc/ssba_admin_panel.php on line 353
    
    Notice: Undefined index: ssba_align in /srv/www/writingofriding.com/current/web/app/plugins/simple-share-buttons-adder/inc/ssba_admin_panel.php on line 364
    
    Notice: Undefined index: ssba_padding in /srv/www/writingofriding.com/current/web/app/plugins/simple-share-buttons-adder/inc/ssba_admin_panel.php on line 382
    
    Notice: Undefined index: ssba_font_color in /srv/www/writingofriding.com/current/web/app/plugins/simple-share-buttons-adder/inc/ssba_admin_panel.php on line 402
    
    Notice: Undefined index: ssba_font_family in /srv/www/writingofriding.com/current/web/app/plugins/simple-share-buttons-adder/inc/ssba_admin_panel.php on line 413
    
    Notice: Undefined index: ssba_font_size in /srv/www/writingofriding.com/current/web/app/plugins/simple-share-buttons-adder/inc/ssba_admin_panel.php on line 431
    
    Notice: Undefined index: ssba_font_weight in /srv/www/writingofriding.com/current/web/app/plugins/simple-share-buttons-adder/inc/ssba_admin_panel.php on line 442
    
    Notice: Undefined index: ssba_text_placement in /srv/www/writingofriding.com/current/web/app/plugins/simple-share-buttons-adder/inc/ssba_admin_panel.php on line 458
    
    Notice: Undefined index: ssba_div_padding in /srv/www/writingofriding.com/current/web/app/plugins/simple-share-buttons-adder/inc/ssba_admin_panel.php on line 486
    
    Notice: Undefined index: ssba_div_background in /srv/www/writingofriding.com/current/web/app/plugins/simple-share-buttons-adder/inc/ssba_admin_panel.php on line 497
    
    Notice: Undefined index: ssba_div_border in /srv/www/writingofriding.com/current/web/app/plugins/simple-share-buttons-adder/inc/ssba_admin_panel.php on line 508
    
    Notice: Undefined index: ssba_border_width in /srv/www/writingofriding.com/current/web/app/plugins/simple-share-buttons-adder/inc/ssba_admin_panel.php on line 521
    
    Notice: Undefined index: ssba_div_rounded_corners in /srv/www/writingofriding.com/current/web/app/plugins/simple-share-buttons-adder/inc/ssba_admin_panel.php on line 533
    
    Notice: Undefined index: ssba_show_share_count in /srv/www/writingofriding.com/current/web/app/plugins/simple-share-buttons-adder/inc/ssba_admin_panel.php on line 582
    
    Notice: Undefined index: ssba_share_count_once in /srv/www/writingofriding.com/current/web/app/plugins/simple-share-buttons-adder/inc/ssba_admin_panel.php on line 594
    
    Notice: Undefined index: ssba_share_count_style in /srv/www/writingofriding.com/current/web/app/plugins/simple-share-buttons-adder/inc/ssba_admin_panel.php on line 605
    
    Notice: Undefined index: ssba_link_to_ssb in /srv/www/writingofriding.com/current/web/app/plugins/simple-share-buttons-adder/inc/ssba_admin_panel.php on line 656
    
    Notice: Undefined index: ssba_share_new_window in /srv/www/writingofriding.com/current/web/app/plugins/simple-share-buttons-adder/inc/ssba_admin_panel.php on line 680
    
    Notice: Undefined index: ssba_email_message in /srv/www/writingofriding.com/current/web/app/plugins/simple-share-buttons-adder/inc/ssba_admin_panel.php on line 716
    
    Notice: Undefined index: ssba_twitter_text in /srv/www/writingofriding.com/current/web/app/plugins/simple-share-buttons-adder/inc/ssba_admin_panel.php on line 728
    
    Notice: Undefined index: ssba_flattr_user_id in /srv/www/writingofriding.com/current/web/app/plugins/simple-share-buttons-adder/inc/ssba_admin_panel.php on line 740
    
    Notice: Undefined index: ssba_flattr_url in /srv/www/writingofriding.com/current/web/app/plugins/simple-share-buttons-adder/inc/ssba_admin_panel.php on line 752
    
    Notice: Undefined index: ssba_buffer_text in /srv/www/writingofriding.com/current/web/app/plugins/simple-share-buttons-adder/inc/ssba_admin_panel.php on line 764

    https://www.ads-software.com/plugins/simple-share-buttons-adder/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Simple Share

    (@davidoffneal)

    Hi Erica,

    Is this still an issue for you? Sounds like the plugin might not have been successfully installed as expected.

    If you go and save your settings, does the issue persist?

    If so, please can you email some temp login details to [email protected]

    Thanks,

    David

    I have this problem too, there are a lot of:/

    After clicking save, the notices are removed

    I have the same problem, and I’m getting a 502 error on my site when the plug-in is activated. WpEnginge recommended I remove the plug-in and my site started working again. Is there a fix for this?

    Plugin Author Simple Share

    (@davidoffneal)

    Hi all,

    I’m looking into this now, and have done a local install on a fresh instance of WordPress.

    The activation script only appears to have partially completed – https://postimg.org/image/5tn863xe5/ – as you can see there are a number of SSBA options added into the database, but a number haven’t been inserted.

    They haven’t been added in order and suddenly stopped partway down the script, it seems to have added a few, successfully run to the end but missed a whole bunch out!

    This will need some more investigation…

    Thanks,

    David

    In your wp-config.php try to set define( 'WP_DEBUG', true ); – the plugin is generation alot of notices ??

    Plugin Author Simple Share

    (@davidoffneal)

    I’ve found what the issue was, oddly it’s never come up before…

    The activation hook needed to be in the main plugin file, it shall be for all future releases.

    Whilst debugging this, I decided to rewrite a lot of things. In-line with Plus and Light, Simple Share Buttons Adder will now use a single database entry to store all core settings in a JSON array.

    Look out for the change in 6.0.6

    Thanks,

    David

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Undefined index error on plugin activation’ is closed to new replies.