Keyword

K2 content module > frontend edit error + 404 when trying to select items

  • RomyS
  • RomyS's Avatar Topic Author
  • Offline
  • Junior Member
More
3 years 4 months ago #177614 by RomyS
I Fotis and team!
The problem is in k2 2.10.4 / php 7.3 / Joomla 3.9.23 / Framework Helix + Template with sp builder but isn't used in the edit page.

_ When access to edit module we saw the attach 1 (k2 content error)

In the developer tool console see this error:

"util.js:142 Uncaught Error: COLLAPSE: Option "parent" provided type "boolean" but expected type "(string|element)".
at Object.typeCheckConfig (util.js:142)
at a.t._getConfig (collapse.js:282)
at new a (collapse.js:69)
at HTMLDivElement.<anonymous> (collapse.js:351)
at Function.each (jquery.min.js?f51cb3a60434d76ad430ac4a8b8e738d:2)
at a.fn.init.each (jquery.min.js?f51cb3a60434d76ad430ac4a8b8e738d:2)
at a.fn.init.a._jQueryInterface [as collapse] (collapse.js:337)
at HTMLDocument.<anonymous> (index.php?option=com_config&controller=config.display.modules&id=196&return=aHR0cHM6Ly9hbHBoYW1lZGlhLmNvbS5hci9uYS9uYXdlYmZpbmFsL2hpcGVy:1453)
at u (jquery.min.js?f51cb3a60434d76ad430ac4a8b8e738d:2)
at Object.fireWith [as resolveWith] (jquery.min.js?f51cb3a60434d76ad430ac4a8b8e738d:2)"


_ Into the Options from the module, when clicked in "select items" = Error 404

The link opened into modale has this format:

<a data-k2-modal="iframe" class="btn" title="Seleccionar" href="/component/k2/items?tmpl=component&amp;context=modalselector&amp;output=list&amp;fid=fieldID_34a409551dd9ec8fd69bff9464a8e5dc&amp;fname=jform[params][items][]">

I already tried:
_ switch to protostar template
_ SEF desactivated
_ Php 7.2 and 7.3

But I always have the problem!

Has anyone had this problem before? Can you help us? Thanks
Attachments:

Please Log in or Create an account to join the conversation.

More
3 years 4 months ago #177637 by JoomlaWorks
What you is a JS error that comes from something else than K2. Frontend editing can easily be broken if some system plugin injects JS code it shouldn't.

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum