drupal_lookup_path('wipe') is supposed to clear the path cache (which is stored in static variables), but it fails to clear the $count variable. In some situations this could lead to difficult problems.
drupal_lookup_path('wipe') is supposed to clear the path cache (which is stored in static variables), but it fails to clear the $count variable. In some situations this could lead to difficult problems.
Comments
Comment #1
kbahey commentedThis patch has a fix for it, among other things.
Comment #2
mdupontMarked duplicate of #106559: drupal_lookup_path() optimization - skip looking up certain paths in drupal_lookup_path()