Parse error: syntax error, unexpected 'public' (T_PUBLIC)

wordpress

#1

Hello, I’m trying to buy the template wordpress (quick-rental-vehicles-booking-wordpress-theme) to you, but when I try to activate this template displays the following error:
Parse error: syntax error, unexpected ‘public’ (T_PUBLIC) in/home/dislasof/public_html/inicio/wp-content/themes/car-rental-1/include/metaboxes/classes/cs_meta_fields_render.php on line 1

What is the solution for this error?


#2

This can be related with your server’s PHP version. Try to upgrade to the latest PHP version available on your server.


#3

Thanks for contributing.