Showing error while adding a field in editview

Please make sure that notices aren’t considered on error_handling . For that you can update the error handling entry in php.ini

error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT & ~E_NOTICE & ~E_WARNING