I'm trying to figure out why the line number package in latex causes a warning message. Once I add lineno package in my preamble, I receive the following message:
./lineno.sty: LaTeX Warning: Command \@parboxrestore has changed. Check if current package is valid.
Have anyone received a similar message and if so how to solve it?
Many thanks for your comments!
A minimal working example:
\documentclass[12pt]{article}
\usepackage[english]{babel}
\usepackage{lineno}
\usepackage [autostyle, english = american]{csquotes} % US EN quotation marks
\MakeOuterQuote{"}
\usepackage{hyperref}
\topmargin 0.02cm
\oddsidemargin 0.2cm
\textwidth 16cm
\textheight 21cm
\footskip 1.0cm
\newenvironment{sciabstract}{%
\begin{quote}
\end{quote}}
\newcounter{lastnote}
\newenvironment{scilastnote}{%
\setcounter{lastnote}{\value{enumiv}}%
\addtocounter{lastnote}{+1}%
\begin{list}%
{\arabic{lastnote}.}
{\setlength{\leftmargin}{.22in}}
{\setlength{\labelsep}{.5em}}}
{\end{list}}
\usepackage[natbibapa]{apacite}
\usepackage{setspace} %\singlespacing
\usepackage{graphicx}
\usepackage{listings}
\usepackage{framed}
\usepackage{xcolor}
\usepackage{amsmath}
\colorlet{shadecolor}{gray!20}
\usepackage[skins]{tcolorbox}
\usepackage{multirow}
\usepackage{lipsum}
\usepackage{ulem}
\usepackage{authblk}
\usepackage{titling}
\pretitle{\begin{flushleft}\LARGE\bfseries}
\posttitle{\par\end{flushleft}}
\preauthor{\begin{flushleft}\large}
\postauthor{\par\end{flushleft}}
\predate{\begin{flushleft}}
\postdate{\par\end{flushleft}\vskip 0.5em}
\title{Internal affairs under the microscope of the Moon Department}
\author{\vspace{12pt} John Star}
\affil{Moon University, Moon}
\date{}
\begin{document}
\linenumbers
\maketitle
\begin{sciabstract}
\small
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
\
\onehalfspacing
\noindent
\textbf{Keywords:} bbbb,bbbb,bbbb,bbbb
\end{sciabstract}
\
\onehalfspacing
\section{Introduction}
cccccccccccccccccccccccccccccccccccccc
cccccccccccccccccccccccccccccccccccccc
cccccccccccccccccccccccccccccccccccccc
cccccccccccccccccccccccccccccccccccccc
\end{document}

\documentclass{...}and ending with\end{document}.\postdate{\par\end{flushleft}\vskip 0.5em}and deletedhyperreffrom where it was together withlinenobut nothing changed. The warning message still appears.