Since updating a 2.2 site to the most recent 2.2.4 update, the following error has appeared at the top of any page that has the Configurable Reporting block on and any page thereafter to do with the configurable reports.
The site also has adhoc_reports on.
Notice: Constant REPORT_CUSTOMSQL_MAX_RECORDS already defined in /home/youthn1p/domains/supportzone.barclaysmoneyskills.com/public_html/blocks/configurable_reports/reports/sql/report.class.php on line 25
Updating the block to the very latest available didn't fix this issue.
To temporarily fix this, I had to disable the define in line 25 and set the $limitnum to 5000 manually. (Which is what define was set to).
This doesn't seem to have made any other issues apart from fix this error.