Title: Syntax Error in Form.php
Last modified: August 30, 2016

---

# Syntax Error in Form.php

 *  Resolved [rykcon](https://wordpress.org/support/users/rykcon/)
 * (@rykcon)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/syntax-error-in-formphp/)
 * 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/](https://wordpress.org/plugins/placester/)

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

 *  Plugin Author [Placester Inc.](https://wordpress.org/support/users/placester/)
 * (@placester)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/syntax-error-in-formphp/#post-6545064)
 * 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/](https://wordpress.org/about/requirements/)
   and that from the PHP Group: [http://php.net/eol.php](http://php.net/eol.php)
 * If you continue to have trouble you can reach us at [support@placester.com](https://wordpress.org/support/topic/syntax-error-in-formphp/support@placester.com?output_format=md)
 * Best,
    Placester
 *  [maineiac](https://wordpress.org/support/users/maineiac/)
 * (@maineiac)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/syntax-error-in-formphp/#post-6545192)
 * Having the same problem. Using latest version of WP and PHP 5.4.45
 *  [bw3em](https://wordpress.org/support/users/bw3em/)
 * (@bw3em)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/syntax-error-in-formphp/#post-6545217)
 * 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.

 * ![](https://s.w.org/plugins/geopattern-icon/placester_8d8b8c.svg)
 * [Real Estate Website Builder](https://wordpress.org/plugins/placester/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/placester/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/placester/)
 * [Active Topics](https://wordpress.org/support/plugin/placester/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/placester/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/placester/reviews/)

## Tags

 * [parse-error](https://wordpress.org/support/topic-tag/parse-error/)
 * [syntax error](https://wordpress.org/support/topic-tag/syntax-error/)

 * 3 replies
 * 4 participants
 * Last reply from: [bw3em](https://wordpress.org/support/users/bw3em/)
 * Last activity: [10 years, 4 months ago](https://wordpress.org/support/topic/syntax-error-in-formphp/#post-6545217)
 * Status: resolved