strict and notice php error removed for admin object elements