strict and notice php error removed for admin document elements