Jump to content
thirty bees forum
  • 0

Dashboard statistic stops registering sales


Question

Posted

Hi,

Since last week, my dashboard statistic module suddenly stopped registering sales etc. It just shows a flat line since begin of january. I checked the error log and found this:

[Tue Jan 08 15:04:55.418180 2019] [:error] [pid 24724] [client 85.150.219.252:49676] PHP Warning:  Division by zero in /home/krachtshop/domains/krachtshop.nl/public_html/modules/dashtrends/dashtrends.php on line 326, referer: https://krachtshop.nl/admin1864/index.php?controller=AdminDashboard&token=0ee75e2a853bc1fa474b35028931db79

 

I checked and line 326 of that file is this:

  $translation = $normalMin + ($compareDate - $compareMin) * ($normalSize / $compareSize);

But I'm not to technical and don't know what to do. Can anyone see what's the problem of this error?

Kind regards,

Patrick

 

statistic.JPG

7 answers to this question

Recommended Posts

  • 0
Posted

Hi PedalMan, 

No I did not change my statuses. 

I eventually solved it by downloading the statsmodule and statsdata modules from thirtybees github. Deleting the old modules and uploading the new. Somehow it solved the problem.

Anyhow, everybody thanks for your help.

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...