fixed php warning when trying to find placeholder for importing resources in array instead of string