Bug #48523
closed
Reports Module $className must be a non empty string.
Added by Matthias Eberlein over 11 years ago.
Updated about 6 years ago.
Description
If last selected report type isn't available any more (by removing the extension which have the report) the reports module try to load an empty className and crashs.
i get this error while opening the Reports Module on 2 diff TYPO3 systems
$className must be a non empty string.
1.) Version 6.1.1
2.) Version 6.1.2
- Status changed from New to Needs Feedback
Hi Matthias,
we need some more Informations on this issue as it seems nobody can reproduce the issue. It may come from an extension we do not use. Do you have a backtrace in a log file?
Maybe you can edit /typo3/sysext/core/Classes/Utility/GeneralUtility.php and go to the function makeInstance (around line 4000: "static public function makeInstance($className) {")
and add before the "throw new \InvalidArgumentException('$className must be a non empty string.', 1288965219);" following statement:
debug_print_backtrace();
Then open the reports module and copy the output to this bug report.
Hi Alexander,
if got it.
So, i have installed before the "deprecationloganalyzer" from George. And from the last access of the module "reports" was the deprecationloganalyzer log Activated (dropdown). Then after some Checks i'm uninstall the Extension deprecationloganalyzer, but i don't change before in the module Reports the dropdown status from "deprecationloganalyzer log" to the normal reports status or overview. So, if you try to open then the reports module, you get the $className error.
This surprise i saw after activate some deeper error logging.
28-05-13 17:39 - Core: Exception handler (WEB): Uncaught TYPO3 Exception: #1288965219: $className must be a non empty string. | InvalidArgumentException thrown in file /var/www/virtual/webspace/sources/typo3core/TYPO3.CMS/typo3/sysext/core/Classes/Utility/GeneralUtility.php in line 4077. Requested URL: webspace ://webspace.webspace.uberspace.de/typo3/mod.php?M=tools_ReportsTxreportsm1&tx_reports_tools_reportstxreportsm1%5Bextension%5D=tx_deprecationloganalyzer&tx_reports_tools_reportstxreportsm1%5Breport%5D=index&tx_reports_tools_reportstxreportsm1%5Bredirect%5D=1&tx_reports_tools_reportstxreportsm1%5Baction%5D=detail&tx_reports_tools_reportstxreportsm1%5Bcontroller%5D=Report
But there was no "deprecationloganalyzer" installed, so i'm install them and all works as normal.
Sorry sorry.
so, many thanks for your attention.
Matthias
- Status changed from Needs Feedback to New
- Target version deleted (
2338)
- TYPO3 Version changed from 6.1 to 6.0
- Status changed from New to Under Review
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- Status changed from Resolved to Closed
Also available in: Atom
PDF