Error when updating from 8.5.7 to 8.5.9 using Composer OR 8.5.7 to 8.5.8

I’ve tried composer update on another website, and it spouted out a completely different error, even after trying concrete/bin/concrete5 orm:generate-proxies

Edit: Yes, composer update has been executed in the public_html folder, not the public folder, so vendor files have been included in the update
Edit 2: I figured clearing the cache would help, it didn’t