Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
The problem was due to an extension. Since my provider didn't downgrade the PHP version, i had to transfer the content of the site, downgrade to PHP 7.4, uninstall the extension and retransfer the content!