Nicepage.js Syntax Errors preventing Menu from displaying

curtis.richard.harrison
2 Posts
curtis.richard.harrison posted this 30 March 2023
Report a bug

NicePage V5.7.9
Desktop Editor
Exporting as HTML files
Viewed on Google Chrome

I have a site that includes a menu bar on all pages, used to navigate between the pages. About half the time when a page loads the menu bar is not displayed. It is just blank white space. The logo image that is part of the header still loads, just not the menu items themselves. If I hover over where they should be, they are still clickable. Whenever this occurs, a single error about syntax in nicepage.js is printed to the console. However, the location of the syntax error seems to be different every time the issue occurs. Below are some examples of the error messages (only one is printed per occurrence):

Uncaught SyntaxError: Invalid or unexpected token (at nicepage.js:28:1370)

Uncaught SyntaxError: Invalid or unexpected token (at nicepage.js:1:15322)

Uncaught SyntaxError: Invalid or unexpected token (at nicepage.js:7:3683)

Uncaught SyntaxError: Invalid or unexpected token (at nicepage.js:7:70763)

Uncaught SyntaxError: Invalid or unexpected token (at nicepage.js:21:54)

Uncaught SyntaxError: Invalid or unexpected token (at nicepage.js:10:12197)

I have tried updating Nicepage to V5.7.9 and re-exporting the nicepage.js and nicepage.css files. I have also tried using Edge instead of Chrome. The problem still persists. How can I solve this and ensure that the menu is displayed every time a page loads?

Thanks!

NicePage V5.7.9 Desktop Editor Exporting as HTML files Viewed on Google Chrome I have a site that includes a menu bar on all pages, used to navigate between the pages. About half the time when a page loads the menu bar is not displayed. It is just blank white space. The logo image that is part of the header still loads, just not the menu items themselves. If I hover over where they should be, they are still clickable. Whenever this occurs, a single error about syntax in nicepage.js is printed to the console. However, the location of the syntax error seems to be different every time the issue occurs. Below are some examples of the error messages (only one is printed per occurrence): Uncaught SyntaxError: Invalid or unexpected token (at nicepage.js:28:1370) Uncaught SyntaxError: Invalid or unexpected token (at nicepage.js:1:15322) Uncaught SyntaxError: Invalid or unexpected token (at nicepage.js:7:3683) Uncaught SyntaxError: Invalid or unexpected token (at nicepage.js:7:70763) Uncaught SyntaxError: Invalid or unexpected token (at nicepage.js:21:54) Uncaught SyntaxError: Invalid or unexpected token (at nicepage.js:10:12197) I have tried updating Nicepage to V5.7.9 and re-exporting the nicepage.js and nicepage.css files. I have also tried using Edge instead of Chrome. The problem still persists. How can I solve this and ensure that the menu is displayed every time a page loads? Thanks!
Vote to pay developers attention to this features or issue.
2 Replies
Order By: Standard | Newest
curtis.richard.harrison
2 Posts
curtis.richard.harrison posted this 30 March 2023

This has been resolved, it was an issue with the microprocessor serving the webserver, not with Nicepage.

This has been resolved, it was an issue with the microprocessor serving the webserver, not with Nicepage.
Support Team
Support Team posted this 30 March 2023

Hi Curtis,

Ok, glad you solved the issue on your own.
Please let us know in case you have any other questions.
...................................................
Sincerely,
Anna.
Nicepage Support Team

Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp

Hi Curtis, Ok, glad you solved the issue on your own. Please let us know in case you have any other questions. ................................................... Sincerely, Anna. Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
You must log in or register to leave comments