• Hi,

    The most recent Simple Share Buttons Adder update (6.2.0) this morning seems to have broken the plugin. I can not dismiss the nag alert and I am no longer able to access the settings. This is the error displayed (minus the path on my server):

    Parse error: syntax error, unexpected ‘[‘, expecting ‘)’ in …/wp-content/plugins/simple-share-buttons-adderX/inc/ssba_admin_panel.php on line 120

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

    I hope this can be fixed immediately. Thanks!

Viewing 13 replies - 1 through 13 (of 13 total)
  • In version 6.2.1 there is a Javascript error :

    ReferenceError: stLight is not defined
    ssba.min.js:1:1273

    This error also seems to be in version 6.2.2

    Thread Starter Greenlaw

    (@greenlaw)

    Thanks for the info. It sounds like a lot of users are seeing this and related errors. Hopefully they’ll have this sorted out soon.

    For the time being, I’ve regressed to 6.1.5. As soon as I can make another backup, I’ll give 6.2.2 a try.

    I’d like to revert to the previous version but when I check the ‘Developers’ section there are no ‘Other versions’ listed.

    Have these been removed (which would be a bad sign) or am I missing them somewhere else?

    +1

    Seeing this on all sites we operate that uses this plugin and it’s broke all of them.

    Please fix ASAP!!

    I am also seeing the “stLight is not defined error”.

    Has there been a fix identified to prevent the Simple Share Buttons plugin from showing this and breaking sites?

    Is there an updated version of the plugin releasing soon that fixes this?

    Can everyone seeing this mark version 6.2.2 as ‘broken’ on the right hand side of the main plugin page? This’ll hopefully stop others updating and encountering these issues too.

    Plugin Author Simple Share

    (@davidoffneal)

    Hi all,

    Thank you for reaching out, I’d be happy to help!
    For those who are seeing “stLight is not defined error” can you please share the URL to the page that is causing this issue? Any additional information such as what browser and operating system would be awesome as well.

    I’ll be able to troubleshoot on my end and figure out how to assist from there.

    Please let us know if you have any other questions.

    I did the update without visiting this forum. Unfortunately.
    I’m not a coder, so pardon my poor description: I witness a problem with among other the FB comments plugins that on all post get bugged. Both in terms of functionality and design. Chrome, explorer, safari … same issue.
    Hope you find a solution soon. I have deactivated your plugin so far – until an update is ready/or 6.1.5 can be reinstalled.

    Hi,

    I am seeing this JS error as well (ReferenceError: stLight is not defined), on every page.
    It is happening in more than one site where I have this plugin installed.
    My assumption is that it is related to wp-rocket plugin, where JS minification is active.
    You can see the error in this website – https://www.robi-steiner.co.il/

    Thanks,
    Nir

    I also have the problem. I guess everyone does they just haven’t noticed it yet. For some reason, the end of the ssba.js (or, likewise, ssba.min.js) file has the following code:

    ,stLight.options(options);

    When I do a text search through the entire ssba plugin directory for stLight, that is the only reference so I cannot see any way it can be useful code. Sure enough, I removed it (keeping the ending semicolon) and the error went away. I recommend you remove it for future versions and that should solve the problem.

    Hi,

    Found this thread because of the stLight is not defined error.

    The stLight javascript object is part of the ShareThis javascript loaded in ssba_page_scripts().

    The ShareThis javascript is only loaded when accepted_sharethis_terms is “Y”, but ssba.min.js is always loaded and generates this error when de ShareThis js is not there.

    OK, that definitely makes sense. Good job doing more investigating than I bothered to do – thanks. Personally, I don’t want to load the ShareThis JS for a couple of reasons (including PageSpeed optimization) so I was just sort of bypassing it, and thus getting the error. I do hope the authors will consider making this optional rather than forced upon users.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Latest update breaks plugin’ is closed to new replies.