Balance Sheet not working

When I tried opening Balance Sheet Report it gives me this error.

After selecting filters it shows nothing.
This problem came after we shifted to erpnext version 13.7