Facebook comments: Non-fatal errors during the loading

Phoca modules - support for all Phoca modules except Phoca Gallery modules
werefkin
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 03 Feb 2021, 14:49

Facebook comments: Non-fatal errors during the loading

Post by werefkin » 03 Feb 2021, 14:53

Hi!

I have found that the module is loading with some errors, see the output of Chrome:

Code: Select all


Failed to load resource: the server responded with a status of 404 ()
KCyuuky6tMM.js?_nc_x=Ij3Wp8lg5Kz:59 ErrorUtils caught an error:

u is not defined

Subsequent non-fatal errors won't be logged; see https://fburl.com/debugjs.
b @ KCyuuky6tMM.js?_nc_x=Ij3Wp8lg5Kz:59
like.php?app_id=133499630061802&href=http://noskyrnos.ru/en/news&send=false&layout=standard&show_faces=0&action=like&colorscheme=light&font&height=26:1 Uncaught ReferenceError: u is not defined
    at d (<anonymous>:1:693)
    at <anonymous>:1:809
    at <anonymous>:1:814
www.facebook.com/common/cavalry_endpoint.php?t_cstart=1612357273587&t_start=1612357273587&t_domcontent=1612357273695&t_layout=1612357274308&t_onload=1612357274308&t_paint=1612357274308&t_creport=1612357274308&t_tti=1612357273695&lid=6925021757942490622-0:1 Failed to load resource: net::ERR_BLOCKED_BY_CLIENT
www.facebook.com/common/cavalry_endpoint.php?t_cstart=1612357273587&t_start=1612357273587&t_domcontent=1612357273695&t_layout=1612357274308&t_onload=1612357274308&t_paint=1612357274308&t_creport=1612357274308&t_tti=1612357273695&lid=6925021757942490622-0:1 Failed to load resource: net::ERR_BLOCKED_BY_CLIENT
CuX9btkrlmj.js:62 ErrorUtils caught an error:

u is not defined

Subsequent non-fatal errors won't be logged; see https://fburl.com/debugjs.
b @ CuX9btkrlmj.js:62
feedback.php?app_id&channel=https%3A%2F%2Fstaticxx.facebook.com%2Fx%2Fconnect%2Fxd_arbiter%2F%3Fversion%3D46%23cb%3Df3d677815bb0c34%26domain%3Dnoskyrnos.ru%26origin%3Dhttp%3A%2F%2Fnoskyrnos.ru%2Ff2da21cfbd2ff74%26relation%3Dparent.parent&color_scheme=dark&container_width=1819&height=100&href=http%3A%2F%2Fnoskyrnos.ru%2Fen%2Fnews&locale=en_US&sdk=joey&skin=dark&width&_rdc=1&_rdr:1 Uncaught ReferenceError: u is not defined
    at d (<anonymous>:1:693)
    at <anonymous>:1:809
    at <anonymous>:1:814

Any Idea how can it be fixed?

PS Joomla 3.9.24, PHP 7.4.14

Best regards!

User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 44016
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Facebook comments: Non-fatal errors during the loading

Post by Jan » 03 Feb 2021, 19:17

Hi, the server which is asked by the listed Javascript gets 404 error (maybe not found)

Testing now in Chrome, get no problem there:

https://www.phoca.cz/news/1118-phoca-ca ... 5-released (at the bottom)

Based on the error message, it seems, there is no problem on your site but on server which is asked by the Javascript before loading the FB comments. Hard to say if this is a part of the FB comments or some script which is just rendered before the comments :idea:

Jan
If you find Phoca extensions useful, please support the project

werefkin
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 03 Feb 2021, 14:49

Re: Facebook comments: Non-fatal errors during the loading

Post by werefkin » 04 Feb 2021, 00:26

Jan wrote:
03 Feb 2021, 19:17
Testing now in Chrome, get no problem there:
https://www.phoca.cz/news/1118-phoca-ca ... 5-released (at the bottom)
Based on the error message, it seems, there is no problem on your site but on server which is asked by the Javascript before loading the FB comments. Hard to say if this is a part of the FB comments or some script which is just rendered before the comments :idea:
Jan
Hi Jan,
Thanks a lot for the reply! yes you are right, other browsers shows no error. Very interesting...
Also incognito mode eliminates it.
Will try to search, maybe could find anything

Best regards

User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 44016
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Facebook comments: Non-fatal errors during the loading

Post by Jan » 08 Feb 2021, 02:06

Ok
If you find Phoca extensions useful, please support the project

Post Reply