warning: strcmp() expects parameter system.module

warning: strcmp() expects parameter 2 to be string, array given in modules\system\system.module on line 1125.
warning: strcmp() expects parameter 2 to be string, array given in modules\system\system.module on line 1125.
warning: strcmp() expects parameter 2 to be string, array given in H:\server\liveserverd\www\go\modules\system\system.module on line 1125.

FIX:::: SYSTEM.MODULE LINES 1118-11133

/** * Helper function to sort requirements. */
function _system_sort_requirements($a, $b) {
+ $a = array('weight','title');
+ $b = array('weight','title');
 if (!isset($a['weight'])) {
 if (!isset($b['weight'])) {
return strcmp($a['title'] ,$b['title']);
 }
 return -$b['weight'];
}
return isset($b['weight']) ? $a['weight'] - $b['weight'] :
$a['weight']; }

Comments

Popular posts from this blog

Solved Drupal Interview Questions

A List of the Best Drupal SEO & Social Media Modules