Hallo liebe Community.
Kaum ist das eine Problem behoben, tritt das Nächste auf.
Und zwar habe ich nun PHP von [COLOR=#333333]5.2.17 auf [/COLOR][COLOR=#333333]5.3.19 aktualisiert und diese als [/COLOR][COLOR=#333333]CGI-Applikation ausgeführt (als FastCGI-Applikation funktioniert die ganze Seite nicht mehr...).
Nun kommt bei einigen Kategorien folgende Fehlermeldung:
[/COLOR]
Code
PHP Warning: getimagesize() expects parameter 1 to be string, object given in C:\Inetpub\vhosts\Domain.de\httpdocs\wp-content\themes\montezuma\includes\thumb.php on line 222
Sowie:
Code
PHP Warning: basename() expects parameter 1 to be string, object given in C:\Inetpub\vhosts\Domain.de\httpdocs\wp-content\themes\montezuma\includes\thumb.php on line 223
[COLOR=#333333]
[/COLOR][COLOR=#333333]Die komplette Zeile (220 - 223) lautet:[/COLOR][COLOR=#333333]
[/COLOR]
Code
// no cache files - let's finally resize it$new_img_path = image_resize( $file_path, $width, $height, $crop );
$new_img_size = getimagesize( $new_img_path );
$new_img = str_replace( basename( $image_src[0] ), basename( $new_img_path ), $image_src[0] );
[COLOR=#333333]
Die thumb.php findet ihr hier:
- [/COLOR]https://www.dropbox.com/s/u31pieq3pdzm041/thumb.php.txt
An was könnte das liegen?