Cannot convert value of type string to integer

InvalidArgumentException
Toggle Vendor Stack Frames
/home/lohu22qo/public_html/vendor/cakephp/cakephp/src/Database/Type/IntegerType.php Toggle Arguments
     */
    protected function checkNumeric($value): void
    {
        if (!is_numeric($value)) {
            throw new InvalidArgumentException(sprintf(
                'Cannot convert value of type `%s` to integer',
                getTypeName($value)
            ));
        }

If you want to customize this error message, create templates/Error/error500.php