Experiencing a 401 Unauthorized Error During Update?

If you're seeing a 401 Unauthorized error when trying to update your Joomla extension, it's likely due to our new two-factor authentication (2FA) security measure for your Download ID.
To resolve this, check your email (Spam folder?) for a message to approve your server or device, or read our detailed blog post here( onlinecommunityhub.nl/best-practice/new-...-extension-downloads) to understand the steps involved. This will guide you through approving your server for future updates.

No bug Error: Uncaught TypeError: jQuery(...).jsSocials is not a function

Meer
11 maanden 1 week geleden - 11 maanden 1 week geleden #2695 door Amar Guillen
Hi,

My website is running under Joomla 4.

On some pages of my website, I have this error: Uncaught TypeError: jQuery(...).jsSocials is not a function.

On this page:  www.guillenphoto.com/en/choose-the-timel...he-isle-of-skye.html

Another example of page :  www.guillenphoto.com/en/fine-art-prints-...ts-guillenphoto.html,

But it works fine on this page:  www.guillenphoto.com/en/symbolic-fine-ar...k-to-the-future.html

I have attached a screenshot of the problem.

Please would you help to solve the issue?

Thanks for your help.
A. Guillen
Bijlagen:
Laatst bewerkt 11 maanden 1 week geleden door Amar Guillen.

Graag Inloggen deelnemen aan het gesprek.

Meer
11 maanden 1 week geleden #2696 door Ruud van Lent
Good morning Amar,
I did a quick check.
on the page provided (with the error), all scripts load via a JCH Optimized script. That is where the issue is: the scripts have a dependency on each other: so ochJSsocials depends on jQuery being loaded when it starts. The error you get is because on these pages jQuery starts after ochJSsocials.
Can you disable JCH Optimize (the JS optimizing part) and check if the error is then gone?
If so, then you need to start tweaking JCH Optimize and see if doing things less 'aggressive', or excluding certain scripts from being handled by JCH Optimize solves it.
 

Graag Inloggen deelnemen aan het gesprek.

Meer
11 maanden 1 week geleden #2697 door Amar Guillen
Hi Ruud,

I hope you are doing well.
thank you very much for your reply.
In Jch I excluded jquery.min.js from being processed by JCH. It works well. The issue is gone.
Not easy to use an extension like JCH.

Thanks for all
Sincerely,
A. Guillen

Graag Inloggen deelnemen aan het gesprek.

Meer
11 maanden 1 week geleden #2698 door Ruud van Lent
Thanks for reporting back,
good to know you were able to solve it.

<rambling>
In my 'philosophy' a website (Hosting, CMS and extensions) should always perform good. Extensions like JCH Optimize are only a 'patch' for something that is not functioning good enough. That should be solved in the basis and not via extensions like JCH Optimize.

Optimizing extensions should be a (very) last resort in my opinion as they add load and complexity and as such make maintenance and security more difficult. If Joomla is not fast enough with what it offers out-of-the-box then you are better off switching hosting. If you have an extension that does exactly what you want but on production with multiple visitors breaks the site performance then you are better off searching for another extension (or take it up with the extension developer to give him the opportunity to improve).
</rambling>

If you have any other issues or questions feel free to open a new topic.
closing this one now.
regards,
Ruud.


 

Graag Inloggen deelnemen aan het gesprek.

Meer
11 maanden 1 week geleden #2699 door Amar Guillen
Hi Ruud,

thank you for your reply.
I agree with you. I am not a developer (just a photographer). Joomla is very poor to present nicely a website to a final customer. I need extensions to present my work to convince them to buy my fine art prints.
Just few seconds to make a very good impressions. Extensions are made for this kind of purpose.

I am not using a lot of extensions but there are enough to slowdown my website if I am not using JCH.

I thought to use LiteSpeed to improve performances but I do not really figure if it will help.

Sincerely,
A. Guillen

Graag Inloggen deelnemen aan het gesprek.