Removal of strict and notice php errors for frontend and backend