Active
Project:
Salsa Entity
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
31 Jul 2013 at 19:58 UTC
Updated:
26 Aug 2015 at 17:02 UTC
Jump to comment: Most recent
I have installed and enabled Salsa_API (beta2). However, when I install Salsa Entity (tried both beta3 and dev) and enable it, it tanks the site and I get the PHP error below.
PHP Parse error: syntax error, unexpected ':' in /public_html/sites/all/modules/salsa_entity/salsa_entity.inc on line 95.
Please advise.
Comments
Comment #1
codewatson commentedCheck your version of php, the line in question:
Uses a shorthand version of an If/Else statement, and that particular shorthand (only providing the else) is only available in PHP 5.3 or above, you are most likely running PHP 5.2.