Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Fixed/Completed
-
Affects Version/s: 3.4.6, 4.0.6
-
Fix Version/s: 3.4.7
-
Component/s: None
-
Labels:None
Description
This looks pretty trivial $config is being used but isn't instantiated in civicrm_preprocess_page() - implies something might be broken? This is in the D6 version in 3.4 (which is also being used for trunk
$localisation = explode( '_', $config->lcMessages );
Assume we just need to add right above it.
require_once 'CRM/Core/Config.php';
$config = CRM_Core_Config::singleton();
Notice: Trying to get property of non-object in civicrm_preprocess_page() (line 927 of C:\webroot\d6\sites\wcan-t\modules\civicrm\drupal\civicrm.module).