6: Math block not closed
You started a block with $$
, which defines a math block. However, the block did not end with $$
, which is expected.
Solution
Make sure that your math block does not contain blank lines and ends with $$
. If you did not mean to define a math block, but want to start a paragraph with two dollar signs, prepend each of them with a backslash: \$\$
.