Soil plugin can't activate b/c of fatal error with namespace?

I have a small project I’m building for and want to use Soil but it’s choking on the name space. I have activated a free theme and am using a child theme based on it.

Free theme:

When I go to activate Soil, it gives me a fatal error:

Parse error: syntax error, unexpected T_STRING in /home/content/account/html/wp/wp-content/plugins/soil-master/soil.php on line 14

Line 14 is the namespace. How do I get around this? I’ve previously used this plugin with other themes so this doesn’t make sense to me.

What version of PHP are you using?

Good call, I didn’t even think to check. It was 5.2 so I just sent in a request to update to 5.4. That should fix the issue. Thanks!

1 Like