Bug #48523
closedReports Module $className must be a non empty string.
100%
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
Updated by Alexander Opitz over 11 years ago
- 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.
Updated by Matthias Eberlein over 11 years ago
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
Updated by Alexander Opitz over 11 years ago
- Status changed from Needs Feedback to New
Updated by Alexander Opitz over 11 years ago
- Target version deleted (
2338) - TYPO3 Version changed from 6.1 to 6.0
Updated by Gerrit Code Review over 11 years ago
- Status changed from New to Under Review
Patch set 1 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/22726
Updated by Gerrit Code Review over 11 years ago
Patch set 2 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/22726
Updated by Gerrit Code Review over 11 years ago
Patch set 3 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/22726
Updated by Gerrit Code Review over 11 years ago
Patch set 1 for branch TYPO3_6-0 has been pushed to the review server.
It is available at https://review.typo3.org/22980
Updated by Gerrit Code Review over 11 years ago
Patch set 1 for branch TYPO3_6-1 has been pushed to the review server.
It is available at https://review.typo3.org/22981
Updated by Wouter Wolters over 11 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 59ff957963a2bfe64deacff889650ccdec82c74a.