Ticket #2400 (closed defect: fixed)
Fatal error in reports section of CMS - i18n::include_by_class() class not found
| Reported by: | sharvey | Owned by: | sharvey |
|---|---|---|---|
| Priority: | critical | Milestone: | E-Commerce 0.6.0 |
| Component: | Modules - ecommerce | Version: | 2.2.2-rc2 |
| Severity: | medium effort / impact | Keywords: | |
| Cc: | Hours: |
Description
The below error can be reproduced by loading up the reports section, and clicking an order in the "Unprinted Orders" report - click the order number link, then press back in the browser, and this error should show:
FATAL ERROR: i18n::include_by_class: Class not found At line 1258 in C:\wamp\www\testsite\sapphire\core\i18n.php
user_error(i18n::include_by_class: Class not found,512) line 1258 of i18n.php
i18n::include_by_class() line 132 of Core.php
_t(EXPORTCSV,Export to CSV) line 139 of DataReport?.php
DataReport?->htmlExportButton() line 11 of OrderReport?.php
call_user_func_array(Array,Array) line 404 of ViewableData?.php
ViewableData?->XML_val(FieldHolder?1) line 72 of .cacheC..wamp.www.testsite.sapphire.templates.TabSetFieldHolder?.ss
include(C:\WINDOWS\Temp\silverstripe-cacheC--wamp-www-testsite\.cacheC..wamp.www.testsite.sapphire.templates.TabSetFieldHolder?.ss) line 197 of SSViewer.php
SSViewer->process(TabSet?) line 763 of ViewableData?.php
ViewableData?->renderWith(TabSetFieldHolder?) line 42 of TabSet?.php
call_user_func_array(Array,Array) line 404 of ViewableData?.php
ViewableData?->XML_val(FieldHolder?1) line 62 of .cacheC..wamp.www.testsite.sapphire.templates.Includes.Form.ss
include(C:\WINDOWS\Temp\silverstripe-cacheC--wamp-www-testsite\.cacheC..wamp.www.testsite.sapphire.templates.Includes.Form.ss) line 197 of SSViewer.php
SSViewer->process(Form) line 763 of ViewableData?.php
ViewableData?->renderWith(Form) line 644 of Form.php
Form->forTemplate() line 420 of ViewableData?.php
ViewableData?->XML_val(EditForm?1) line 9 of .cacheC..wamp.www.testsite.cms.templates.Includes.ReportAdmin?_right.ss
include(C:\WINDOWS\Temp\silverstripe-cacheC--wamp-www-testsite\.cacheC..wamp.www.testsite.cms.templates.Includes.ReportAdmin?_right.ss) line 197 of SSViewer.php
SSViewer->process(ReportAdmin?) line 763 of ViewableData?.php
ViewableData?->renderWith(Array) line 368 of LeftAndMain?.php
LeftAndMain?->Right()
call_user_func_array(Array,Array) line 404 of ViewableData?.php
ViewableData?->XML_val(Right1) line 100 of .cacheC..wamp.www.testsite.cms.templates.LeftAndMain?.ss
include(C:\WINDOWS\Temp\silverstripe-cacheC--wamp-www-testsite\.cacheC..wamp.www.testsite.cms.templates.LeftAndMain?.ss) line 197 of SSViewer.php
SSViewer->process(ReportAdmin?) line 296 of Controller.php
Controller->defaultAction(index,Array) line 267 of Controller.php
Controller->run(Array)
