I just updated field slideshow and now im presented with the following errors:

Home Page:
•Notice: Undefined index: order in theme_field_slideshow() (line 518 of /home/content/72/7233672/html/sites/all/modules/field_slideshow/field_slideshow.module).
•Notice: Undefined index: order in theme_field_slideshow() (line 519 of /home/content/72/7233672/html/sites/all/modules/field_slideshow/field_slideshow.module).
•Notice: Undefined index: slideshow_order in field_slideshow_field_formatter_view() (line 464 of /home/content/72/7233672/html/sites/all/modules/field_slideshow/field_slideshow.module).
•Notice: Undefined index: slideshow_carousel_image_style in field_slideshow_field_formatter_view() (line 469 of /home/content/72/7233672/html/sites/all/modules/field_slideshow/field_slideshow.module).
•Notice: Undefined index: slideshow_carousel_visible in field_slideshow_field_formatter_view() (line 470 of /home/content/72/7233672/html/sites/all/modules/field_slideshow/field_slideshow.module).
•Notice: Undefined index: slideshow_carousel_scroll in field_slideshow_field_formatter_view() (line 471 of /home/content/72/7233672/html/sites/all/modules/field_slideshow/field_slideshow.module).
•Notice: Undefined index: slideshow_carousel_speed in field_slideshow_field_formatter_view() (line 472 of /home/content/72/7233672/html/sites/all/modules/field_slideshow/field_slideshow.module).
•Notice: Undefined index: slideshow_carousel_vertical in field_slideshow_field_formatter_view() (line 473 of /home/content/72/7233672/html/sites/all/modules/field_slideshow/field_slideshow.module).
•Notice: Undefined index: slideshow_order in field_slideshow_field_formatter_view() (line 464 of /home/content/72/7233672/html/sites/all/modules/field_slideshow/field_slideshow.module).
•Notice: Undefined index: slideshow_carousel_image_style in field_slideshow_field_formatter_view() (line 469 of /home/content/72/7233672/html/sites/all/modules/field_slideshow/field_slideshow.module).
•Notice: Undefined index: slideshow_carousel_visible in field_slideshow_field_formatter_view() (line 470 of /home/content/72/7233672/html/sites/all/modules/field_slideshow/field_slideshow.module).
•Notice: Undefined index: slideshow_carousel_scroll in field_slideshow_field_formatter_view() (line 471 of /home/content/72/7233672/html/sites/all/modules/field_slideshow/field_slideshow.module).
•Notice: Undefined index: slideshow_carousel_speed in field_slideshow_field_formatter_view() (line 472 of /home/content/72/7233672/html/sites/all/modules/field_slideshow/field_slideshow.module).
•Notice: Undefined index: slideshow_carousel_vertical in field_slideshow_field_formatter_view() (line 473 of /home/content/72/7233672/html/sites/all/modules/field_slideshow/field_slideshow.module).
•Notice: Undefined index: order in theme_field_slideshow() (line 518 of /home/content/72/7233672/html/sites/all/modules/field_slideshow/field_slideshow.module).
•Notice: Undefined index: order in theme_field_slideshow() (line 519 of /home/content/72/7233672/html/sites/all/modules/field_slideshow/field_slideshow.module).

On my Privacy page:

•Notice: Undefined index: order in theme_field_slideshow() (line 518 of /home/content/72/7233672/html/sites/all/modules/field_slideshow/field_slideshow.module).
•Notice: Undefined index: order in theme_field_slideshow() (line 519 of /home/content/72/7233672/html/sites/all/modules/field_slideshow/field_slideshow.module).

The slideshows appear to be functioning correctly but i need these errors resolved.
How do i fix these?

Comments

tamaram17’s picture

I am also receiving error messages after updating. Any help will be greatly appreciated.

