TheAnalyzer
Member
Posted 1 year ago #
Relates to code based on http://core.trac.wordpress.org/ticket/15311
The code module (presumambly matured) is included with the Socrates theme (v3.02) in /functions/native.php
It's throwing a catchable error that we have described in the Socrates support forum along with debug output of variables.
Any pointers as to likely causes would be gratefully accepted.
I would contact Victor directly but I don't see a channel anywhere online.
peterwbowey
Member
Posted 1 year ago #
'TheAnalyzer', please try this PHP 5.3+ Cleaned + Modified + Checked version of Victor's original PHP Code:
See PastBin Link here
I was getting several PHP 'E' Notices with the original code. The original uses post-modern PHP5.x methods. Hence type checking was 'too primitive' for recent PHP 5.3.x and higher.
Typical problems seen were; "PHP Warning: getimagesize() expects parameter 1 to be string, object given...", and others PHP E Notices...
Peter