Unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR

Posted by Cameron on Stack Overflow See other posts from Stack Overflow or by Cameron
Published on 2011-01-18T01:26:36Z Indexed on 2011/01/18 1:53 UTC
Read the original article Hit count: 262

Filed under:
|

Hi I'm trying to run a WordPress plugin and I get the following error:

Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /nfs/c03/h05/mnt/52704/domains/creathive.net/html/wp-content/plugins/qr-code-tag/lib/qrct/QrctWp.php on line 13

What would be the problem here? Line 13 is the public bit

EDIT: Here is some code:

class QrctWp
{
    public $pluginName = 'QR Code Tag';

© Stack Overflow or respective owner

Related posts about php

Related posts about wordpress-plugin