Zend certified PHP/Magento developer

Add to cart button, Not working on 2.4.2

After update magento (from 2.3.4 > 2.4.2) and migrated on a new hosting, Add to cart button stop working.

After i select a product and then “Add to cart” button, website is reloading on same page, but no product added on mini cart. Even if i navigated on /checkout/cart, cart is empty.

The problem appear on category view, product details even in homepage.

  • I have allready clear cache (from magento and CLI).
  • Change template to default, with no results
  • Reindexing, many times (from magento and CLI)
  • checked on var/log/*.log files, with no errors
  • checked console log for errors, nothing

Any idea?