Unexpected error: Undefined variable $hasPageCopy

Hello,

after the latest update I’m receiving the following error messge:

Unexpected error: Undefined variable $hasPageCopy in 130-page-1.0.3-38-33-menu_21-125-index-2.0.4-40-18-1-admin.view-1.template on line 601

But only on Album pages.

Could you help me, please?

Many thanks !
Sven M.

Thanks. I’m looking into it.

I’ve found the issue and making repair, and will ask @Ben to post the update whenever he comes online for the day.

Btw, I love the design of your site.

1 Like

Hi @SvenM, I’ve applied @Matthew’s fix. Please visit the Backlight Modules page and click Reinstall for Kookaburra Album.

This should clear the template cache, but if the error persists, then manually visit Designer > Templates > Clear Template Cache.

2 Likes

many thx !!!

cool - your feedback counts a lot - thanks !!!

1 Like

Hi Ben - super - it works !
Many thanks for the super quick fix!

1 Like

Yes, Your site definitively deserves some feedback!
I like it a lot.
Compliments for Your photographic work and for site structure and design.

May I ask, how You included the video e.g. on the blog post about Your model job on photokina?
It seems not to be the standard embedding code offered by google? That iframe would have broken page width on vertical phone screens.

I hope you don’t mind me stealing the look of your back/up chevrons in the footer. I’m adapting a version of it for the next update. A scroll-to-top has been on my roadmap a while anyway, and coming due.

cool !! - sure no prob!

Many thanks for the good feedback !!

Sure - code to embed

<div class="responsive-video"><iframe width="560" height="315" src="https://www.youtube.com/embed/..." title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe></div>

  • CSS:
.responsive-video {
    position: relative; 
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    padding-top: 25px; 
    height: 0;
}

.responsive-video iframe {
    position: absolute;
    top: 5%;
    left: 5%;
    width: 90%;
    height: 90%;
}

I hope it helps

1 Like