Bug #25437
error on function call
| Status: | New | Start date: | 2011-03-30 | |
|---|---|---|---|---|
| Priority: | Must have | Due date: | ||
| Assignee: | - | % Done: | 0% |
|
| Category: | - | |||
| Target version: | - | |||
| Votes: | 1 (View) |
Description
If wt_gallery is installed there are a lot of mesages in the BE protocol
This ist the message:
Core: Error handler (FE): PHP Warning: trim() expects parameter 1 to be string, array given in /home/www/typo3/sysext/cms/tslib/class.tslib_content.php line 739
System ist TYPO3 4.5 with php 5.3.3
The log file has thousends of entries in less than an hour.
History
Updated by Little Joe about 2 years ago
Markus wrote:
If wt_gallery is installed there are a lot of mesages in the BE protocol
This ist the message: Core: Error handler (FE): PHP Warning: trim() expects parameter 1 to be string, array given in /home/www/typo3/sysext/cms/tslib/class.tslib_content.php line 739
System ist TYPO3 4.5 with php 5.3.3
The log file has thousends of entries in less than an hour.
Got the same Problem.
TYPO3 4.5.2 with PHP 5.3.2
Updated by Rafal Likus almost 2 years ago
Got the same, but in another line:
[5_0] Core: Error handler (FE): PHP Warning: trim() expects parameter 1 to be string, array given in typo3\sysext\cms\tslib\class.tslib_content.php line 536
Just viewed page with gallery on it and 14 entries in BE log.
Typo3 4.4.7 PHP 5.3.3
Updated by Rafal Likus almost 2 years ago
- File wt_gallery_3_7_patch.zip added
cObjGetSingle() is called with an array as first parameter instead of string.
Simple patch for everything in - I am not sure if all files should be changed, but i did changes for all.
Just checking if this parameter is not an array: if !is_array() ...
For me works, not errors in log.