Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2014-03-01 01:58:32
- wavesource
- Member
- From: Australia
- Registered: 2011-08-02
- Posts: 56
[solved] Cascade of errors on 1&1 hosting running PHP5.4
I’ve got a client who has a 1&1 host, and they are running PHP 5.4 supposedly up there, but I’m getting this error on the Images page in TXP admin:
Strict Standards: Declaration of txp_thumb::write() should be compatible with wet_thumb::write($infile, $outfile) in /homepages/32/d403446716/htdocs/wsb6785437301/textpattern/lib/class.thumb.php on line 367
Anyone have any ideas as to how to quash it?
Cheers
David
Last edited by Gocom (2014-03-30 15:14:19)
Offline
Re: [solved] Cascade of errors on 1&1 hosting running PHP5.4
You should see the wet_thumb plugin, the problem is there, try to see if you have the last version of the plugin
Offline
#3 2014-03-01 15:09:01
- uli
- Moderator
- From: Cologne
- Registered: 2006-08-15
- Posts: 4,304
Re: [solved] Cascade of errors on 1&1 hosting running PHP5.4
Yup, try with plugins off. But wet_thumb could well mean the function in /textpattern/lib/class.thumb.php. I remember that name as it stumped me and I wrote that before here in the forum. Furthermore: Are there any modified files on the diagnostics panel? Other abnormalities? Please post your diagnostics report in case you don’t find anything.
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
Re: [solved] Cascade of errors on 1&1 hosting running PHP5.4
Uli is right. Wet_thumb is actually part of core and was just never renamed. But in cases like this it’s usually image plugins and I suspect (gulp) that smd_thumbnail may be the culprit because I may not have defined the function properly. I thought I fixed it in the latest version so please check my website to make sure you have the latest version if you have this plugin installed.
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Txp Builders – finely-crafted code, design and Txp
Offline
Re: [solved] Cascade of errors on 1&1 hosting running PHP5.4
Bloke wrote #279352:
Uli is right. Wet_thumb is actually part of core and was just never renamed. But in cases like this it’s usually image plugins and I suspect (gulp) that smd_thumbnail may be the culprit because I may not have defined the function properly. I thought I fixed it in the latest version so please check my website to make sure you have the latest version if you have this plugin installed.
The error comes from core as even said by the error. The signatures are different in the two core classes. The one extending, txp_thumb::write()
, is missing mandatory arguments. Faulty code.
Last edited by Gocom (2014-03-30 15:06:09)
Offline
Offline