While forking pancakeswap we are trying to stake some LP tokens. The steps that we are trying to perform from the ui are enable-> approve tokens → enter staking. However, after approving we don’t get the staking option as allowance is returned as zero. The line 48 of this file returns false as a result.
The staking function that we are calling is in the master chef contract.