Project section is incorrectly framed and inaccesible

Hello, I have a serious issue which was most likely was caused by the workaround put in place to resolve a wordpress update which broke the theme (see here)

I am now unable to access the projects in the project section and if I attempt to do it in the widget area I see plenty of errors…

Could you help please in troubleshooting this?
Thanks!