Trying to withdraw LP from Pandcake swap and get “Error Transaction Would Fail”

My token contract is 0x6402aF56201e2Ba8dc6642750B0a3775D2104d14

I tried to withdraw some of LP but got the error message from pancake swap. I did some research but it seems that I need to set the tax to 0.

However, my token has a function that not allow people to buy more than 100 mil token per transaction (this was meant to keep whale away from pump and dump).

Can anyone help check the contract and see what modification I need to do in order to be able to withdraw the LP?

You should by the least indicate which function you are trying to execute, rather than leaving it for your readers to guess.