C5.7: Uncaught ReferenceError: ConcreteEvent is not defined
Permalink
Hi all,
On a clients site I noticed a core image slider block isn't working in Chrome when logged out, it is just showing the first image.
It works fine in Firefox and in Chrome when logged in.
In Chrome I am getting an error in the console:
Uncaught ReferenceError: ConcreteEvent is not defined app.js line 1
Am I not loading something in page_theme.php or something like that?
Thanks in advance
Dave
On a clients site I noticed a core image slider block isn't working in Chrome when logged out, it is just showing the first image.
It works fine in Firefox and in Chrome when logged in.
In Chrome I am getting an error in the console:
Uncaught ReferenceError: ConcreteEvent is not defined app.js line 1
Am I not loading something in page_theme.php or something like that?
Thanks in advance
Dave
Hi mate
It is nurturelandscapes.co.uk
I've attached my page_theme.php so you can see because I am not quite sure if it is complete or not?
Thanks
Dave
It is nurturelandscapes.co.uk
I've attached my page_theme.php so you can see because I am not quite sure if it is complete or not?
Thanks
Dave
The Image Slider block appears to be working on the other pages.
Is the error and the broken Image Slider block just on the home page?
When did you notice the error and the block not working?
Is the error and the broken Image Slider block just on the home page?
When did you notice the error and the block not working?
Looks like it is just the homepage. I didn't notice till it went live, but of course I was always logged in when I was developing the site.
Also got the same error on my site which is also v5.7 but not using that block so hadn't noticed.
I think I've noticed a pattern, it seems to be pages with a Page List+ block on them. So, news, homepage (ticker) and on my site the "Our work" page too.
I may create an override and see if I can work on the js.
I think I've noticed a pattern, it seems to be pages with a Page List+ block on them. So, news, homepage (ticker) and on my site the "Our work" page too.
I may create an override and see if I can work on the js.
It is probably a concrete5 asset not being included (anymore). Had some similar error 2 months ago. I'll look into it tonight if it's not solved before.
Maybe one of the widges..
Maybe one of the widges..
It is probably a concrete5 asset not being included (anymore). Had some similar error 2 months ago. I'll look into it tonight if it's not solved before.
I added a window.load function around the pagelist+ jquery to delay it and that seems to have fixed it.
@madesimplemedia
Have you checked the Page List+ support section for similar issues?
If not, you might want to report this.
Have you checked the Page List+ support section for similar issues?
If not, you might want to report this.
I raised a ticket with them.
What is the address of your website?
Are you providing and requiring theme assets in your theme page_theme.php?