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

Files: 

Comments

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) {

Yes, in last code.

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.

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

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

7.21

Status:Postponed (maintainer needs more info)» Active

Status:Active» Fixed
StatusFileSize
new1.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.