Problem with Form extension and standard search
When form extension is loaded and a standard search form is placed on a page an error shows up when loading the page with the search plugin ("oops an error occured!").
[BUGFIX] Make standard-search working with EXT:form installed
The standard-search relies on basic form-functionality.
But if EXT:form is installed, that functionality is overlaid
and the result is wrong.
Provide a flag so that standard-search can request to use
the "basic" form-functionality, preventing EXT:form from
dealing with it.
Releases: 6.2, 6.1
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
#2 Updated by Koen Van Nuffelen about 6 years ago
I get this error after installing indexed search.
Oops, an error occurred!
PHP Catchable Fatal Error: Argument 2 passed to TYPO3\CMS\Form\Controller\FormController::cObjGetSingleExt()
must be an array, null given, called in
on line 730 and defined in
/var/www/vhosts/typo3_cores/typo3_src-6.1.0alpha1/typo3/sysext/form/Classes/Controller/FormController.php line 93
After uninstalling extension system extension form it works
=> This solutions works, but not really a solution if you want to use the form system extension.
#3 Updated by Christian Bernet about 6 years ago
sorry for the bad error message from thomas.
thanks to koen van nuffelen, but * we need the form extension installed.*
the error message is:
PHP Catchable Fatal Error: Argument 2 passed to TYPO3\CMS\Form\Controller\FormController::cObjGetSingleExt() must be an array, null given, called in D:\wamp\www\psroggwil\typo3\sysext\frontend\Classes\ContentObject\ContentObjectRenderer.php on line 732 and defined in D:\wamp\www\psroggwil\typo3\sysext\form\Classes\Controller\FormController.php line 93
#7 Updated by Ernesto Baschny about 6 years ago
- Category changed from Indexed Search to Form Framework
- Status changed from New to Needs Feedback
- Is Regression set to No
#10 Updated by Thomas Etter over 5 years ago
Alexander Opitz wrote:
As #31572 was merged, does this issue is resolved in latest TYPO3?
Das the issue with "###LABEL### ###FIELD###" still exist?
Yes, it still exists. The following line solves the problem:
'10.' => is_array($mergedTypoScript) ? $mergedTypoScript : array(),
#12 Updated by Thomas Etter over 5 years ago
Alexander Opitz wrote:
Ok, would you like to provide a patch against master by using Gerrit? http://wiki.typo3.org/CWT
Sorry, I have to correct myself: The standard search form still isn't displayed, the only difference between the two patches is that with our patch, no form is displayed at all (no labels either). I had to add the form manually via html, the standard search is still working though.
#20 Updated by Stefan Neufeind over 5 years ago
Problem appears if EXT:form is installed, no matter if its static template is loaded or not. Thanks to Olly for the clarification. If you can, deactivate EXT:form for the moment.
EXT:form "overlays" the form-functionality and produces the undesired output.