[wp-hackers] Corrupt Plugin files

Dion Hulse (dd32) wordpress at dd32.id.au
Tue Dec 7 09:08:14 UTC 2010


The link will be the users using PHP4.
PHP4 doesnt support parameter datatype specifiers (I cant think of the  
right name there..)
> 19	function wpsqt_functions_send_mail( array $results ){
Remove "array" there and it'll function as expected.

The good news is, WordPress 3.2 should be PHP5 only..

Dion Hulse / dd32
Contact:
  e: contact at dd32.id.au
  Web: http://dd32.id.au/

On Tue, 07 Dec 2010 20:04:52 +1100, Iain Cambridge  
<wackiebackie at gmail.com> wrote:

> Hi,
>     I've had a number (4-5) bug reports which seem to be caused by
> corrupt files, what is weird is they all seem to be in the exact same
> file and being corrupt in the exact same place. I've checked svn and
> the files there are valid and functional. Anyone know what would be
> causing this?
>
> Error message :
>
> Parse error: parse error, unexpected T_ARRAY, expecting ')' in
> /wp-content/plugins/wp-survey-and-quiz-tool/includes/functions.php on
> line 19
>
> SVN copy of the file
>
> http://plugins.trac.wordpress.org/browser/wp-survey-and-quiz-tool/tags/1.3.16/includes/functions.php?rev=319686
>
> Thanks
>
> Iain


More information about the wp-hackers mailing list