* Notice: Undefined index: slideshow_order in field_slideshow_field_formatter_view() (line 464 of /home/tama5185/public_html/sites/all/modules/field_slideshow/field_slideshow.module).
* Notice: Undefined index: slideshow_carousel_image_style in field_slideshow_field_formatter_view() (line 469 of /home/tama5185/public_html/sites/all/modules/field_slideshow/field_slideshow.module).
* Notice: Undefined index: slideshow_carousel_visible in field_slideshow_field_formatter_view() (line 470 of /home/tama5185/public_html/sites/all/modules/field_slideshow/field_slideshow.module).
* Notice: Undefined index: slideshow_carousel_scroll in field_slideshow_field_formatter_view() (line 471 of /home/tama5185/public_html/sites/all/modules/field_slideshow/field_slideshow.module).
* Notice: Undefined index: slideshow_carousel_speed in field_slideshow_field_formatter_view() (line 472 of /home/tama5185/public_html/sites/all/modules/field_slideshow/field_slideshow.module).
* Notice: Undefined index: slideshow_carousel_vertical in field_slideshow_field_formatter_view() (line 473 of /home/tama5185/public_html/sites/all/modules/field_slideshow/field_slideshow.module).
* Notice: Undefined index: slideshow_order in field_slideshow_field_formatter_view() (line 464 of /home/tama5185/public_html/sites/all/modules/field_slideshow/field_slideshow.module).
* Notice: Undefined index: slideshow_carousel_image_style in field_slideshow_field_formatter_view() (line 469 of /home/tama5185/public_html/sites/all/modules/field_slideshow/field_slideshow.module).
* Notice: Undefined index: slideshow_carousel_visible in field_slideshow_field_formatter_view() (line 470 of /home/tama5185/public_html/sites/all/modules/field_slideshow/field_slideshow.module).
* Notice: Undefined index: slideshow_carousel_scroll in field_slideshow_field_formatter_view() (line 471 of /home/tama5185/public_html/sites/all/modules/field_slideshow/field_slideshow.module).
* Notice: Undefined index: slideshow_carousel_speed in field_slideshow_field_formatter_view() (line 472 of /home/tama5185/public_html/sites/all/modules/field_slideshow/field_slideshow.module).
* Notice: Undefined index: slideshow_carousel_vertical in field_slideshow_field_formatter_view() (line 473 of /home/tama5185/public_html/sites/all/modules/field_slideshow/field_slideshow.module).

Jackinloadup’s picture

also getting errors. Following

scottrouse’s picture

I get WSOD on any page using a Field Slideshow element after update. Reverted to previous version (1.0) and functionality was restored. I have many other modules on the site, but it was definitely Field Slideshow that caused the WSOD.

jdanthinne’s picture

I've just pushed fixes to the DEV version.
Please download next DEV (from May 29th) and review.

supawiz6991’s picture

I'll be testing this out either today or tomorrow morning and i will report back here to let you know how it went.

supawiz6991’s picture

Status: Active » Fixed

I'm happy to report that after installing the dev version and re-enabling all messages, I haven't had any of the previously mentioned errors show up. I'll keep an eye on it but in the mean time thank you for the fix! <:)

Status: Fixed » Closed (fixed)

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

rhouse’s picture

Status: Closed (fixed) » Active

I am still seeing this, but only on admin pages (such as the modules page). (Using the latest dev tarfile):

Notice: Undefined index: order in theme_field_slideshow() (line 527 of /home/user/public_html/site/sites/all/modules/field_slideshow/field_slideshow.module).
Notice: Undefined index: order in theme_field_slideshow() (line 528 of /home/user/public_html/site/sites/all/modules/field_slideshow/field_slideshow.module).
Notice: Undefined index: image_style in theme_field_slideshow() (line 547 of /home/user/public_html/site/sites/all/modules/field_slideshow/field_slideshow.module).
Notice: Undefined index: image_style in theme_field_slideshow() (line 556 of /home/user/public_html/site/sites/all/modules/field_slideshow/field_slideshow.module).
Notice: Undefined index: path in theme_field_slideshow() (line 580 of /home/user/public_html/site/sites/all/modules/field_slideshow/field_slideshow.module).
Notice: Undefined index: image_style in theme_field_slideshow() (line 547 of /home/user/public_html/site/sites/all/modules/field_slideshow/field_slideshow.module).
Notice: Undefined index: image_style in theme_field_slideshow() (line 556 of /home/user/public_html/site/sites/all/modules/field_slideshow/field_slideshow.module).
Notice: Undefined index: path in theme_field_slideshow() (line 580 of /home/user/public_html/site/sites/all/modules/field_slideshow/field_slideshow.module).
Notice: Undefined index: image_style in theme_field_slideshow() (line 547 of /home/user/public_html/site/sites/all/modules/field_slideshow/field_slideshow.module).
Notice: Undefined index: image_style in theme_field_slideshow() (line 556 of /home/user/public_html/site/sites/all/modules/field_slideshow/field_slideshow.module).
Notice: Undefined index: path in theme_field_slideshow() (line 580 of /home/user/public_html/site/sites/all/modules/field_slideshow/field_slideshow.module).
Notice: Undefined index: image_style in theme_field_slideshow() (line 547 of /home/user/public_html/site/sites/all/modules/field_slideshow/field_slideshow.module).
Notice: Undefined index: image_style in theme_field_slideshow() (line 556 of /home/user/public_html/site/sites/all/modules/field_slideshow/field_slideshow.module).
Notice: Undefined index: path in theme_field_slideshow() (line 580 of /home/user/public_html/site/sites/all/modules/field_slideshow/field_slideshow.module).
Notice: Undefined index: pager in theme_field_slideshow() (line 599 of /home/user/public_html/site/sites/all/modules/field_slideshow/field_slideshow.module).
Notice: Undefined index: controls in theme_field_slideshow() (line 600 of /home/user/public_html/site/sites/all/modules/field_slideshow/field_slideshow.module).
Notice: Undefined index: controls in theme_field_slideshow() (line 614 of /home/user/public_html/site/sites/all/modules/field_slideshow/field_slideshow.module).
Notice: Undefined index: pager in theme_field_slideshow() (line 619 of /home/user/public_html/site/sites/all/modules/field_slideshow/field_slideshow.module).
Notice: Undefined index: pager in theme_field_slideshow() (line 672 of /home/user/public_html/site/sites/all/modules/field_slideshow/field_slideshow.module).

