Hi, I have this php warning:

Warning: Missing argument 4 for advagg_css_compress_advagg_get_css_aggregate_contents_alter(), called in ...includes/module.inc on line 1056 and defined in advagg_css_compress_advagg_get_css_aggregate_contents_alter() (line 11 of ...sites/all/modules/advagg/advagg_css_compress/advagg_css_compress.advagg.inc).

Regards

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mikeytown2’s picture

Status: Active » Postponed (maintainer needs more info)

Is this with the latest code?
This what the alter looks like
drupal_alter('advagg_get_css_aggregate_contents', $data, $files, $optimize, $aggregate_settings);; there are a total of 1+4 arguments passed into drupal_alter() and the function takes the same arguments
function advagg_css_compress_advagg_get_css_aggregate_contents_alter(&$data, $files, $optimize, $aggregate_settings) {

facine’s picture

Yes, in last code.

mikeytown2’s picture

Try uninstalling (one more step past disable) and reinstalling. I added in a database table #1942326: advagg_get_hooks_hash needs to be a table and not use the variables table this could be causing issues.

facine’s picture

* Re-Update it to the last release
* Disable it
* Uninstall it
* Clear cache
* Install it
* Same error

mikeytown2’s picture

Final question. What is your version number for Drupal 7, 7.21?

facine’s picture

7.21

mikeytown2’s picture

Status: Postponed (maintainer needs more info) » Active
mikeytown2’s picture

Status: Active » Fixed
FileSize
1.72 KB

The following patch has been committed. Reopen if this doesn't fix the issue.

Status: Fixed » Closed (fixed)

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