This is the error message:
Notice: Undefined index: image_transition in nivo_slider_banner_markup() (line 81 dari /home/domain/public_html/sites/all/modules/nivo_slider/banners.inc).

How to solve this?

Comments

TJM’s picture

You might try again to download and re-install the module. The first time I downloaded and installed it, I had errors too. I noticed that the nivo_slider-7.x-1.0.tar.gz was missing some files. So, I used the nivo_slider-7.x-1.x-dev.tar.gz version with success. However, it looks like the the nivo_slider-7.x-1.0.tar.gz now has all of the files. So, after re-downloading and installing the non-dev version (nivo_slider-7.x-1.0.tar.gz ), the nivo_slider continues to function properly.

arebos’s picture

I'm still get the same error after reinstalling the module.
Any suggestion?

arebos’s picture

Is installing the dev version would fix this problem?

ilikan’s picture

When I updated nivo slider the first time I had the same problem. I did the following things and it's working fine now.

1. I put the site in maintenance mode.
2. I disabled the previous version of nivo slider in the modules page.
3. I uninstalled it.
4. I copied and pasted the new version (7.x-1.0) of nivo slider in the modules folder.
5. I enabled it.
6. I cleared all caches.
7. I put the site in non-maintenance mode.

TJM’s picture

I was able to use both the non-dev and dev downloads. So, I am not able to offer any further help, other than the standard things to do, such as,

arebos’s picture

Again, I still get the same error message, after doing no #4.

arebos’s picture

TJM, note that my nivo slider already running before I upgrade to this first 'stable' release.
Then after upgrade, I and any one report the error message:

Notice: Undefined index: image_transition dalam nivo_slider_banner_markup() (baris 81 dari /home/esqtours/public_html/sites/all/modules/nivo_slider/banners.inc).
Notice: Undefined index: image_transition dalam nivo_slider_banner_markup() (baris 81 dari /home/esqtours/public_html/sites/all/modules/nivo_slider/banners.inc).
Notice: Undefined index: image_transition dalam nivo_slider_banner_markup() (baris 81 dari /home/esqtours/public_html/sites/all/modules/nivo_slider/banners.inc).

arebos’s picture

It seem that problem is gone after I disable the cache, refresh cache, and then reenable it.

whthat’s picture

Its hard to tell exactly what the fix was, I did both #4 and #8 maybe more than once. After taking the site out of maintenance mode when reenabling the extension it seemed to resolve it's self. Little flaky. Also noticed a similar error in the main nivo slider configuration page, that was resolved by these shenanigans. Try matainance mode, disabling nivo, remove current, add fresh download, enable, clear cache, out of maintenance mode, clear your browser cache.
Rinse and repeat if no dice.

devin carlson’s picture

Version: 7.x-1.0 » 7.x-1.x-dev
Component: User interface » Code
Assigned: arebos » devin carlson

Marked #1384030: slider not load image as a duplicate.

devin carlson’s picture

This issue will occur if you don't clear the variable cache or resave the slide form.

I'll add an hook_update_n to forcefully add an image transition property to any slides missing the property and push out a new version of the module.

devin carlson’s picture

Status: Active » Needs review
StatusFileSize
new703 bytes

And a patch.

devin carlson’s picture

Status: Needs review » Fixed

Committed to 7.x-1.x-dev.

Status: Fixed » Closed (fixed)

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