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

madesimplemedia
 
MrKDilkington replied on at Permalink Reply
MrKDilkington
Hi madesimplemedia,

What is the address of your website?

Are you providing and requiring theme assets in your theme page_theme.php?
madesimplemedia replied on at Permalink Reply 1 Attachment
madesimplemedia
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
MrKDilkington replied on at Permalink Reply
MrKDilkington
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?
madesimplemedia replied on at Permalink Reply
madesimplemedia
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.
madesimplemedia replied on at Permalink Reply
madesimplemedia
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.
WillemAnchor replied on at Permalink Reply
WillemAnchor
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..
WillemAnchor replied on at Permalink Reply
WillemAnchor
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.
madesimplemedia replied on at Permalink Reply
madesimplemedia
I added a window.load function around the pagelist+ jquery to delay it and that seems to have fixed it.
MrKDilkington replied on at Permalink Reply
MrKDilkington
@madesimplemedia

Have you checked the Page List+ support section for similar issues?

If not, you might want to report this.
madesimplemedia replied on at Permalink Reply
madesimplemedia
I raised a ticket with them.