Asus AC87U Advanced Wireless WebUI bug

  • ATTENTION! As of November 1, 2020, you are not able to reply to threads 6 months after the thread is opened if there are more than 500 posts in the thread.
    Threads will not be locked, so posts may still be edited by their authors.
    Just start a new thread on the topic to post if you get an error message when trying to reply to a thread.

Dmytro

Occasional Visitor
Hello. I have Asus RT-AC87U with installed 384.13_10 merlin firmware

when I try to go to Wireless section in the left menu I get errors in console which prevents page to work normally
The error:

Uncaught SyntaxError: Unexpected end of JSON input
at JSON.parse (<anonymous>)
at chanspec.js:25

The problem:

JavaScript:
if(based_modelid == "RT-AC87U"){
ch80m = JSON.parse(''); #<---- here should be JSON.parse('{}')
wl1.channel_80m.push("0");
for(i=0;i<ch80m.length;i++){
wl1.channel_80m.push(ch80m[i] + "/80");
}
ch40m = JSON.parse(''); #<---- here should be JSON.parse('{}')
wl1.channel_40m.push("0");
for(i=0;i<ch40m.length;i++){
wl1.channel_40m.push(wlextchannel_fourty(ch40m[i]));
}
}

please fix. Thank you in advance
 

L&LD

Part of the Furniture
What browser is that with? Have you tried any troubleshooting? What steps, if any?

Does clearing the cache work? Rebooting the computer, router, or both?
 

CW1

New Around Here
Hello. I have Asus RT-AC87U with installed 384.13_10 merlin firmware

when I try to go to Wireless section in the left menu I get errors in console which prevents page to work normally
The error:



The problem:

JavaScript:
if(based_modelid == "RT-AC87U"){
ch80m = JSON.parse(''); #<---- here should be JSON.parse('{}')
wl1.channel_80m.push("0");
for(i=0;i<ch80m.length;i++){
wl1.channel_80m.push(ch80m[i] + "/80");
}
ch40m = JSON.parse(''); #<---- here should be JSON.parse('{}')
wl1.channel_40m.push("0");
for(i=0;i<ch40m.length;i++){
wl1.channel_40m.push(wlextchannel_fourty(ch40m[i]));
}
}

please fix. Thank you in advance
It must be something with your browser? Mine works as it should, no errors in display.
 

Attachments

  • Screenshot 2020-09-09 155821.jpg
    Screenshot 2020-09-09 155821.jpg
    70.2 KB · Views: 46

Dmytro

Occasional Visitor
What browser is that with? Have you tried any troubleshooting? What steps, if any?

Does clearing the cache work? Rebooting the computer, router, or both?
First browser was chrome latest
Tried to clear cache, tried with dev tools 'Disable cache'

Than I tried to change browser to fresh installed Firefox latest - the same.
Than I debugged the source code

As I've mentioned earlier the problem is in JS file. JSON.parse('') is a bug because json can't be empty. it must consists at least with '{}'
 

Jack Yaz

Part of the Furniture
Is your 5GHz actually broadcasting and working?
 

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top