Support » Plugin: WP Travel Engine - Best Travel Booking WordPress Plugin » Parse error when activating the plugin

  • Resolved Pascal


    I just installed a new website with the Raratheme, when I’m trying to activate this plugin I get a parse error, see below.

    Parse error: syntax error, unexpected ‘[‘, expecting ‘)’ in /www/htdocs/g/golfofcourse/http/wp-content/plugins/wp-travel-engine/public/class-wp-travel-engine-public.php on line 608

Viewing 1 replies (of 1 total)
  • Thread Starter Pascal


    I’ve checked the code but doesn’t see anything wrong, see below the code

    		elseif( isset($_POST['first_class']) && $_POST['first_class'] == 'other' ){
    			$terms = get_terms([
                      'taxonomy' => 'activities',
                      'hide_empty' => false,
Viewing 1 replies (of 1 total)
  • The topic ‘Parse error when activating the plugin’ is closed to new replies.