I once spoke something about the shariaah while being doubtful and I might have been wrong. Does this constitute kufr since speaking about Allah with no knowledge is worse than kufr or is there a tafseer for the ayah? I dont know how I fell into such a calamity since I started to be more practicing.

Ustadh AbdulAziz al-Haqqan
This is waswas, and if you suffer from it, you can visit some Muslim trustworthy psychiatrists who are specialized in this field.