Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When loading the website, i receive the following error:
Fatal error: Call to undefined function webform_menu_load() in \\Server\WEBSITEDATA\website\includes\menu.inc on line 410
I also recieve the following if i try to update drupal.
warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'webform_menu_load' not found or invalid function name in \\server\WEBSITEDATA\website\includes\menu.inc on line 407.
Comments
Comment #1
dddave CreditAttribution: dddave commentedSeems to be a webform problem so the best place to discuss is there. ;)
Please correct the version of webform you are using.
Comment #2
quicksketchwebform_menu_load()
is directly in webform.module, so I'm not sure how this function could be unavailable. The only way I know this could happen would be if Webform module was installed but then it was removed from the server without disabling the module first.Comment #3
Larry0788 CreditAttribution: Larry0788 commentedI used to get the same error:
Fatal error: Call to undefined function webform_menu_load() in \\Server\WEBSITEDATA\website\includes\menu.inc on line 410
and my problem was with Clean URLs. http://drupal.org/node/5590 Try to switch it off and on, or when installing apache, enable rewritebase module.
Comment #4
quicksketchI doubt this had to do with Clean URLs. If you save any settings form, it clears the caches (including the menu cache), which probably just rebuilt the menu system and removed the calls to
webform_menu_load()
if the module was disabled. As I suggested in #2, the likely cause of this is deleting the module without turning it off first.In any case, I'm certain the function exists in webform.module. If experiencing this problem, clear your caches at admin/settings/performance.