I am repeatedly being show this error:
warning: array_search() [function.array-search]: Wrong datatype for second argument in /home/user/public_html/domain/sites/all/modules/javascript_aggregator/javascript_aggregator.module on line 50.

Lines 49 and 50 read:
// If javascript_aggregator's preprocess function is there already, remove it.
if ($key = array_search('javascript_aggregator_preprocess_page', $theme_registry['page']['preprocess functions'])) {

Anyone can point me the way to fix this? Thanks,

CommentFileSizeAuthor
#2 test_datatype_array.patch889 bytesderjochenmeyer
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

derjochenmeyer’s picture

Status: Active » Postponed (maintainer needs more info)

Did anyone else run into this error?

derjochenmeyer’s picture

Status: Postponed (maintainer needs more info) » Needs review
FileSize
889 bytes

Please review/test this patch and report if it works and if it solves the problem.

derjochenmeyer’s picture

Status: Needs review » Fixed

Committed: http://drupal.org/cvs?commit=354390

Will be released in new dev version first.

Please report any errors.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.