Fix PHP warnings, cache not found paths.