After upgrading from 7.x-1.x-dev to 7.x-2.x-dev and installing the additionally required slideshow module and nivo library, I receive the following message on every webpage:

Notice: Undefined index: slideshow in include() (line 70 of /home/user/public_html/crypto-stick.com/sites/all/themes/andromeda/templates/page.tpl.php).

Any hint how to solve this?

Comments

shadcn’s picture

Status: Active » Fixed

Fixed in dev.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

stefanx’s picture

Status: Closed (fixed) » Active

I upgraded to the latest Andromeda 7.x-2 and since then see the "Undefined index: slideshow in include()" error message on all pages. :-( Of course I followed these instructions but it doesn't work for me. Please help.

shadcn’s picture

Status: Active » Needs work

I cannot reproduce this with the latest 7.x-2.x. can you flush your cache and see if the error is still there?

stefanx’s picture

Yes, after flushing all caches, the error message is still there. :-(

Very disturbing to the visitors. Any idea how to at least prevent the error message from being displayed?

shadcn’s picture

Assigned: Unassigned » shadcn

As a temp solution, you can turn off errors under Configuration -> Development -> Logging and Errors. I'll try figure out what's wrong here.

webcultist’s picture

Arshad, can you explain why you tried to fix the error with

-  <?php if($page['slideshow']) : ?>
+  <?php if(isset($page['slideshow'])) : ?>

in commit #00ec31f and then removed this change in commit #6e800ea with:

-  <?php if(isset($page['slideshow'])) : ?>
+  <?php if($page['slideshow']) : ?>

?
It seems that you completely undone your fix.

stefanx’s picture

Category: support » bug

I can confirm that this patch would have successfully solved the issue. Please commit it. Thanks.

shadcn’s picture

Status: Needs work » Needs review