solved, considering I did the migration. there was a corrupt file when pulling the source code. then I did a re-clone, and everything is fine. if it is possible that someone has had a similar incident, and has gone through disabling cache but still can’t, then try to pull / clone again
@threadi only this line that define the directory of WPCACHEHOME
define('WPCACHEHOME', dirname(__FILE__) . '/wp-content/plugins/wp-super-cache/');
@threadi I followed your instructions, I have already commented the line. but still, error 500