In my table of contents
I get the same problem as Dots after section number in TOC .
My chapter number in the TOC is like:
I want to include a dot after chapter number in TOC.
I used the second solution of the question above:
But it is not working,
I get the error
LaTeX Error: \cftchapaftersnum undefined