Created
May 11, 2017 11:18
-
-
Save TrueType/848bec0d89bbe353c7a030f2c622e88c to your computer and use it in GitHub Desktop.
Exception with h:uri.action viewhelper and missing contentObject
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Uncaught TYPO3 Exception | |
#1416846201: Context record must be of type string "NULL" given. (More information) | |
Helhum\TyposcriptRendering\Configuration\ConfigurationBuildingException thrown in file | |
.../web/typo3conf/ext/typoscript_rendering/Classes/Configuration/RecordRenderingConfigurationBuilder.php in line 66. | |
86 Helhum\TyposcriptRendering\Configuration\RecordRenderingConfigurationBuilder::resolveTableNameAndUidFromContextString(NULL) | |
.../web/typo3conf/ext/typoscript_rendering/Classes/Configuration/RecordRenderingConfigurationBuilder.php: | |
00042: public function configurationFor($extensionName, $pluginName, $contextRecord = 'currentPage') | |
00043: { | |
00044: list($tableName, $uid) = $this->resolveTableNameAndUidFromContextString($contextRecord); | |
00045: $pluginSignature = $this->buildPluginSignature($extensionName, $pluginName); | |
00046: $renderingPath = $this->resolveRenderingPath($pluginSignature); | |
85 Helhum\TyposcriptRendering\Configuration\RecordRenderingConfigurationBuilder::configurationFor("ExtensionName", "PluginName", NULL) | |
.../web/typo3conf/ext/typoscript_rendering/Classes/ViewHelpers/Uri/AjaxActionViewHelper.php: | |
00106: { | |
00107: $configurationBuilder = new RecordRenderingConfigurationBuilder(new RenderingContext($GLOBALS['TSFE'])); | |
00108: return $configurationBuilder->configurationFor($extensionName, $pluginName, $contextRecord); | |
00109: } | |
00110: } | |
84 Helhum\TyposcriptRendering\ViewHelpers\Uri\AjaxActionViewHelper::buildTypoScriptRenderingConfiguration("ExtensionName", "PluginName", NULL) | |
.../web/typo3conf/ext/typoscript_rendering/Classes/ViewHelpers/Uri/AjaxActionViewHelper.php: | |
00076: } | |
00077: } | |
00078: $renderingConfiguration = $this->buildTypoScriptRenderingConfiguration($extensionName, $pluginName, $contextRecord); | |
00079: $additionalParams['tx_typoscriptrendering']['context'] = json_encode($renderingConfiguration); | |
00080: | |
83 Helhum\TyposcriptRendering\ViewHelpers\Uri\AjaxActionViewHelper::render("keyword", array, "Produkt", "ExtensionName", "PluginName", NULL, "", "", boolean, array, boolean, boolean, array, NULL, NULL) | |
82 call_user_func_array(array, array) | |
.../vendor/typo3/cms/typo3/sysext/fluid/Classes/Core/ViewHelper/AbstractViewHelper.php: | |
00266: | |
00267: try { | |
00268: return call_user_func_array([$this, 'render'], $renderMethodParameters); | |
00269: } catch (Exception $exception) { | |
00270: if (GeneralUtility::getApplicationContext()->isProduction()) { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment