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?
| Comment | File | Size | Author |
|---|---|---|---|
| #10 | field-slideshow-multiple-errors-fix-1162594-9.patch | 4.2 KB | rhouse |
| #9 | field-slideshow-multiple-errors-fix-1162594-8.patch | 1.17 KB | rhouse |
Comments
Comment #1
tamaram17 commentedI 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).
Comment #2
Jackinloadup commentedalso getting errors. Following
Comment #3
scottrouse commentedI 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.
Comment #4
jdanthinne commentedI've just pushed fixes to the DEV version.
Please download next DEV (from May 29th) and review.
Comment #5
supawiz6991 commentedI'll be testing this out either today or tomorrow morning and i will report back here to let you know how it went.
Comment #6
supawiz6991 commentedI'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! <:)
Comment #8
rhouse commentedI 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).
Comment #9
rhouse commentedI 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.
Comment #10
rhouse commentedOops, 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.
Comment #11
jdanthinne commentedSeems ok for me.
Just pushed the fixes to DEV.
Please test tomorrow when available.
Thanks @rhouse.
Comment #12
jdanthinne commentedComment #14
siluet345 commentedI 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).
Comment #15
siluet345 commentedComment #16
idflood commented@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.
Comment #17
siluet345 commented@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).
Comment #18
muranod commentedI 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.
Comment #21
ajitsCan we check if the same errors appear on 7.x-2.x branch?
Comment #22
lamp5