Jump to content

Fatal error - Sales Store Stats


sailing123

Recommended Posts

Hi,

I am using 4.4.2.

Checking the "view stats" function, I came across this fatal error for the daily sales stats.

"Fatal error: Call to undefined function cal_days_in_month() in /home/.../public_html/store/admin/sources/stats/sales.month.inc.php on line 70"

Here is the code on line 70 : $daysInCurMonth = cal_days_in_month(CAL_GREGORIAN, substr($sqlMonth,2,2), "20".substr($sqlMonth,0,2));

Would somebody be able to help here please ?

Many thanks

Sandrine

Link to comment
Share on other sites

Hi,

I am using 4.4.2.

Checking the "view stats" function, I came across this fatal error for the daily sales stats.

"Fatal error: Call to undefined function cal_days_in_month() in /home/.../public_html/store/admin/sources/stats/sales.month.inc.php on line 70"

Here is the code on line 70 : $daysInCurMonth = cal_days_in_month(CAL_GREGORIAN, substr($sqlMonth,2,2), "20".substr($sqlMonth,0,2));

Would somebody be able to help here please ?

Many thanks

Sandrine

will raise a ticket and post the reply for future reference.

Link to comment
Share on other sites

  • 3 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...