I am having following issues:
extra alignment tab has been changed to \cr. \endtemplate
Reasons for this issue:
There might be not correct number of column in table:
When we are using alignment characters (&), such as table, align or matrix, we have to confirm that the number of columns specified in the environment matches the number of alignment characters (&) we use before a line break.
Examples:
\begin{tabular}{c|c|c}
1 & 2 & 3 & 4 \
5 & 6 & 7
\end{tabular}
We get error message like:
Extra alignment tab has been changed to \cr.
\endtemplate
l.7 1 & 2 & 3 &
4 \
You have given more \span or & marks than there were
in the preamble to the \halign or \valign now in progress.
So I'll assume that you meant to type \cr instead.
Resolution:
Use following to remove extra column entry:
\begin{tabular}{c|c|c}
1 & 2 & 3 \
5 & 6 & 7
\end{tabular}