I have FAQ's configured as categories which link to seperate pages of FAQs. When I view the top level index page, I get this error:
Notice: Undefined offset: 3 in faq_page() (line 550 of /home/impactsurvey/htdocs/sites/impactsurvey.org/modules/faq/faq.module).
This may be related to a previous error I reported, http://drupal.org/node/1033086 I am not sure why its different now.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 1041344-fix-undefined-offset.patch | 670 bytes | brianV |
Comments
Comment #1
brianV commentedAttached patch should clear up this notice.
Comment #2
brianV commentedJust making the title a little more accurate for now.
Comment #3
mortona2k commentedI think that worked! Thanks Brian, you rock!
Comment #4
s@ilor commentedMaybe related?
I have this error:
It appears, when I click to configure the Pathauto module(?)
If I'm in the wrong place here, please direct me to the correct one.
Thanks,
Comment #5
brianV commented@Drunkensailor: Please put that in it's own issue - it's not related, but probably a simple fix.
Comment #6
Fanaile commentedI was coming to search for a similar error message that I received:
"Undefined offset: 4 in faq_page() (line 549 of..."
So, I thought maybe it was close enough - and applying the patch did work and get rid of the error as well.
Comment #7
mortona2k commentedI just updated to the Feb 24 dev release, which doesn't include this patch, and the error returned. This patch works, get it in the module. Fanaile, the new update we're using doesn't have the ID line at the top of the file, so its line 549, don't know why...
Comment #8
flightrisk commentedI'm the one running into this. I'll try to put it in its own issue. It isn't limited to just the the pathauto configuration. Several places in drupal when clicking on things or saving things gives me this error.
Comment #9
stella commentedCommitted, thanks!