1
|
Uncaught TYPO3 Exception
|
2
|
#1: PHP Warning: trim() expects parameter 1 to be string, array given in /home/shared_typo3/typo3_source/typo3_src-6.2.11/typo3/sysext/frontend/Classes/Page/PageRepository.php line 1416 (More information)
|
3
|
|
4
|
TYPO3\CMS\Core\Error\Exception thrown in file
|
5
|
/home/shared_typo3/typo3_source/typo3_src-6.2.11/typo3/sysext/core/Classes/Error/ErrorHandler.php in line 101.
|
6
|
|
7
|
27 TYPO3\CMS\Core\Error\ErrorHandler::handleError(2, "trim() expects parameter 1 to be string, array given", "/home/shared_typo3/typo3_source/typo3_src-6.2.11/t…o3/sysext/frontend/Classes/Page/PageRepository.php", 1416, array)
|
8
|
26 trim(array)
|
9
|
|
10
|
/home/shared_typo3/typo3_source/typo3_src-6.2.11/typo3/sysext/frontend/Classes/Page/PageRepository.php:
|
11
|
01414: }
|
12
|
01415:
|
13
|
01416: if ($checkValue === array() || trim($checkValue) === '') {
|
14
|
01417: $shouldFieldBeOverlaid = FALSE;
|
15
|
01418: }
|
16
|
|
17
|
25 TYPO3\CMS\Frontend\Page\PageRepository::shouldFieldBeOverlaid("pages_language_overlay", "media", array)
|
18
|
|
19
|
/home/shared_typo3/typo3_source/typo3_src-6.2.11/typo3/sysext/frontend/Classes/Page/PageRepository.php:
|
20
|
01381: $localizedReferences = $fileRepository->findByRelation($tableName, $fieldName, $localizedId);
|
21
|
01382: $localizedReferencesValue = $localizedReferences ?: '';
|
22
|
01383: if ($this->shouldFieldBeOverlaid($tableName, $fieldName, $localizedReferencesValue)) {
|
23
|
01384: $references = $localizedReferences;
|
24
|
01385: }
|
25
|
|
26
|
24 TYPO3\CMS\Frontend\Page\PageRepository::getFileReferences("pages", "media", array)
|
27
|
|
28
|
/home/shared_typo3/typo3_source/typo3_src-6.2.11/typo3/sysext/frontend/Classes/ContentObject/FilesContentObject.php:
|
29
|
00319: $referencesFieldName,
|
30
|
00320: $element
|
31
|
00321: );
|
32
|
00322:
|
33
|
00323: $this->addToArray($references, $fileObjects);
|
34
|
|
35
|
23 TYPO3\CMS\Frontend\ContentObject\FilesContentObject::handleFileReferences(array, array, array)
|
36
|
|
37
|
/home/shared_typo3/typo3_source/typo3_src-6.2.11/typo3/sysext/frontend/Classes/ContentObject/FilesContentObject.php:
|
38
|
00078: }
|
39
|
00079:
|
40
|
00080: $this->handleFileReferences($conf, (array)$this->cObj->data, $fileObjects);
|
41
|
00081: }
|
42
|
00082: if ($conf['files'] || $conf['files.']) {
|
43
|
|
44
|
22 TYPO3\CMS\Frontend\ContentObject\FilesContentObject::render(array)
|
45
|
|
46
|
/home/shared_typo3/typo3_source/typo3_src-6.2.11/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php:
|
47
|
00749: $contentObject = $this->getContentObject($name);
|
48
|
00750: if ($contentObject) {
|
49
|
00751: $content .= $contentObject->render($conf);
|
50
|
00752: } else {
|
51
|
00753: // Call hook functions for extra processing
|
52
|
|
53
|
21 TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer::cObjGetSingle("FILES", array, "20")
|
54
|
|
55
|
/home/shared_typo3/typo3_source/typo3_src-6.2.11/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php:
|
56
|
00694: if ((int)$theKey && strpos($theKey, '.') === FALSE) {
|
57
|
00695: $conf = $setup[$theKey . '.'];
|
58
|
00696: $content .= $this->cObjGetSingle($theValue, $conf, $addKey . $theKey);
|
59
|
00697: }
|
60
|
00698: }
|
61
|
|
62
|
20 TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer::cObjGet(array)
|
63
|
|
64
|
/home/shared_typo3/typo3_source/typo3_src-6.2.11/typo3/sysext/frontend/Classes/ContentObject/ContentObjectArrayContentObject.php:
|
65
|
00038:
|
66
|
00039: $this->cObj->includeLibs($conf);
|
67
|
00040: $content = $this->cObj->cObjGet($conf);
|
68
|
00041: $wrap = isset($conf['wrap.']) ? $this->cObj->stdWrap($conf['wrap'], $conf['wrap.']) : $conf['wrap'];
|
69
|
00042: if ($wrap) {
|
70
|
|
71
|
19 TYPO3\CMS\Frontend\ContentObject\ContentObjectArrayContentObject::render(array)
|
72
|
|
73
|
/home/shared_typo3/typo3_source/typo3_src-6.2.11/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php:
|
74
|
00749: $contentObject = $this->getContentObject($name);
|
75
|
00750: if ($contentObject) {
|
76
|
00751: $content .= $contentObject->render($conf);
|
77
|
00752: } else {
|
78
|
00753: // Call hook functions for extra processing
|
79
|
|
80
|
18 TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer::cObjGetSingle("COA", array, "/stdWrap/.cObject")
|
81
|
|
82
|
/home/shared_typo3/typo3_source/typo3_src-6.2.11/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php:
|
83
|
02278: */
|
84
|
02279: public function stdWrap_cObject($content = '', $conf = array()) {
|
85
|
02280: return $this->cObjGetSingle($conf['cObject'], $conf['cObject.'], '/stdWrap/.cObject');
|
86
|
02281: }
|
87
|
02282:
|
88
|
|
89
|
17 TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer::stdWrap_cObject(NULL, array)
|
90
|
|
91
|
/home/shared_typo3/typo3_source/typo3_src-6.2.11/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php:
|
92
|
02099: // Call the function with the prefix stdWrap_ to make sure nobody can execute functions just by adding their name to the TS Array
|
93
|
02100: $functionName = 'stdWrap_' . $functionName;
|
94
|
02101: $content = $this->{$functionName}($content, $singleConf);
|
95
|
02102: } elseif ($functionType == 'boolean' && !$conf[$functionName]) {
|
96
|
02103: $isExecuted[$functionName] = TRUE;
|
97
|
|
98
|
16 TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer::stdWrap(NULL, array)
|
99
|
|
100
|
/home/shared_typo3/typo3_source/typo3_src-6.2.11/typo3/sysext/frontend/Classes/ContentObject/Menu/TextMenuContentObject.php:
|
101
|
00189: }
|
102
|
00190: }
|
103
|
00191: $processedPref = isset($this->I['val'][$pref . '.']) ? $this->WMcObj->stdWrap($this->I['val'][$pref], $this->I['val'][$pref . '.']) : $this->I['val'][$pref];
|
104
|
00192: if (isset($this->I['val'][$pref . 'Wrap'])) {
|
105
|
00193: return $this->tmpl->wrap($res . $processedPref, $this->I['val'][$pref . 'Wrap']);
|
106
|
|
107
|
15 TYPO3\CMS\Frontend\ContentObject\Menu\TextMenuContentObject::getBeforeAfter("after")
|
108
|
|
109
|
/home/shared_typo3/typo3_source/typo3_src-6.2.11/typo3/sysext/frontend/Classes/ContentObject/Menu/TextMenuContentObject.php:
|
110
|
00141: }
|
111
|
00142: $this->I['parts']['stdWrap2_end'] = $wrapPartsStdWrap[1];
|
112
|
00143: $this->I['parts']['after'] = $this->getBeforeAfter('after');
|
113
|
00144: // Passing I to a user function
|
114
|
00145: if ($this->mconf['IProcFunc']) {
|
115
|
|
116
|
14 TYPO3\CMS\Frontend\ContentObject\Menu\TextMenuContentObject::writeMenu()
|
117
|
|
118
|
/home/shared_typo3/typo3_source/typo3_src-6.2.11/typo3/sysext/frontend/Classes/ContentObject/Menu/AbstractMenuContentObject.php:
|
119
|
01507: // Reset the menu item count for the submenu
|
120
|
01508: $GLOBALS['TSFE']->register['count_MENUOBJ'] = 0;
|
121
|
01509: $content = $submenu->writeMenu();
|
122
|
01510: // Restore the item count now that the submenu has been handled
|
123
|
01511: $GLOBALS['TSFE']->register['count_MENUOBJ'] = $tempCountMenuObj;
|
124
|
|
125
|
13 TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject::subMenu("50", NULL)
|
126
|
|
127
|
/home/shared_typo3/typo3_source/typo3_src-6.2.11/typo3/sysext/frontend/Classes/ContentObject/Menu/TextMenuContentObject.php:
|
128
|
00236: // Add part to the accumulated result + fetch submenus
|
129
|
00237: if (!$this->I['spacer']) {
|
130
|
00238: $this->I['theItem'] .= $this->subMenu($this->I['uid'], $this->WMsubmenuObjSuffixes[$key]['sOSuffix']);
|
131
|
00239: }
|
132
|
00240: $part = isset($this->I['val']['wrapItemAndSub.']) ? $this->WMcObj->stdWrap($this->I['val']['wrapItemAndSub'], $this->I['val']['wrapItemAndSub.']) : $this->I['val']['wrapItemAndSub'];
|
133
|
|
134
|
12 TYPO3\CMS\Frontend\ContentObject\Menu\TextMenuContentObject::extProc_afterLinking(0)
|
135
|
|
136
|
/home/shared_typo3/typo3_source/typo3_src-6.2.11/typo3/sysext/frontend/Classes/ContentObject/Menu/TextMenuContentObject.php:
|
137
|
00160: }
|
138
|
00161: // Calling extra processing function
|
139
|
00162: $this->extProc_afterLinking($key);
|
140
|
00163: }
|
141
|
00164: return $this->extProc_finish();
|
142
|
|
143
|
11 TYPO3\CMS\Frontend\ContentObject\Menu\TextMenuContentObject::writeMenu()
|
144
|
|
145
|
/home/shared_typo3/typo3_source/typo3_src-6.2.11/typo3/sysext/frontend/Classes/ContentObject/HierarchicalMenuContentObject.php:
|
146
|
00047: $menu->start($GLOBALS['TSFE']->tmpl, $GLOBALS['TSFE']->sys_page, '', $conf, 1);
|
147
|
00048: $menu->makeMenu();
|
148
|
00049: $theValue .= $menu->writeMenu();
|
149
|
00050: } catch (\TYPO3\CMS\Frontend\ContentObject\Menu\Exception\NoSuchMenuTypeException $e) {
|
150
|
00051: }
|
151
|
|
152
|
10 TYPO3\CMS\Frontend\ContentObject\HierarchicalMenuContentObject::render(array)
|
153
|
|
154
|
/home/shared_typo3/typo3_source/typo3_src-6.2.11/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php:
|
155
|
00749: $contentObject = $this->getContentObject($name);
|
156
|
00750: if ($contentObject) {
|
157
|
00751: $content .= $contentObject->render($conf);
|
158
|
00752: } else {
|
159
|
00753: // Call hook functions for extra processing
|
160
|
|
161
|
9 TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer::cObjGetSingle("HMENU", array, "10")
|
162
|
|
163
|
/home/shared_typo3/typo3_source/typo3_src-6.2.11/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php:
|
164
|
00694: if ((int)$theKey && strpos($theKey, '.') === FALSE) {
|
165
|
00695: $conf = $setup[$theKey . '.'];
|
166
|
00696: $content .= $this->cObjGetSingle($theValue, $conf, $addKey . $theKey);
|
167
|
00697: }
|
168
|
00698: }
|
169
|
|
170
|
8 TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer::cObjGet(array)
|
171
|
|
172
|
/home/shared_typo3/typo3_source/typo3_src-6.2.11/typo3/sysext/frontend/Classes/ContentObject/ContentObjectArrayContentObject.php:
|
173
|
00038:
|
174
|
00039: $this->cObj->includeLibs($conf);
|
175
|
00040: $content = $this->cObj->cObjGet($conf);
|
176
|
00041: $wrap = isset($conf['wrap.']) ? $this->cObj->stdWrap($conf['wrap'], $conf['wrap.']) : $conf['wrap'];
|
177
|
00042: if ($wrap) {
|
178
|
|
179
|
7 TYPO3\CMS\Frontend\ContentObject\ContentObjectArrayContentObject::render(array)
|
180
|
|
181
|
/home/shared_typo3/typo3_source/typo3_src-6.2.11/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php:
|
182
|
00749: $contentObject = $this->getContentObject($name);
|
183
|
00750: if ($contentObject) {
|
184
|
00751: $content .= $contentObject->render($conf);
|
185
|
00752: } else {
|
186
|
00753: // Call hook functions for extra processing
|
187
|
|
188
|
6 TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer::cObjGetSingle("COA", array, "subparts.navmenu")
|
189
|
|
190
|
/home/shared_typo3/typo3_source/typo3_src-6.2.11/typo3/sysext/frontend/Classes/ContentObject/TemplateContentObject.php:
|
191
|
00126: $this->cObj->data[$this->cObj->currentValKey] = $GLOBALS['TSFE']->register['SUBPART_' . $theKey];
|
192
|
00127: // Get subpart cObject and substitute it!
|
193
|
00128: $subpartArray[$PRE . $theKey . $POST] = $this->cObj->cObjGetSingle($theValue['name'], $theValue['conf'], 'subparts.' . $theKey);
|
194
|
00129: }
|
195
|
00130: // Reset current to empty
|
196
|
|
197
|
5 TYPO3\CMS\Frontend\ContentObject\TemplateContentObject::render(array)
|
198
|
|
199
|
/home/shared_typo3/typo3_source/typo3_src-6.2.11/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php:
|
200
|
00749: $contentObject = $this->getContentObject($name);
|
201
|
00750: if ($contentObject) {
|
202
|
00751: $content .= $contentObject->render($conf);
|
203
|
00752: } else {
|
204
|
00753: // Call hook functions for extra processing
|
205
|
|
206
|
4 TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer::cObjGetSingle("TEMPLATE", array, "20")
|
207
|
|
208
|
/home/shared_typo3/typo3_source/typo3_src-6.2.11/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php:
|
209
|
00694: if ((int)$theKey && strpos($theKey, '.') === FALSE) {
|
210
|
00695: $conf = $setup[$theKey . '.'];
|
211
|
00696: $content .= $this->cObjGetSingle($theValue, $conf, $addKey . $theKey);
|
212
|
00697: }
|
213
|
00698: }
|
214
|
|
215
|
3 TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer::cObjGet(array)
|
216
|
|
217
|
/home/shared_typo3/typo3_source/typo3_src-6.2.11/typo3/sysext/frontend/Classes/Page/PageGenerator.php:
|
218
|
00212: $GLOBALS['TT']->incStackPointer();
|
219
|
00213: $GLOBALS['TT']->push($GLOBALS['TSFE']->sPre, 'PAGE');
|
220
|
00214: $pageContent = $GLOBALS['TSFE']->cObj->cObjGet($GLOBALS['TSFE']->pSetup);
|
221
|
00215: if ($GLOBALS['TSFE']->pSetup['wrap']) {
|
222
|
00216: $pageContent = $GLOBALS['TSFE']->cObj->wrap($pageContent, $GLOBALS['TSFE']->pSetup['wrap']);
|
223
|
|
224
|
2 TYPO3\CMS\Frontend\Page\PageGenerator::renderContent()
|
225
|
|
226
|
/home/shared_typo3/typo3_source/typo3_src-6.2.11/typo3/sysext/cms/tslib/index_ts.php:
|
227
|
00210: // Content generation
|
228
|
00211: if (!$TSFE->isINTincScript()) {
|
229
|
00212: \TYPO3\CMS\Frontend\Page\PageGenerator::renderContent();
|
230
|
00213: $TSFE->setAbsRefPrefix();
|
231
|
00214: }
|
232
|
|
233
|
1 require("/home/shared_typo3/typo3_source/typo3_src-6.2.11/typo3/sysext/cms/tslib/index_ts.php")
|
234
|
|
235
|
/home/user/public_html/project/index.php:
|
236
|
00166: // ******************
|
237
|
00167:
|
238
|
00168: require(PATH_tslib . 'index_ts.php');
|
239
|
00169:
|
240
|
00170:
|