Syntax Error in Structure

Mike's Avatar

Mike

13 Jun, 2018 06:47 PM

I'm doing an upgrade on a site from EE 2.5.2 to EE3.
When copying in the latest version of Structure to addons (4.3.18) I'm getting a syntax error on the admin page.

Parse error: syntax error, unexpected '[' in /nfs/c08/h02/mnt/122324/domains/lehightechnologies.com/html/contentzsystem_ee3/user/addons/structure/ext.structure.php on line 179

I have PHP 5.6.21 installed on this server.

  1. Support Staff 1 Posted by Support on 14 Jun, 2018 02:27 PM

    Support's Avatar

    Hi Mike - is the PHP version reported as 5.6 in the Developer > Utilities > PHP Info page as well? The code that's throwing that error should be supported as of PHP 5.4. We'll look into changing it but I'm curious if you're EE install is running on a different PHP version than what the server may show elsewhere.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac