I receive this error when clicking on configure FAQ_ASK on the blocks screen:

Notice: Undefined variable: form in faq_ask_block_configure() (line 1490 of /home/...../public_html/sites/all/modules/faq_ask/faq_ask.module).

Anyone have an idea on how I can track down what this means?

CommentFileSizeAuthor
#4 faq_ask.1549262.patch738 bytesreswild
#3 faq_ask.1549262.patch866 bytesreswild

Comments

Ole Martin’s picture

Me to...

Notice: Undefined variable: form i faq_ask_block_configure() (linje 1490 av /home/xxxx/domains/xxxxx.no/public_html/sites/all/modules/faq_ask/faq_ask.module).

Ole Martin’s picture

I get this also when I post a Question:
Warning: array_values() expects parameter 1 to be array, string given i _field_filter_items() (linje 527 av /home/xxxx/domains/xxxxx.no/public_html/modules/field/field.module).

Warning: Invalid argument supplied for foreach() i text_field_validate() (linje 119 av /home/xxxx/domains/xxxxx.no/public_html/modules/field/modules/text/text.module).

Notice: Undefined index: #language i locale_field_node_form_submit() (linje 404 av /home/xxxx/domains/xxxxx.no/public_html/modules/locale/locale.module).

reswild’s picture

Version: 7.x-0.1 » 7.x-1.x-dev
StatusFileSize
new866 bytes

Here is a patch for the original issue.

The other errors I think appear because the FAQ content type has a body field which is ignored by this module. You should probably open a separate issue for that, though.

reswild’s picture

StatusFileSize
new738 bytes

Here it is again, this time with cleaned up paths...

Ole Martin’s picture

stenjo’s picture

Assigned: Unassigned » stenjo
Status: Active » Needs review

Patch fromn #4 is committed to dev now. Thank you reswild!

Ole Martin’s picture

It's work fine !

stenjo’s picture

Status: Needs review » Fixed

Cool! I'll remove this then.

Status: Fixed » Closed (fixed)

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