我无法在CIVI CRM页面上创建任何事件,正在显示以下警告消息。找不到配置事件
strict warning: Non-static method HTML_QuickForm_RuleRegistry::singleton() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\drupal\sites\all\modules\civicrm\packages\HTML\QuickForm.php on line 388.
strict warning: Non-static method HTML_QuickForm_RuleRegistry::singleton() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\drupal\sites\all\modules\civicrm\packages\HTML\QuickForm.php on line 388.
strict warning: Non-static method HTML_QuickForm_RuleRegistry::singleton() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\drupal\sites\all\modules\civicrm\packages\HTML\QuickForm.php on line 388.
strict warning: Non-static method HTML_QuickForm_RuleRegistry::singleton() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\drupal\sites\all\modules\civicrm\packages\HTML\QuickForm.php on line 388.
strict warning: Non-static method HTML_QuickForm_RuleRegistry::singleton() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\drupal\sites\all\modules\civicrm\packages\HTML\QuickForm.php on line 388.
strict warning: Non-static method HTML_QuickForm_RuleRegistry::singleton() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\drupal\sites\all\modules\civicrm\packages\HTML\QuickForm.php on line 388.
strict warning: Non-static method HTML_QuickForm_RuleRegistry::singleton() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\drupal\sites\all\modules\civicrm\packages\HTML\QuickForm.php on line 388.
strict warning: Non-static method HTML_QuickForm_RuleRegistry::singleton() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\drupal\sites\all\modules\civicrm\packages\HTML\QuickForm.php on line 388.
strict warning: Non-static method HTML_QuickForm_RuleRegistry::singleton() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\drupal\sites\all\modules\civicrm\packages\HTML\QuickForm.php on line 388.
strict warning: Non-static method HTML_QuickForm_RuleRegistry::singleton() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\drupal\sites\all\modules\civicrm\packages\HTML\QuickForm.php on line 388.
strict warning: Non-static method HTML_QuickForm_RuleRegistry::singleton() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\drupal\sites\all\modules\civicrm\packages\HTML\QuickForm.php on line 388.
strict warning: Non-static method HTML_QuickForm_RuleRegistry::singleton() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\drupal\sites\all\modules\civicrm\packages\HTML\QuickForm.php on line 388.
strict warning: Non-static method HTML_QuickForm_RuleRegistry::singleton() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\drupal\sites\all\modules\civicrm\packages\HTML\QuickForm.php on line 388.
strict warning: Non-static method HTML_QuickForm_RuleRegistry::singleton() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\drupal\sites\all\modules\civicrm\packages\HTML\QuickForm.php on line 388.
strict warning: Non-static method HTML_QuickForm_RuleRegistry::singleton() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\drupal\sites\all\modules\civicrm\packages\HTML\QuickForm.php on line 388.
strict warning: Non-static method HTML_QuickForm_RuleRegistry::singleton() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\drupal\sites\all\modules\civicrm\packages\HTML\QuickForm.php on line 388.
strict warning: Non-static method HTML_QuickForm_RuleRegistry::singleton() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\drupal\sites\all\modules\civicrm\packages\HTML\QuickForm.php on line 388.
strict warning: Non-static method HTML_QuickForm_RuleRegistry::singleton() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\drupal\sites\all\modules\civicrm\packages\HTML\QuickForm.php on line 388.
strict warning: Non-static method HTML_QuickForm_RuleRegistry::singleton() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\drupal\sites\all\modules\civicrm\packages\HTML\QuickForm.php on line 388.
strict warning: Non-static method HTML_QuickForm_RuleRegistry::singleton() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\drupal\sites\all\modules\civicrm\packages\HTML\QuickForm.php on line 388.
strict warning: Non-static method HTML_QuickForm_RuleRegistry::singleton() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\drupal\sites\all\modules\civicrm\packages\HTML\QuickForm.php on line 388.
strict warning: Non-static method HTML_QuickForm_RuleRegistry::singleton() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\drupal\sites\all\modules\civicrm\packages\HTML\QuickForm.php on line 388.
strict warning: Non-static method HTML_QuickForm_RuleRegistry::singleton() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\drupal\sites\all\modules\civicrm\packages\HTML\QuickForm.php on line 388.
strict warning: Non-static method HTML_QuickForm_RuleRegistry::singleton() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\drupal\sites\all\modules\civicrm\packages\HTML\QuickForm.php on line 388.
strict warning: Non-static method HTML_QuickForm_RuleRegistry::singleton() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\drupal\sites\all\modules\civicrm\packages\HTML\QuickForm.php on line 388.
strict warning: Non-static method CRM_Core_Block::setTemplateValues() should not be called statically in C:\xampp\htdocs\drupal\sites\all\modules\civicrm\CRM\Core\Block.php on line 587.
strict warning: Non-static method CRM_Core_Block::setTemplateValues() should not be called statically in C:\xampp\htdocs\drupal\sites\all\modules\civicrm\CRM\Core\Block.php on line 587.
strict warning: Non-static method CRM_Core_Block::setTemplateDashboardValues() should not be called statically in C:\xampp\htdocs\drupal\sites\all\modules\civicrm\CRM\Core\Block.php on line 291.
strict warning: Non-static method CRM_Core_Block::setTemplateValues() should not be called statically in C:\xampp\htdocs\drupal\sites\all\modules\civicrm\CRM\Core\Block.php on line 587.发布于 2014-04-04 03:44:27
编辑以下文件:
C:\xampp\htdocs\drupal\sites\all\modules\civicrm\packages\HTML\QuickForm.php
C:\xampp\htdocs\drupal\sites\all\modules\civicrm\CRM\Core\Block.php更改:
public function singleton
public function setTemplateValues
public function setTemplateDashboardValues至:
public static function singleton
public static function setTemplateValues
public static function setTemplateDashboardValues正如您所看到的,如果您希望调用一个方法static,那么它需要在声明中包含该关键字。确保这些方法中也没有使用关键字$this。
https://stackoverflow.com/questions/22847266
复制相似问题