If you need anymore information please let me know!
Sorry for the delayed response. I’ve been out of town.
This is legal syntax. I believe you need to update the version of PHP on your site. https://wordpress.org/about/requirements/
-Mark
Hi,
My website still works, but this comes up when I try and go on the dashboard or do any edits:
Parse error: syntax error, unexpected ‘[‘ in /var/sites/k/kentcrusaders.co.uk/public_html/wp-content/plugins/team-rosters/includes/mstw-tr-team-roster-admin-class.php on line 718
Please help I don’t know what I have done, and I cant do anything on the website.
I see the message above but I don’t really know what to do.
Can you help please.
Hey coachdavies,
As I stated previously, this is legal syntax. You should to upgrade your site’s version of PHP to 7 or greater. (I believe this particular syntax only requires v5.5.) I provided a link to the WP requirements previously in this thread.
You can go to plugins in your dashboard, and search for “Display PHP Version”, and install the plugin. The PHP version you are running will the show on your dashboard.
If you are using a shared hosting site, you will have to contact your hosting provider and ask them to upgrade PHP.
Hope that helps.
-Mark
I can’t get on the dashboard that is the problem.
Okay, sorry. Go into your file system and delete the directory wp-content/plugins/team-rosters. Your admin will come back. Update PHP. Re-install the plugin. (The data will still be there.)
-Mark
All sorted my host changed something.