Notice: Undefined index: override_facebook" in sharethis_configuration_form_submit() (line 70 of /home/sitename/public_html/sites/all/modules/sharethis/sharethis.module).
Notice: Undefined index: override_twitter" in sharethis_configuration_form_submit() (line 70 of /home/sitename/public_html/sites/all/modules/sharethis/sharethis.module).
Notice: Undefined index: override_linkedin" in sharethis_configuration_form_submit() (line 70 of /home/sitename/public_html/sites/all/modules/sharethis/sharethis.module).
Notice: Undefined index: override_email" in sharethis_configuration_form_submit() (line 70 of /home/sitename/public_html/sites/all/modules/sharethis/sharethis.module).
Notice: Undefined index: override_sharethis" in sharethis_configuration_form_submit() (line 70 of /home/sitename/public_html/sites/all/modules/sharethis/sharethis.module).
Notice: Undefined index: override_pinterest" in sharethis_configuration_form_submit() (line 70 of /home/sitename/public_html/sites/all/modules/sharethis/sharethis.module).
Comment | File | Size | Author |
---|---|---|---|
error.png | 280.42 KB | localnetwork |
Comments
Comment #2
Christian DeLoach CreditAttribution: Christian DeLoach commentedI'm having the same problem. As you can see by your screenshot, the "Choose Your Services" UI does not load. All scripts leading up to https://ws.sharethis.com/share5x/js/stcommon.js execute but all scripts after https://ws.sharethis.com/share5x/js/stcommon.js loads do not, including the stlib_picker.js script. As a result, the stlib_picker is undefined. I've confirmed through console that stcommon.js loads but no errors are thrown so I don't know what is causing the scripts to fail.
Comment #3
Jonathan Lauer CreditAttribution: Jonathan Lauer commentedSame for me ! :(
Comment #4
antonino-ragona CreditAttribution: antonino-ragona commentedI have the same error!!!!!
Comment #5
localnetwork CreditAttribution: localnetwork commentedBetter to use Add to Any
Comment #6
Christian DeLoach CreditAttribution: Christian DeLoach commentedlocalnetwork,
When something in Drupal doesn't work we don't post 'Better to use WordPress'. Let's keep this issue post on topic with a goal to fix the module for those who prefer to use ShareThis. When something is broken let's fix it, not replace it.
Comment #7
juanjo4 CreditAttribution: juanjo4 commentedSee here https://www.drupal.org/node/2759221
Possible related to that, they recommend to downgrade to 7.x-2.12 or apply some of the latest patches with a specific process.
Hope that helps!
Best,
Juan
Comment #8
Christian DeLoach CreditAttribution: Christian DeLoach commentedThank you Juan,
I suspect you are correct. Thank you for sharing the related issue. I think we can close this issue and refer others to issue 2759221.
Comment #9
localnetwork CreditAttribution: localnetwork commentedHi Christian,
Sorry for the misunderstanding. Let's just refer to this link then: https://www.drupal.org/node/2759221
Comment #10
localnetwork CreditAttribution: localnetwork commentedComment #11
Jonathan Lauer CreditAttribution: Jonathan Lauer as a volunteer commentedI apply this differents patches and nothing !
I downgrade at 7.x-2-.12 and nothing too !
I can see some errors JS in my console :
Uncaught TypeError: jQuery(...).find(...).live is not a function
at HTMLDocument.addEvents (ShareThisForm.js?omjhiu:107)
at c (jquery.min.js?v=1.10.2:4)
at Object.fireWith [as resolveWith] (jquery.min.js?v=1.10.2:4)
at Function.ready (jquery.min.js?v=1.10.2:4)
at HTMLDocument.q (jquery.min.js?v=1.10.2:4)
Comment #12
Jonathan Lauer CreditAttribution: Jonathan Lauer as a volunteer commentedBut, with patch I didn't see this Undefined index line 70 ! :)
It's just impossible to select a social network and impossible to click on left arrow to choose !
In the textfield "Choose your services:" it's strange too :
"Facebook:facebook","Tweet:twitter","LinkedIn:linkedin","Email:email","ShareThis:sharethis","Pinterest:pinterest"
Comment #13
Christian DeLoach CreditAttribution: Christian DeLoach commentedWizzu,
Which version of jQuery are you using, specifically with the Administration interface (e.g. are you using jQuery Update)?
Comment #14
Jonathan Lauer CreditAttribution: Jonathan Lauer as a volunteer commentedAll is ok now ! :)
I followed the goods steps like #68 https://www.drupal.org/node/2759221#comment-11791706
Comment #15
NancyDruMake sure you use the DEV version. I saw many of these issues before I switched; now it's working.
Comment #17
TarKHaoS CreditAttribution: TarKHaoS commentedI found the issue was with the global variable which was broken after an export/import of database.
My solution:
- install/activate Devel module
- go to /devel/variable/edit/sharethis_service_option
- Replace all wrong characters.
The string should look like that:
"Facebook:facebook","LinkedIn:linkedin","Twitter:twitter","Google +:googleplus","Email:email"
Comment #18
ezoulou CreditAttribution: ezoulou commentedBe also carefull to the version of JQuery you're using (cf JQuery update).
Here is a possibly related issue : https://www.drupal.org/project/sharethis/issues/2759221
Comment #19
Rick Hood CreditAttribution: Rick Hood commented#17 worked for me. Thanks!
In my case it was changing this:
"ShareThis:sharethis","Print:print"
...to this:
"ShareThis:sharethis","Print:print"
...here: /devel/variable/edit/sharethis_service_option
Comment #20
apaderno