Error in Remix, TypeError: Operator || not compatible with types bool and address

Full source code:https://github.com/laronlineworld/RebaseDividends/blob/main/Rebasedividends.sol

modifier initialDistributionLock { require(initialDistributionFinished || owner() || allowTransfer[msg.sender]); _; }

Error: contracts/BonusCake.sol:49:17: TypeError: Operator || not compatible with types bool and address require(initialDistributionFinished || owner() || allowTransfer[msg.sender]);

Operator not compatible with types bool and address. ^------------------------------------^

Hello @Lloyd_Ramos

The owner() function from the Ownable module returns an address (the address of the owner)

Maybe you want to do

modifier initialDistributionLock {
    require(initialDistributionFinished || owner() == msg.sender || allowTransfer[msg.sender]);
    _;
}