rhouse’s picture

Title: Multiple errors displayed after update. » Multiple errors displayed after update. (fixed?)
StatusFileSize
new1.17 KB

I have found some bugs that seem to be responsible for the faulty messages. We thought this was fixed before, but it reappeared, so this needs extensive testing.

rhouse’s picture

Oops, still more undefined fields coming up! This patch gets them - it includes the previous patch, so you only need this one.

NB: This needs reviewing by the module maintainer, as I am just spotting php infelicities and making the likeliest fix, I am not certain they are taking all the module's logic into account.

jdanthinne’s picture

Version: 7.x-1.1 » 7.x-1.x-dev
Status: Active » Needs review

Seems ok for me.
Just pushed the fixes to DEV.
Please test tomorrow when available.

Thanks @rhouse.

jdanthinne’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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

siluet345’s picture

I use field_slideshow-7.x-1.6, but got warning every time I uploaded new image:

Warning: Invalid argument supplied for foreach() in file_field_widget_submit() (line 756 of /home/u248951047/public_html/modules/file/file.field.inc).
Warning: array_values() [function.array-values]: The argument should be an array in file_field_widget_submit() (line 763 of /home/u248951047/public_html/modules/file/file.field.inc).

siluet345’s picture

Status: Closed (fixed) » Active
idflood’s picture

@siluet345: Thanks for reporting this issue. Can you try with the dev version and report back if it works or not? By the way, you should create a backup first before updating.

There has been many fixes and changes since the 1.6 version, so hopefully this issue has already been fixed.

siluet345’s picture

@idflood, I installed field_slideshow-7.x-1.x-dev, when uploading images I still got warning:

Warning: Invalid argument supplied for foreach() in file_field_widget_submit() (line 756 of /home/u701957526/public_html/modules/file/file.field.inc).
Warning: array_values() [function.array-values]: The argument should be an array in file_field_widget_submit() (line 763 of /home/u701957526/public_html/modules/file/file.field.inc).

When I remove image, I got notice:

Notice: Undefined index: und in field_slideshow_field_formatter_view() (line 581 of /home/u701957526/public_html/sites/all/modules/field_slideshow/field_slideshow.module).
Notice: Undefined index: und in field_slideshow_field_formatter_view() (line 581 of /home/u701957526/public_html/sites/all/modules/field_slideshow/field_slideshow.module).

muranod’s picture

I just updated and am getting the same error as #17. It seems to be working, though I am just getting started.

Warning: Invalid argument supplied for foreach() in file_field_widget_submit() (line 756 of C:\wamp\www\drupal-7.10\modules\file\file.field.inc).
Warning: array_values() expects parameter 1 to be array, null given in file_field_widget_submit() (line 763 of C:\wamp\www\drupal-7.10\modules\file\file.field.inc).

I am using 7.x-1.7 and field collections to provide long text caption support.

UPDATE: I have been experimenting with many ways to create galleries and created several different content types in the process.

Of two similar gallery content types, the one with error messages uses the media image widget; the one that seems to work fine is the one using the media file sector. Both of these pull the images through the field collection module.

That said, once I get a finished gallery, I will set this up on my live site which currently has no slideshow modules installed. I am worried that I might have some confusion between views field slideshow and field slideshow modules. Sorry - but so many modules have similar names, and I have two items in the display widget of each content type that both read "Slideshow."

ONE MORE FOLLOWUP (sorry for so many, but all in the line of figuring this out):
I switched to the Multiupload widget and got even more errors, but I don't get any with the Media File Selector, so that may be the route to try first.

  • jdanthinne committed 668b38a on 8.x-1.x
    [#1162594] : remove PHP notices when upgrading
    
    
  • jdanthinne committed 6e92be5 on 8.x-1.x
    [#1162594] by rhouse : fix untested vars.
    
    

  • jdanthinne committed 668b38a on 8.x-2.x
    [#1162594] : remove PHP notices when upgrading
    
    
  • jdanthinne committed 6e92be5 on 8.x-2.x
    [#1162594] by rhouse : fix untested vars.
    
    
ajits’s picture

Version: 7.x-1.x-dev » 7.x-2.x-dev

Can we check if the same errors appear on 7.x-2.x branch?

lamp5’s picture

Status: Active » Closed (outdated)