Details
-
Type: Improvement
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.2.7
-
Fix Version/s: 4.3.0
-
Component/s: Core CiviCRM
-
Labels:None
Description
After upgrading my environment (PHP), I get warnings on the screen after selecting CiviCRM on the Drupal-menu.
Strict warning: Non-static method CRM_Core_Block::setTemplateValues() should not be called statically in CRM_Core_Block::setTemplateValues() (regel 587 van C:\wamp\www\drupal\sites\all\modules\civicrm\CRM\Core\Block.php).
Strict warning: Non-static method CRM_Core_Block::setTemplateShortcutValues() should not be called statically in CRM_Core_Block::setTemplateShortcutValues() (regel 287 van C:\wamp\www\drupal\sites\all\modules\civicrm\CRM\Core\Block.php).
Strict warning: Non-static method CRM_Core_Block::setTemplateDashboardValues() should not be called statically in CRM_Core_Block::setTemplateDashboardValues() (regel 291 van C:\wamp\www\drupal\sites\all\modules\civicrm\CRM\Core\Block.php).
The warning can be removed by adding "strict" (private static function)
to the lines 284, 336 and 436 in civicrm\CRM\Core\Block.php regel