I am getting the following error in Watchdog (and the top of the front page) when I load/refresh the front page after enabling event.module:
warning: in_array(): Wrong datatype for second argument in /home/rmt0215/public_html/modules/event/event.module on line 1810.
I am running drupal 4.63. The site is listed in my signature.
-
I hope there is something I did wrong, but I can't find it. Steps I took were:
- Install flexinode. Had error because I forgot to run the .mysql file. Fixed it.
- Created a content type "calendar item", which incidentally had unnecessary date fields. I deleted and recreated this node type later. Point is - flexinode is working before event is installed.
- Upload contents of event folder to modules/event
- Run .mysql file
- Enabled event on Administer >> Modules.
- errors on front page.
I played with the module some, looking for a setting that was amiss. I was able to set the calendar item content type to display in all views and add an event to the calendar, which shows on the calendar, and when on which I click loads an event description, as expected. Clicking October in the calendar title loads a month view in the content area. In short, the module is working very well. It has simply introduced an error that I get everytime I load the front page.
Comments
Furthermore...
Ok:
So now this is in the wrong spot because it's suddenly become a, "How do I -". Sorry again.
_________
bob-thompson.com
I have the same problem
warning: in_array(): Wrong datatype for second argument in /home/mywebsite.com/public_html/drpl/modules/event/event.module on line 1810.
Wait til tomorrow
Re: http://drupal.org/node/33013
When a problem is fixed, it may take a day or so before the patched file is available in the downloads section.
Try downloading the module again tomorrow, and it should work.
Hope that clarifies things,
Gary
Thank you...
I'm running 4.63 not CVS on my site, but if I can see the fixed code, I can probably apply it to my module manually. I'll share my findings.
Thank you!
_________
bob-thompson.com
Same problem
Ok, I will wait until tomorrow me to.
After much clicking I found
After much clicking I found this page, downloaded the updated event.module and event.theme from the relevant links, replaced the files on my site and the problem is resolved. Thanks again, Gary, for shedding light on the process.
_________
bob-thompson.com