heiseonline / shariff

đź‘® Shariff enables website users to share their favorite content without compromising their privacy.

Home Page:http://ct.de/-2467514

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

JavaScript Fehler in shariff.min.js:7

Franzhitze opened this issue · comments

There is a JavaScript Fehler in shariff.min.js with Joomla! Version 3.9.6. at shariff.min.js:7. You can see this in the web browser at developer tools.

This fault makes problems with other components, modules and plug-ins which do not work or do not work as intended.

Please eliminate this fault.
Thanks

Feedback to your report:

  1. Not everyone is using Joomla - don't expect others to install it just for debugging
  2. What is the error message?
  3. How do you integrate shariff in your site, what other Javascript is loaded?

I can't confirm that problem on my web site, which is based on Joomla! 3.9.6 and uses an extended version of Shariff. The code is the same as current Shariff release 3.2.1, except of an additional button for the Facebook Like button. There is no javascript error when loading a page with it, and the integration is as explained in the readme file.
See https://www.richard-fath.de/de/software/shariff-plus.html.

Maybe you used a Joomla plugin for integration? In this case you should report the issue there. So or so you have not answered question 3 by @liayn yet:

How do you integrate shariff in your site, what other Javascript is loaded?

If possible, please also give some information about with which browser on which OS you observe the error, so other people can try to replicate the issue.

Error of the Joomla MyShariff Plug-in (taken from Firefox browser console):

SCRIPT5007: SCRIPT5007: Unable to get property 'title' of undefined or null reference
{key:"getTitle",value:function(){var e=this.getOption("title");

I assume the error comes from the MyShariff plugin.

Sure you use the latest version of the MyShariff plugin?

The update history section of https://www.xadomir.de/webentwicklung/cms/joomla/plugins/18-myshariff-en.html shows as newest entry at the top:

2.7.1: TypeError console fix (09.05.2019)

@richard67 Thanks for your contribution and support.

@Franzhitze Did this fix solved your issue? Can we close this issue here?