I encountered problems with numbering of figure and table in thesis where it should be appeared Figure/Table 1.1,1.2...2.1 . I have tried to solve this problem form this post [here] as well as [here]. I have make changes according to the following suggestion from this link such as:
\usepackage{chngcntr}
\counterwithin{figure}{section}
or
\setcounter{figure}{0}
\renewcommand{\thefigure}{\arabic{section}.\arabic{figure}}
Yet. there is no changes in the numbering... Below is my MWE
\documentclass{uumthesis}
\usepackage[nosectionbib,natbibapa]{apacite}
\usepackage{hyperref}
\makeatletter
\patchcmd{\st@rtbibchapter}{\addcontentsline{toc}{chapter}{\bibname}}{\addxcontentsline{toc}{chapter}
{\texorpdfstring{\spacedlowsmallcaps{\bibname}}{\bibname}}}{}{}
\makeatother
\usepackage{graphicx}
\usepackage{amsmath}
\usepackage{caption}
\usepackage{subcaption}
\usepackage{algorithm}
\usepackage{algorithmic}
\usepackage{tabularx}
\usepackage{amssymb}
\begin{document}
\mainmatter
......
\bibliographystyle{apacite}
\bibliography{myref}
\end{document}
here is the example from the figures

as you can see, numbering of figure is not according to section

uumthesisclass is not available for me.hyperrefis loaded ways too early and it has no table or figure caption at all... Please provide a compilable document that shows your issue and give us the information where thisuumthesis.clscan be found – Jan 01 '19 at 15:35\thefigurein captions. Otherwise, see what\meaning\thefigureproduces. – John Kormylo Jan 01 '19 at 17:19captionpackage and there is no indication it would omit\thefigureor is setting the figure number in a different manner. – Jan 01 '19 at 18:18