Getting Uncaught SyntaxError: Unexpected string Error In Default Theme

Posted in: Newspaper
Post count: 21

Hi,

I’m getting below mentioned error in my Chrome Console.

Error

Can anyone tell me how I can fix this error?

Please don’t suggest me disable all plugins…

Post count: 21

UPDATE:- I have disabled all the plugins. not even a single plugin is active including Jetpack.

Error is still present.

Let me know what could be the reason of this error?

Post count: 7909

Hi,

Please disable all your plugins except of Visual Composer and remove any css/js compression, clear cache and see if you still have this issue. These js errors usually are caused by plugins that conflict with theme javascript, also please make sure that you use the latest version of the theme 6.2.

Thanks!

Post count: 21

Alin – I had used Minify JS option in cloudflare and that’s why it was giving this error but that feature in cloudflare is really helpful as it compresses the JS files as well as store them in Cache

Could you please forward my concern to developer that your theme shouldn’t throw an error while using Minify JS in cloudflare. I don’t think there are many changes required to make sure theme doesn’t break when Minify JS is enabled in Cloudflare.

Thanks

Post count: 21

Well disabling the autominify JS feature on test site resolved this error but when I tried using it on Live website, it is still giving this same error.

I think there is something wrong in this theme.

I have seen some threads related to this Javascript error as well.

I want priority support to resolve this error. I don’t want to share the URL of my website here.

I’m sending a email to support. I hope my request will be resolved asap,

Post count: 6600

Sorry for the delay!
I’ve replied you via email on this!

Thanks for the message!

Post count: 21

anyways it’s fixed now…I guess reason was – I had enabled Minfy JS on cloudflare.. Disabling it and purging cache worked

It would be great if developers can have a look at it why minify JS gives error on this theme

Post count: 7909

Hi,

Unfortunately we did not tested the theme with minification tool from cloudflare so that why we don’t recommend it to be used as it may appear some issues. We have this on our list and we plan to take a closer look to this in future and fix potential issues.

Thanks for the message!

Viewing 8 posts - 1 through 8 (of 8 total)
The forum ‘Newspaper’ is closed to new topics and replies.