Support

Home Forums Event Espresso Premium Transactions > Reports

Transactions > Reports

Posted: February 10, 2016 at 9:32 am


calex

February 10, 2016 at 9:32 am

Sorry to have to log another one:

In transaction > Reports

I have blank area where a report should be – there is red message ‘Data column(s) for axis #0 cannot be of type string×’. – is this normal?

I have one cleared transaction in my list.

Many thanks

EE version: 4.8.33.p
PHP: 5.5.25


Josh

  • Support Staff

February 10, 2016 at 11:44 am

That is not normal.

Can you view source on that page and find the string txnRevPerDay or txnRevPerEvent within the source? It will be near the bottom of the page source. These will have the output JavaScript object prepped by wp_localize_script() that is being used for the charts. They’ll look like this.

That will help us know whether there’s unexpected data in that object.


calex

February 10, 2016 at 4:01 pm

/* <![CDATA[ */
var txnRevPerDay = {“title”:”Total Revenue per Day”,”subtitle”:”For the period: 2016-01-10 to 2016-02-10″,”id”:”txn-admin-revenue-per-day-report-dv”,”revenue”:[[“Date (only shows dates that have a revenue greater than 1)”,”Total Revenue”]],”noResults”:””,”noTxnMsg”:”<h2>Total Revenue per Day<\/h2><p>There are currently no transaction records in the last month for this report.<\/p>”};
var txnRevPerEvent = {“title”:”Total Revenue per Event”,”subtitle”:”For the period: 2016-01-10 to 2016-02-10″,”id”:”txn-admin-revenue-per-event-report-dv”,”revenue”:[[“Event (only events that have a revenue greater than 1 are shown)”,”Total Revenue”]],”noResults”:””,”noTxnMsg”:”<h2>Total Revenue per Event<\/h2><p>There are currently no transaction records in the last month for this report.<\/p>”};
/* ]]> */

only shows dates that have a revenue greater than 1

Could this be because my one test transaction is £0.01?


Josh

  • Support Staff

February 10, 2016 at 4:19 pm

Yes that’s it! Once you have at least $1.00 in transactions the error will go away.

The support post ‘Transactions > Reports’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso