Clicking on email accounts from cPanel throwing an error ?

When you click on email accounts from cPanel, do you face this error ?

A fatal error or timeout occurred while processing this directive.

Undefined subroutine &Cpanel::ExpVar::expand_and_detaint called at line 963.main::real_cpexectag(“<?cp StatsBar::stat( [p class=\”caution\” style=\”margin:20px 0\””…) called at line 4293main::dotag_finished_headers(0) called at line 4110 main::cpanel_parseblock(“<cpanel setvar=\”headerimg=../images/mailmenu.gif\”>\x{a}<cpanel se”…) called at line 4024 main::y(GLOB(0x47fb938)) called at line 5393 main::run_standard_mode() called at line 828

This is due to a bug in x3 theme in cPanel. Reverting the theme to paper_lantern should fix this error ! I was not able to find any other fix after hours of searching !

Hope it helps !