Kunena 6.3.0 released

The Kunena team has announce the arrival of Kunena 6.3.0 [K 6.3.0] in stable which is now available for download as a native Joomla extension for J! 4.4.x/5.0.x/5.1.x. This version addresses most of the issues that were discovered in K 6.2 and issues discovered during the last development stages of K 6.3

Solved SyntaxError: unreachable code after return statement

More
8 years 8 months ago #1 by nickstarbright
Hi, I've upgraded Kunena from v3.0.1 to v4.

My configuration is Joomla 3.4.3,
PHP Version/5.5.12
Apache/2.4.9

When I turn on Inspect Element and click on debug I get an warning. The error is coming from the media/kunena/js/default.js file in kunena on line 332, here is the code:
Code:
fetchCached: function() { return false; if (!this.options.cache || !this.cached || !this.cached.length || this.cached.length >= this.options.maxChoices || this.queryValue) return false; this.update(this.filter(this.cached)); return true; },

SyntaxError: unreachable code after return statement. How do I fix this?


Thanks in Advance!

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

More
8 years 8 months ago #2 by 810
mhh didn't see this issue before,

try to clean cache.

Please add kunena report

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

More
8 years 8 months ago #3 by nickstarbright
Okay, here's what I've done. I've cleared the browser cache, then I purged joomla's cache.

Reloaded the page fired up Inspect Element again and the error is still present. Also it shows that it repeats twice. :huh:

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

More
8 years 8 months ago #4 by xillibit
Hello,

Can-you put here please your Kunena report configuration settings ?

Which with browser do-you encounter this issue ?

I don't provide support by PM, because this can be useful for someone else.

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

More
8 years 8 months ago #5 by nickstarbright
I'm using firefox. I'll check chrome as well.

Here is my Kunena Report

This message contains confidential information

Database collation check: The collation of your table fields are correct

Joomla! SEF: Enabled | Joomla! SEF rewrite: Enabled | FTP layer: Disabled |

This message contains confidential information
htaccess: Exists | PHP environment: Max execution time: 120 seconds | Max execution memory: 128M | Max file upload: 64M

Kunena menu details:

Warning: Spoiler!

Joomla default template details : protostar-backup | author: Kyle Ledbetter | version: 1.0 | creationdate: Unknown

Kunena default template details : Blue Eagle | author: Kunena Team | version: 4.0.5 | creationdate: 2015-08-17

Kunena version detailed: Kunena 4.0.5 | 2015-08-17 [ Turnau ]
| Kunena detailed configuration:

Warning: Spoiler!
| Kunena integration settings:
Warning: Spoiler!
| Joomla! detailed language files installed:
Warning: Spoiler!

Third-party components: AlphaUserPoints 2.0.2 | CommunityBuilder 2.0.10

Third-party SEF components: None

Plugins: None

Modules: Kunena Latest 3.1.1

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

More
8 years 7 months ago #6 by xillibit
That's weird nobody has noticied this issue before

Which exact version of firefox are-you using ?

I don't provide support by PM, because this can be useful for someone else.

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

More
8 years 7 months ago #7 by nickstarbright
The latest version of Firefox 40.0.2

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

More
8 years 7 months ago #8 by 810

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

More
8 years 7 months ago #9 by nickstarbright
What do I do, download this and install it in the Kunena directory?

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

More
8 years 7 months ago #10 by 810
you could edit the file, just copy and paste it on the file: media/kunena/js/default.js

raw.githubusercontent.com/810/Kunena-For...kunena/js/default.js

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

Time to create page: 0.554 seconds