I have a LaTeX file with packages
\usepackage{amsmath,amssymb}
\usepackage{graphicx}
\usepackage[colorlinks=true,citecolor=black,linkcolor=black,urlcolor=blue]{hyperref}
\usepackage{tikz,graphics,color,fullpage,float,epsf,caption,subcaption}
and I use the subfigure environment:
\begin{figure}
\begin{subfigure}{1\textwidth}
...
\end{subfigure}
\vspace{5mm}
\begin{subfigure}{1\textwidth}
...
\end{subfigure}
\end{figure}
This compiles perfectly fine on my machine. However, when I submit the LaTeX file to a journal and looks at the PDF output, it shows an error
! LaTeX Error: Environment subfigure undefined.
I'm really lost on how to fix this, since as I said, it works fine on my machine. What should I do?
EDIT: I'm using the document class
\documentclass[smallextended]{svjour3}
This site seems to have some information on the document class if necessary: http://www.e-publications.org/springer/support/spr-chicago.html


hyperrefshould be loaded later than all those packages and thatepsfshould not be loaded. – egreg Sep 13 '14 at 17:42graphicxloadsgraphics, the latter is also unnecessary. – barbara beeton Sep 13 '14 at 21:02tikzloads an enhanced version ofcolorsocoloris not needed either. – cfr Sep 13 '14 at 23:08