Keyword

K2Language v2.69 Throwing Error

  • Joseph Rebele
  • Joseph Rebele's Avatar Topic Author
  • Offline
  • Junior Member
More
3 weeks 1 day ago - 3 weeks 1 day ago #172695 by Joseph Rebele
Joseph Rebele created the topic: K2Language v2.69 Throwing Error
Folks,

I have an issue with an older version of K2 (v2.6.9) running under Joomla v3.9.10. It is throwing the error on the following array:

var K2Language = [
'Remove',
'Link title (optional)',
'Link title attribute (optional)',
'Are you sure?',
'You are not allowed to post to this category',
' or select a file on the server'
]

Does anyone know what folder and filename this array is defined? Thanks in advance for the help!

Regards,
Joe
Last edit: 3 weeks 1 day ago by Joseph Rebele.

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

  • Fotis
  • Fotis's Avatar
  • Offline
  • Administrator
  • JoomlaWorks Support Team
More
3 weeks 20 hours ago #172702 by Fotis
Fotis replied the topic: K2Language v2.69 Throwing Error
What's the exact error related to this array?

The file is probably: /administrator/components/com_k2/views/item/view.html.php

If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

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

  • Joseph Rebele
  • Joseph Rebele's Avatar Topic Author
  • Offline
  • Junior Member
More
3 weeks 18 hours ago #172709 by Joseph Rebele
Joseph Rebele replied the topic: K2Language v2.69 Throwing Error
Fortis,

Thanks for the prompt reply! I really appreciate it.

When I open up DevTools in Chrome and go to Console, the error showing is:

Uncaught TypeError: ["Remove","Link title (optional)","Link title attribute (optional)","Are you sure?","You are not allowed to post to this category"," or select a file on the server"] is not a function
at awards-submit:309

I'm running PHP v7.1. Please let me know if there is any other information that may be of help!

THANKS!
Joe

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

  • Joseph Rebele
  • Joseph Rebele's Avatar Topic Author
  • Offline
  • Junior Member
More
3 weeks 18 hours ago #172710 by Joseph Rebele
Joseph Rebele replied the topic: K2Language v2.69 Throwing Error
Fortis,

I attached a text version of the view.html.php file that I am using in the system.

Thanks,
Joe
Attachments:

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

  • Joseph Rebele
  • Joseph Rebele's Avatar Topic Author
  • Offline
  • Junior Member
More
3 weeks 17 hours ago - 3 weeks 17 hours ago #172711 by Joseph Rebele
Joseph Rebele replied the topic: K2Language v2.69 Throwing Error
Fortis,

Sorry for all the messages! I'm just thinking of ways to provide you with information to assist me in resolving this issue. I attached the code that the webpage renders. The error is highlight by DevTools on line 309 of this file right after the right brace. This is the code out of Google Chrome DevTools. Thanks again for the assistance!

Regards,
Joe
Attachments:
Last edit: 3 weeks 17 hours ago by Joseph Rebele.

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

  • Fotis
  • Fotis's Avatar
  • Offline
  • Administrator
  • JoomlaWorks Support Team
More
3 weeks 16 hours ago - 3 weeks 16 hours ago #172714 by Fotis
Fotis replied the topic: K2Language v2.69 Throwing Error
Is there any particular reason you're using such an old K2 version? Most of these issues (some related to PHP 7.x) have been resolved already (including your JS issue).

I highly recommend you install v2.10.0 (dev) from: github.com/getk2/k2/archive/master.zip

If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member
Last edit: 3 weeks 16 hours ago by Fotis.

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

Moderators: william white

Powered by Kunena Forum