title: PHP error - parse/unexpected t-string in sitemap
body: <p>Our website unexpectedly starting giving the following error: </p>
  
  <blockquote>
    <p>Parse error: syntax error, unexpected T_STRING in /home3/rslade/public_html/wp-content/plugins/kocuj-sitemap/kocuj-sitemap.php on line 51</p>
  </blockquote>
  
  <pre><code>48 // initialize classes
  49 $kocujSitemapPluginDir = dirname(__FILE__);
  50 include $kocujSitemapPluginDir.DIRECTORY_SEPARATOR.'classes'.DIRECTORY_SEPARATOR.'base.class.php';
  51 \KocujSitemapPlugin\Classes\Base::getInstance(__FILE__);
  52 include $kocujSitemapPluginDir.DIRECTORY_SEPARATOR.'autoload.php';
  53 unset($kocujSitemapPluginDir);
  </code></pre>
  
  <p>We had someone do our site and they bailed so I'm hoping to be able to fix the error myself and so far I've not been able to figure out the cause so any help would be greatly appreciated.</p>
  
  <p>Edited to add - here is the remainder of the code in the file after the general information regarding the author of the plugin</p>
  
  <pre><code> /**
   * kocuj-sitemap.php
   *
   * @author Dominik Kocuj &lt;dominik@kocuj.pl&gt;
   * @license http://www.gnu.org/licenses/gpl-2.0.html GNU General Public License v2 or later
  * @copyright Copyright (c) 2013-2016 Dominik Kocuj
   * @package kocuj_sitemap
   */
  
  // security
  if ((!defined('ABSPATH')) || ((isset($_SERVER['SCRIPT_FILENAME'])) &amp;&amp; (basename($_SERVER['SCRIPT_FILENAME']) === basename(__FILE__)))) {
      header('HTTP/1.1 404 Not Found');
      die();
  }
  
  // meta translation
  if (1 === 0) {
      _e('This plugin adds shortcode, widget and PHP function that prepares the sitemap which contains links to all of your posts, pages, menu items, authors, tags and custom types entries in the place where it is located. It supports excluding the selected entries. It also supports multilingual websites (by using qTranslate X plugin if exists). The sitemap is automatically generated and stored in the cache to speeds up the loading of sitemap on your website.', 'kocuj-sitemap');
  }
  
  // initialize classes
  $kocujSitemapPluginDir = dirname(__FILE__);
  include $kocujSitemapPluginDir.DIRECTORY_SEPARATOR.'classes'.DIRECTORY_SEPARATOR.'base.class.php';
  \KocujSitemapPlugin\Classes\Base::getInstance(__FILE__);
  include $kocujSitemapPluginDir.DIRECTORY_SEPARATOR.'autoload.php';
  unset($kocujSitemapPluginDir);
  
  /**
   * Display sitemap
   *
   * @access public
   * @param string $homeLinkText Home link text in the sitemap - default: empty
   * @param string $class Sitemap class - default: empty
   * @param array $exclude List of elements to exclude - it is divided into sections: "post", "category", "author", "term" - default: empty
   * @return void
   */
  function kocujsitemap_show_sitemap($homeLinkText = '', $class = '', array $exclude = array()) {
      // show sitemap
      echo \KocujSitemapPlugin\Classes\Sitemap::getInstance()-&gt;get($homeLinkText, $class, $exclude);
  }
  </code></pre>