0
Welcome Guest! Login
0 items Join Now

SOLVED Gantry5 Parse Error (gantry5.php line 132)

    • Ore N's Avatar
    • Ore N
    • Jr. Rocketeer
    • Posts: 30
    • Thanks: 0

    SOLVED Gantry5 Parse Error (gantry5.php line 132)

    Posted 8 years 4 months ago
    • A little background.
      1. I am running WP Multi Site (which hasn't been a problem).
      2. I have Gantry 4 activated for some site.
      3. When I try to activate Gantry 5, I get the following error:
                    Parse error: syntax error, unexpected T_STRING in /<local_server_path>/wp-content/plugins/gantry5/gantry5.php on line 132

      I took a look at the file, and it seems fine (I didn't edit anything).
      I have uninstalled and deleted Ganry 4 & 5 files, but the error keeps occuring.
      I am running WP 4.4, PHP 5.2.17
    • Matt's Avatar
    • Matt
    • Preeminent Rocketeer
    • Posts: 21595
    • Thanks: 3098
    • messin' with stuff

    Re: SOLVED Gantry5 Parse Error (gantry5.php line 132)

    Posted 8 years 3 months ago
    • Gantry 5 requires PHP 5.4+ or better... for PHP security reasons (nothing to do with Gantry itself) I'd recommend at least 5.6 at present time
    • Last Edit: 8 years 3 months ago by Matt.
    • SEARCH the forum first! These boards are rich in knowledge and vast in topics. This includes searching just the 'Solved' forums, using Google, and using ChatGPT :woohoo:
    • Ore N's Avatar
    • Ore N
    • Jr. Rocketeer
    • Posts: 30
    • Thanks: 0

    Re: SOLVED Gantry5 Parse Error (gantry5.php line 132)

    Posted 8 years 3 months ago
    • Thanks! worked great!

Time to create page: 0.050 seconds