I guess this could be caused if you're running a very old version of PHP ( <5.2). Please check your cPanel settings if you have access to it, or contact your host if they can change PHP version to at least 5.3 (or even better PHP7, which is way faster).
Honestly never saw this before, although that also should be a server related issue. I did some research and had confirmation on a couple similar issue on Wordpress.org:
Hi, im trying to install the theme in this hosting and it shows me this error.
https://donweb.com/es-ar/wordpress-hosting
arse error: syntax error, unexpected T_FUNCTION in /home/wp000702/public_html/wp-content/themes/stoked/inc/fn/fn-tools.php on line 382
Hi there,
thank you for your purchase.
I guess this could be caused if you're running a very old version of PHP ( <5.2). Please check your cPanel settings if you have access to it, or contact your host if they can change PHP version to at least 5.3 (or even better PHP7, which is way faster).
Regards
djwd
Thank you that works, im also having a ishue when importing demo data
This one
An error occurred while fetching file from: https://stoked.djwd.me/demos/demo1/demo_1_content.xml!
Reason: http_request_failed - cURL error 51: .
Hi there,
Honestly never saw this before, although that also should be a server related issue.
I did some research and had confirmation on a couple similar issue on Wordpress.org:
https://wordpress.org/support/topic/import-data-issue/
https://wordpress.org/support/topic/one-click-demo-import/
If trying again doesn't work, I would advise you to contact your hosting company and ask them about cURL settings.
Regards
djwd