hi,

I am getting following error while enabling the block. Can anybody tell me why i am getting this error and how can i fix this?

warning: array_merge() [function.array-merge]: Argument #2 is not an array in C:\wamp\www\CLASSEs\...\includes\form.inc on line 572.

CommentFileSizeAuthor
#13 http_error.gif3.4 KBdoomed

Comments

student297’s picture

HI, is there anybody?

danielb’s picture

Yeah mate, it doesn't actually cause any malfunction though does it??

danielb’s picture

Priority: Critical » Minor

obviously not critical

doomed’s picture

Hello

I'm getting similar error messages every time i hit the Save button on a Autocomplete Block configuration page.


* warning: array_merge() [function.array-merge]: Argument #2 is not an array in C:\xampp\htdocs\drupal5\includes\form.inc on line 574.
* warning: array_merge() [function.array-merge]: Argument #2 is not an array in C:\xampp\htdocs\drupal5\includes\form.inc on line 574.

The problem is: the module is not working for me (never yields results), so i dont know if the error message is related or not.

danielb’s picture

Priority: Minor » Critical

ok then that is critical, will look tonight

danielb’s picture

Status: Active » Fixed

This is fixed now.

doomed’s picture

Yes, version 5.3.4 is working.

Thanks Danielb!

preper’s picture

thank you very much daniel.. when it is submitted without choosing or writing something this error is occurs;

warning: current() [function.current]: Passed variable is not an array or object in /home/public_html/modules/autocomplete_node_finder/autocomplete_node_finder.module on line 838.

what should I do?

danielb’s picture

I will look into fixing that error

danielb’s picture

I haven't specifically addressed this problem, but I've been porting updates from the d6 version to d5, and I believe this has caused the problem to go away.
Reopen if you continue to have it - but I have tried with a number of different config settings and this never happens anymore.

preper’s picture

thanks daniel it has gone away now..

doomed’s picture

Status: Fixed » Active

Hello danielb,

On the new version 5.3.8, i'm getting an error message when i try to search for something that should have no results:


warning: current() [function.current]: Passed variable is not an array or object in C:\xampp\htdocs\drupalv5\sites\all\modules\autocomplete_node_finder\autocomplete_node_finder.module on line 843.

doomed’s picture

Version: 5.x-3.3 » 5.x-3.8
StatusFileSize
new3.4 KB

I'm also getting this error that comes on a new error message box (popup):


An HTTP error 0 occured.

http://virtual01/drupalv5/autocomplete_node_finder/autocomplete/0

This happens randomly when doing new searches. I dont know yet what makes it happen.

danielb’s picture

On the new version 5.3.8, i'm getting an error message when i try to search for something that should have no results:

Oh ok I didn't think of 'bad search term' along with 'no search term'. I will address this when I can.
(You could possibly solve this with the validation options)

An HTTP error 0 occured.

This usually happens when you try to press something while the autocomplete is thinking. Nothing I can do about that, it is a problem with all the autocompletes in drupal.

doomed’s picture

Let me rephrase that:

On the new version 5.3.8, i'm getting an error message when i try to search for something that should have no results

Should read as:

On the new version 5.3.8, i'm getting an error message whenever i try to search for something that yields no results. Like if I search for potatoes (my site has no potatoes), instead of a page with "no results were found" i get the error message.

codenamerhubarb’s picture

But every site should have at least 2 potatoes ;o)

danielb’s picture

Status: Active » Postponed (maintainer needs more info)

Sorry I cannot reproduce this error.

danielb’s picture

Priority: Critical » Normal
danielb’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

Ah this is also old, not related to the original topic, and one version behind. Please start a new issue if you encounter this problem.