The borough council has issued a warning to dog owners after suspected palm oil was found on the beach in Hastings.