Bug #102611
closed
TYPO3\CMS\Core\Imaging\IconFactory::getIconForResource(): Argument #1 ($resource) must be of type TYPO3\CMS\Core\Resource\ResourceInterface, null given, called in /var/www/html/vendor/typo3/cms-core/Classes/ViewHelpers/IconForResourceViewHelper.php on lin
Added by Vivek Solanki 12 months ago.
Updated 5 months ago.
Description
error while selecting Entry point [identifier] it shows TYPO3\CMS\Core\Imaging\IconFactory::getIconForResource(): Argument #1 ($resource) must be of type TYPO3\CMS\Core\Resource\ResourceInterface, null given, called in /var/www/html/vendor/typo3/cms-core/Classes/ViewHelpers/IconForResourceViewHelper.php on line 72
is there anything from my side to do?
Files
I just tried to reproduce in v12 and v13 and couldn't.
Created a filemount record, and if I try to save it with an empty identifier, I get a javascript validation error. Even if I disable the javascript error and submit an empty identifier it does work without showing the error you copied.
Are you using the most recent TYPO3 release for v12? Any custom or third-party-extensions that might expand your sys_filemount databasetable/tca?
Also, the full stacktrace of the error (with all output, be sure to strip any possible credentials or sensitive information) would be needed - plus a description what exactly you enter where, and what exactly triggers the error. The shortest way to reproduce the error (for you).
The solution was found in Is default storage, the default storage folder was not specified in my project
Thank you for the quick response
The question is: How you want to solve that issue?
Currently, I prefer adding a new check in "Environment Check" of InstallTool. What do you think?
It would be great if we could get some information about filemount in the environment info. You guys can close this issue.
- Status changed from New to Closed
closing issue as requested
Also available in: Atom
PDF