Bug #30138

Bad error message "TYPO3\FLOW3\Persistence\Doctrine\QueryResult could not be converted to string" if necessary namespace hasn't been loaded

Added by Martin Brüggemann over 1 year ago. Updated over 1 year ago.

Status:New Start date:2011-09-20
Priority:Should have Due date:
Assignee:- % Done:

0%

Category:-
Target version:-
Has patch:No FLOW3 version affected:FLOW3 1.0.0
Votes: 0

Description

If you write your own paginator widget, try to load it in your fluid template but forget to define the necessary namespace, there's the following error displayed:

#1: Catchable Fatal Error: Object of class TYPO3\FLOW3\Persistence\Doctrine\QueryResult could not be converted to string in /Volumes/Data/Users/herr/Sites/_ZFWSPACE/guruhelp/Data/Temporary/Development/Cache/Code/Fluid_TemplateCache
[...]

If the correct namespace is defined at the beginning of the viewhelper (f.e. {namespace g=Company\Testproject\ViewHelpers}) the user defined widget loads correctly and everything is fine.

History

Updated by Karsten Dambekalns over 1 year ago

  • FLOW3 version affected set to FLOW3 1.0.0

Also available in: Atom PDF