js error and list plugins stopped working

prophoto

Active Member
I am running J3.9.19 and F3.9.2.

JS error: TypeError: Array.mfrom is not a function. (In 'Array.mfrom(t)', 'Array.mfrom' is undefined)

It occurs in frontend and backend. I also have a simple list plugin changing a radio button value from 1 to 2 that has stopped since upgrading to F3.9.2/3.9.1.
 
Which settings in your list (update_col) plugin?
e.g. which elements selected, with/without eval, user select, pre/post eval code etc

I don't get an error on my site.
 
Here are some screenshots thanks for your help.
 

Attachments

  • Screen Shot 2020-06-11 at 12.57.47 PM.png
    Screen Shot 2020-06-11 at 12.57.47 PM.png
    67.6 KB · Views: 130
  • Screen Shot 2020-06-11 at 12.57.29 PM.png
    Screen Shot 2020-06-11 at 12.57.29 PM.png
    49.7 KB · Views: 122
  • Screen Shot 2020-06-11 at 12.47.38 PM.png
    Screen Shot 2020-06-11 at 12.47.38 PM.png
    23.1 KB · Views: 118
  • Screen Shot 2020-06-11 at 12.47.31 PM.png
    Screen Shot 2020-06-11 at 12.47.31 PM.png
    59.2 KB · Views: 127
  • Screen Shot 2020-06-11 at 12.47.11 PM.png
    Screen Shot 2020-06-11 at 12.47.11 PM.png
    40.4 KB · Views: 138
I tried to replicate with your settings but don't get an error.

Is your list ajaxfied?
Which Fabrik list template?
Is there a stack for the mfrom error?
 
Bootstrap 2 template
List Ajax: On

[Error] TypeError: Array.mfrom is not a function. (In 'Array.mfrom(t)', 'Array.mfrom' is undefined)
(anonymous function) (fabrik.js:3:2330)
initialize (list.js:3:1632)
(anonymous function) (mootools-more.js:27:164)
(anonymous function) (mootools-core.js:38:501)
(anonymous function) (mootools-core.js:37:219)
(anonymous function) (visitation-list-incomplete.html:2241)
onAdd (mootools-core.js:176:223)
addEvent (mootools-core.js:118:335)
(anonymous function) (mootools-core.js:126:211)
addEvent (mootools-more.js:17)
(anonymous function) (visitation-list-incomplete.html:2240)
execCb (Anonymous Script 1 (line 29:317))
check (Anonymous Script 1 (line 18:430))
(anonymous function) (Anonymous Script 1 (line 23))
(anonymous function) (Anonymous Script 1 (line 8:108))
(anonymous function) (Anonymous Script 1 (line 23:371))
v (Anonymous Script 1 (line 7:175))
emit (Anonymous Script 1 (line 23:342))
check (Anonymous Script 1 (line 19:408))
(anonymous function) (Anonymous Script 1 (line 23))
(anonymous function) (Anonymous Script 1 (line 8:108))
(anonymous function) (Anonymous Script 1 (line 23:371))
v (Anonymous Script 1 (line 7:175))
emit (Anonymous Script 1 (line 23:342))
check (Anonymous Script 1 (line 19:408))
(anonymous function) (Anonymous Script 1 (line 23))
(anonymous function) (Anonymous Script 1 (line 8:108))
(anonymous function) (Anonymous Script 1 (line 23:371))
v (Anonymous Script 1 (line 7:175))
emit (Anonymous Script 1 (line 23:342))
check (Anonymous Script 1 (line 19:408))
enable (Anonymous Script 1 (line 23:244))
init (Anonymous Script 1 (line 17))
E (Anonymous Script 1 (line 14:197))
completeLoad (Anonymous Script 1 (line 28:127))
onScriptLoad (Anonymous Script 1 (line 29:449))
 
So is this JS error with all lists or only one?
Special list settings doing JS (e.g. toggle columns)? Special filter settings (e.g. an element as autocomplete, filtering with date elements...)?

If you turn "Debug JS" on in Fabrik Options/Debugging/Allow Fabrik debug it would will show the lines in uncompressed code (list.js,fabrik.js)

Where is "visitation-list-incomplete.html" coming from? I can't see such a file on my site.
 
So is this JS error with all lists or only one?
All

Special list settings doing JS (e.g. toggle columns)? Special filter settings (e.g. an element as autocomplete, filtering with date elements...)?
On all lists, even some that are only used for dropdown joins with no special settings.

If you turn "Debug JS" on in Fabrik Options/Debugging/Allow Fabrik debug it would will show the lines in uncompressed code (list.js,fabrik.js)
Must be getting somewhere, maybe a botched upgrade? As soon as I turn on debug with ?fabrikdebug=1 the console error goes away and the list plugin works fine again.

Where is "visitation-list-incomplete.html" coming from? I can't see such a file on my site.
Menu item
 
Do you have any 3rd party JS compression running? So it didn't fetch the recent (updated) Fabrik JS files?
What happens if you go back to the compressed files (Fabrik debug=no) and e.g. set Burst=yes?
Did you clear all Joomla and browser cache after updating (and always after switching those Fabrik options)?
 
Do you have any 3rd party JS compression running?
None
So it didn't fetch the recent (updated) Fabrik JS files?
Don't know how to answer that? How would I confirm? I reinstalled 3.9.2 but no change.
What happens if you go back to the compressed files (Fabrik debug=no) and e.g. set Burst=yes?
?fabrikdebug=0&Burst=yes still produced the js error.
Did you clear all Joomla and browser cache after updating (and always after switching those Fabrik options)?
Always. Which options are you talking about?
 
Burst is for forcing to reload the JS files. If it's ok with Burst=yes it looks like you had a caching issue.

So if you don't have any JS compression which may "hold" old JS it should be ok to turn it off again.
 
I've tried turning burst on/off but issue continued when turned off. I checked again for plugins that I'd forgotten I had installed but nothing.

I deleted the cache manually in /cache which seems to have fixed it. Thanks for your help and putting up with me haha.
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top