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.

CommentFileSizeAuthor
errors-attemptingUpgrade7.2.png259.82 KBkarilu_ec

Comments

bfroehle’s picture

Component: update.module » database update system
karilu_ec’s picture

Component: database update system » update.module

I 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.

bfroehle’s picture

Project: Drupal core » CSS Injector
Version: 7.0 » 7.x-1.x-dev
Component: update.module » Code
karilu_ec’s picture

Version: 7.x-1.x-dev » 7.x-1.5
Status: Active » Closed (fixed)

CSS injector 7.x-1.5 fixed the problem.
Thank you!