Wastewater can supplement freshwater in agriculture; however, it contains toxic heavy metals such as cadmium, chromium, and lead that are hazardous to humans and the environment. We investigated the effects of barley straw biochar, green and table waste