• Resolved rykcon

    (@rykcon)


    Parse error: syntax error, unexpected ‘:’ in …/wp-content/plugins/placester/lib/form.php on line 38.

    It’s also in line 42. It appears to be the only two lines with ” ?: ” in them.

    Line 38: $temp_attribute[‘label’] = $attribute[‘label_min’] ?: ‘Min’ . $attribute[‘label’];
    Line 42: $temp_attribute[‘label’] = $attribute[‘label_max’] ?: ‘Max’ . $attribute[‘label’]

    Please help! Thanks

    https://wordpress.org/plugins/placester/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Placester Inc.

    (@placester)

    Hi rykcon,

    I suspect that your server is running PHP 5.2. The Placester plugin requires version 5.3 or higher.

    You hosting service will be able to help you upgrade or otherwise provide instructions relevant to your particular installation. In many cases it’s simply a matter of configuration options–choosing which of several PHP versions to use from among several already installed on your system.

    WordPress itself still maintains compatibility with PHP versions as far back as 5.2.4, but see their cautionary note: https://wordpress.org/about/requirements/ and that from the PHP Group: http://php.net/eol.php

    If you continue to have trouble you can reach us at support@placester.com

    Best,
    Placester

    Having the same problem. Using latest version of WP and PHP 5.4.45

    Same problem here… please advice…

    Parse error: syntax error, unexpected ‘:’ in D:\home\…\wwwroot\mango\wp-content\plugins\placester\lib\form.php on line 38

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Syntax Error in Form.php’ is closed to new replies.