Posted by invisible_swordsman on April 22, 2009 at 9:06pm
Jump to:
| Project: | Movie database |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (cannot reproduce) |
Issue Summary
Hey,
I got these two message errors:
* warning: ksort() expects parameter 1 to be array, null given in /pathto/public_html/modules/moviedb/mdb_theme.inc on line 73.
* warning: Invalid argument supplied for foreach() in /pathto/public_html/modules/moviedb/mdb_movie.tpl.php on line 16.
It happened when I was creating a first test content with the module.
It is working, the content is there, but I got the errors and thought I should better report them.
Comments
#1
Thanks for reporting these messages, there ae a few lurking in this module, although none of them seem to effect functionality strangely. Will try to iron them out over the course of next few months, and create a stable release.
#2
Same thing with me. Any luck?
#3
Looking at the code made the reason pretty obvious to me: If you don't specify anybody in the movie's crew, those errors will be triggered.
It could be fixed easily in the code.
#4
Will be fixed in next release