I updated my site to Drupal 7.1 and I was able to do it with no problems but when attempting to update to Drupal 7.2 I get a numerous Notices and Warnings in /includes/common.inc
Warning uasort: Array was modified by the user comparison function in drupal_get_css() (line 2919 of /var/www/drupal7/includes/common.inc)
All the notices I am getting are related drupal_sort_css(), drupal_get_css(), drupal_group_css() in the includes/common.inc file.
I followed the instructions of the UPGRADE.txt file for the update. The warnings and notices show before installing the updates. They show up when I try to run the update.php script. They also remain after installing the updates. I clear the caches and the notices went away and I was able to go back to the home screen of my site but if I run update.php again the notices and warnings come back.
I tried several times with the same results.
I don't know why these are related. I have attached a screenshot of the warnings.
| Comment | File | Size | Author |
|---|---|---|---|
| errors-attemptingUpgrade7.2.png | 259.82 KB | karilu_ec |
Comments
Comment #1
bfroehle commentedComment #2
karilu_ec commentedI have isolated the problem to the contributed module CSS Injector. After disabling the module I was able to run update.php all the way without notices or warnings. I will check in the issue queue of the project.
Sorry didn't mean to change the component of this entry.
Comment #3
bfroehle commentedComment #4
karilu_ec commentedCSS injector 7.x-1.5 fixed the problem.
Thank you!