[Tex/LaTex] Missing control sequence inserted \def*

errors

I download a new package (Alegreya). But it gave an error Missing control sequence inserted \def.
How can i fix it.

\documentclass[10pt,a4paper]{article}
\usepackage[utf8x]{inputenc}
\usepackage{ucs}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage[T1]{fontenc}
\usepackage{Alegreya} %% Option 'black' gives heavier bold face 
\renewcommand*\oldstylenums[1]{{\AlegreyaOsF #1}}

\begin{document}
a
\end{document}

Best Answer

Version 2014/01/10 of package Alegreya contained a typo, the star after \def in line 233 is not correct (probably a mix-up with the syntax for \newcommand).

Version 2014/01/14 has fixed the issue. It takes some time until the TeX distributions are updated.