Not the default ones and not ones that I create.
When i go to admin/content/casetracker/state/edit/1 or any number, i get
warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/aware3/public_html/includes/menu.inc on line 415.
warning: Missing argument 1 for drupal_get_form() in /home/aware3/public_html/includes/form.inc on line 48.
warning: Missing argument 1 for drupal_retrieve_form() in /home/aware3/public_html/includes/form.inc on line 178.
warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, '' was given in /home/aware3/public_html/includes/form.inc on line 217
and the form is like
<h1 class="title">Edit case state</h1>
<form action="/admin/content/casetracker/state/edit/1" method="post" id="">
<div><input type="hidden" name="form_token" id="edit--form-token" value="fa0e01b802171aa052ca92351bf32d95" />
</div></form>
/me yells for help
Comments
Comment #1
VenDG commentedI wanted to edit the case states that come with case tracker. Clicked on 'edit', I get the same error for all of them
* warning: array_merge() [function.array-merge]: Argument #1 is not an array in ... \includes\menu.inc on line 415.
* warning: Missing argument 1 for drupal_get_form() in ... \includes\form.inc on line 48.
* warning: Missing argument 1 for drupal_retrieve_form() in ... \includes\form.inc on line 178.
* warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, '' was given in ... \includes\form.inc on line 217.
Comment #2
amariotti commentedI am also getting the same error as VenDG and DawnLight:
We're doing some testing on implementing this into our current workflow. Hopefully we can get this fixed asap. Thanks in advance.
Comment #3
zero2one commentedCan you try this with the beta2 release?
Comment #4
VenDG commentedThe error message remains with beta2
I go to administer content -> case states -> then click on edit for anyone of the states -> error:
* warning: array_merge() [function.array-merge]: Argument #1 is not an array in ...\includes\menu.inc on line 415.
* warning: Missing argument 1 for drupal_get_form() in ...\includes\form.inc on line 48.
* warning: Missing argument 1 for drupal_retrieve_form() in ...\includes\form.inc on line 178.
* warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, '' was given in ...\includes\form.inc on line 217.
Comment #5
mightyiam commentedbeta2 solved it for me. Thanks!
VenDG: You sure you've deleted the module and uninstalled it also before you installed beta2?
Comment #6
VenDG commentedI will try doing that and report back.
No, still the same. I even installed beta2 on a separate site with the same results.
Running Drupal 5.3 on Apache/2.0.54 (Win32) PHP/5.2.4
Comment #7
zero2one commentedDebugged php errors when editing case states: Misconfigured menu array callback arguments.
Released, see: #193431
Comment #8
leehunter commentedFix seems to have created a new bug. When I go to the Case Tracker page I get lots of errors and no case states. The create tab looks ok but results in the following errors
user warning: Unknown column 'weight' in 'field list' query: INSERT INTO casetracker_case_states (case_state_name, case_state_realm, weight) VALUES ('High', 'priority', 0) in C:\Web\WebServer\Apache2\htdocs\architecture\includes\database.mysql.inc on line 172.
user warning: Unknown column 'weight' in 'field list' query: SELECT csid, case_state_name, case_state_realm, weight FROM casetracker_case_states ORDER BY weight in C:\Web\WebServer\Apache2\htdocs\architecture\includes\database.mysql.inc on line 172.
warning: Invalid argument supplied for foreach() in C:\Web\WebServer\Apache2\htdocs\architecture\sites\all\modules\casetracker\casetracker.module on line 554.
user warning: Unknown column 'weight' in 'field list' query: SELECT csid, case_state_name, case_state_realm, weight FROM casetracker_case_states ORDER BY weight in C:\Web\WebServer\Apache2\htdocs\architecture\includes\database.mysql.inc on line 172.
warning: Invalid argument supplied for foreach() in C:\Web\WebServer\Apache2\htdocs\architecture\sites\all\modules\casetracker\casetracker.module on line 554.
user warning: Unknown column 'weight' in 'field list' query: SELECT csid, case_state_name, case_state_realm, weight FROM casetracker_case_states ORDER BY weight in C:\Web\WebServer\Apache2\htdocs\architecture\includes\database.mysql.inc on line 172.
warning: Invalid argument supplied for foreach() in C:\Web\WebServer\Apache2\htdocs\architecture\sites\all\modules\casetracker\casetracker.module on line 554.
Also on the casetracker/dashboard page we get these errors:
user warning: Unknown column 'weight' in 'field list' query: SELECT csid, case_state_name, case_state_realm, weight FROM casetracker_case_states ORDER BY weight in C:\Web\WebServer\Apache2\htdocs\architecture\includes\database.mysql.inc on line 172.
warning: Invalid argument supplied for foreach() in C:\Web\WebServer\Apache2\htdocs\architecture\sites\all\modules\casetracker\casetracker.module on line 554.
Comment #9
zero2one commentedYou should always run the database upgrade script after upgrading you're core/modules ;-)
Comment #10
leehunter commentedStill getting this error (I did update the database):
* warning: array_merge() [function.array-merge]: Argument #1 is not an array in C:\xampp\htdocs\Drupal\includes\menu.inc on line 415.
* warning: Missing argument 1 for drupal_get_form() in C:\xampp\htdocs\Drupal\includes\form.inc on line 48.
* warning: Missing argument 1 for drupal_retrieve_form() in C:\xampp\htdocs\Drupal\includes\form.inc on line 178.
* warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, '' was given in C:\xampp\htdocs\Drupal\includes\form.inc on line 217.
Comment #11
zero2one commentedDid you go to the /admin/build/menu page? This will reload the menu cache.
It is possible that youre installation still uses the old (cached) menu settings
And please us the 5.x-1.2 release.
Comment #12
leehunter commentedYou're right, the menu cache was the problem. Everything looks fine now. Thanks!
Comment #13
VenDG commentedGreat thanks. It's working for me now.
Comment #14
zero2one commented