Trembowiecki
Active Member
Hi,
first things first: PHP 8.3, Joomla 5.2.4, Fabrik 4.5.1.
I have a menu which has an item (fabrik List), which has a subitem (other fabrik list). When I use auto-complete filter for a field element in a subitem, it throws a lot of errors in console.
Here's my observations:
1) it happens only when I have URL rewriting enabled. When I disable it, auto-complete works,
2) when I move the subitem to main item level, auto-complete works (even with URL rewriting enabled) and stops working the moment I move it back to its old place.
So it looks like auto-complete has an allergy for menu subitems + URL rewriting.
first things first: PHP 8.3, Joomla 5.2.4, Fabrik 4.5.1.
I have a menu which has an item (fabrik List), which has a subitem (other fabrik list). When I use auto-complete filter for a field element in a subitem, it throws a lot of errors in console.
Code:
Fabrik autocomplete: Ajax failure: Code 404:
Uncaught TypeError: Cannot read properties of undefined (reading 'get')
at Object.<anonymous> (autocomplete-bootstrap.js:159:81)
at Object.<anonymous> (mootools-core.js:858:45)
at Array.forEach (<anonymous>)
at Array.forEach (mootools-core.js:121:34)
at Array.each (mootools-core.js:193:19)
at Object.fireEvent (mootools-core.js:857:15)
at Object.<anonymous> (mootools-core.js:787:27)
at Object.onFailure (mootools-core.js:3526:44)
at Object.<anonymous> (mootools-core.js:787:27)
at Object.failure (mootools-core.js:3523:22)
Here's my observations:
1) it happens only when I have URL rewriting enabled. When I disable it, auto-complete works,
2) when I move the subitem to main item level, auto-complete works (even with URL rewriting enabled) and stops working the moment I move it back to its old place.
So it looks like auto-complete has an allergy for menu subitems + URL rewriting.