Warning: Undefined array key "HTTPS" in include() (line 29 of /opt/www/fdv2/drupal.stage/web/sites/default/settings.local.php).
include('/opt/www/fdv2/drupal.stage/web/sites/default/settings.local.php') (Line: 4)
require('/opt/www/fdv2/drupal.stage/web/sites/drupal001.net/settings.php') (Line: 145)
Drupal\Core\Site\Settings::initialize('/opt/www/fdv2/drupal.stage/web', 'sites/drupal001.net', Object) (Line: 1099)
Drupal\Core\DrupalKernel->initializeSettings(Object) (Line: 701)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
Notice: Undefined index: mytracer_admin_form in drupal_retrieve_form() (line 806 of D:\website\zkf - Drupal大学 - Drupal问答论坛
首页 / 帖子
Notice: Undefined index: mytracer_admin_form in drupal_retrieve_form() (line 806 of D:\website\zkf

只要是调用form api 就出现这个问题,我使用error_reporting(0)就没有错误,但是页面的提交框都没有出现,但是如果不使用这个机制,还有其他方法吗

1个答案
王斌
发布于:2016-05-05 21:03
这个是你的form表单的参数不对,第一个参数和第二个参数不要搞错