I am trying to submit my first paper on ArXiv. However, when I try to do so, it comes with an error, saying "Fatal error occurred, no output PDF file produced!"
After searching what is causing this problem, I found that the following lines are the issue.
\RedeclareSectionCommand[
beforeskip=-1sp,
afterskip=1.5\baselineskip]{chapter}
These lines are used specifically to shift each chapter title up, so that the whole paper looks nice. If I comment these lines out, submission is accepted, so I know they are the only problem.
Is there any way to submit my paper with these lines? In the worst case scenario, I can comment them out, but my paper looks awful as the result of doing so.
\renewcommand*\chapterheadstartvskip{}
and\renewcommand*\chapterheadendvskip{\vspace*{1.5\baselineskip}}
.