warning: missing argument

jjbarrows - December 19, 2008 - 09:19
Project:Asset
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

specific places it occurs are:
admin->site building->modules

# warning: Missing argument 1 for asset_wizard_menu() in /var/www/drupal6/sites/all/modules/asset/asset_wizard.module on line 24.
# warning: Missing argument 1 for asset_search_menu() in /var/www/drupal6/sites/all/modules/asset/contrib/asset_search/asset_search.module on line 7.

#1

niallhatton - March 16, 2009 - 00:21

same problem

#2

philb_au - March 16, 2009 - 09:21

Yep,

Exactly the same problem here. Hoping that a superhero may drop by sometime in the near future...

#3

DigOurGame - March 20, 2009 - 03:37

Same here

#4

ckani - April 7, 2009 - 16:43

Same issue, 2 days and still looking for a fix.

Please help.

#5

kari.nies - April 10, 2009 - 21:05

Same here. Has anyone gotten the Asset Wizard working in Drupal 6.10?

#6

Bryan76 - April 22, 2009 - 19:39

Apparently the funciton asset_wizard_menu is being called without an argument somewhere. The argument it needs is $may_cache. Without looking through the code, in my mind the safer but less efficient answer is FALSE. So I changed it thusly:

function asset_wizard_menu($may_cache=FALSE){

#7

spade - May 12, 2009 - 12:34

Thanks Brian,

that took care of it for me.

Keep up the good work!

Kind regards,

Frank

#8

nruest - September 8, 2009 - 19:32

Thanks Bryan!

It worked for me as well.

#9

willazilla - November 12, 2009 - 23:07

Perfect! Thank you.

 
 

Drupal is a registered trademark of Dries Buytaert.