Title: VRPConnector Parse Error
Last modified: August 24, 2016

---

# VRPConnector Parse Error

 *  Resolved [erikgerace](https://wordpress.org/support/users/erikgerace/)
 * (@erikgerace)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/vrpconnector-parse-error/)
 * I cloned an existing site to new domain and hosting. When i try to activate VRPConnector
   I am getting this error:
 * Parse error: syntax error, unexpected T_STRING in /home/content/80/3948380/html/
   CaptainErik/bestbeach/wp-content/plugins/vrpconnector/VRPConnector.php on line
   20
 * I have tried to uninstall and re-install to no avail.
 * This is VRPConnector.php:
 * <?php
    /** * Plugin Name: VRPConnector * Plugin URI: [http://www.gueststream.com/apps-and-tools/vrpconnector/](http://www.gueststream.com/apps-and-tools/vrpconnector/)*
   Description: Vacation Rental Platform Connector. * Author: GuestStream, Inc. *
   Version: 1.0.0 * Author URI: [http://www.gueststream.com/](http://www.gueststream.com/)*/
 * if ( !isset( $_SESSION ) ) {
    @session_start(); } /** Constants needed throughout
   plugin: * */ define( ‘VRP_URL’, plugin_dir_url( __FILE__ ) ); define( ‘VRP_PATH’,
   dirname( __FILE__ ) . ‘/’ );
 * require __DIR__ . “/vendor/autoload.php”;
 * $vrp = new \Gueststream\VRPConnector;
 * //Activation:
    register_activation_hook( __FILE__, ‘vrp_flush_rewrites’ ); register_deactivation_hook(
   __FILE__, ‘flush_rewrite_rules’ );
 * /**
    * Flush rewrite rules upon activation/deactivation. */ function vrp_flush_rewrites(){\
   Gueststream\VRPConnector::rewrite_activate(); flush_rewrite_rules(); }
 * [https://wordpress.org/plugins/vrpconnector/](https://wordpress.org/plugins/vrpconnector/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Houghtelin](https://wordpress.org/support/users/houghtelin/)
 * (@houghtelin)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/vrpconnector-parse-error/#post-5969901)
 * This issue is resolved in version 3.0.1 as it now will display a notification
   stating that the PHP version is unsupported. VRPConnector plugin requires PHP
   version 5.4 or higher.

Viewing 1 replies (of 1 total)

The topic ‘VRPConnector Parse Error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/vrpconnector_6bb9e6.svg)
 * [VRPConnector](https://wordpress.org/plugins/vrpconnector/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/vrpconnector/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/vrpconnector/)
 * [Active Topics](https://wordpress.org/support/plugin/vrpconnector/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/vrpconnector/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/vrpconnector/reviews/)

## Tags

 * [parse-error](https://wordpress.org/support/topic-tag/parse-error/)
 * [T_STRING](https://wordpress.org/support/topic-tag/t_string/)

 * 1 reply
 * 2 participants
 * Last reply from: [Houghtelin](https://wordpress.org/support/users/houghtelin/)
 * Last activity: [10 years, 10 months ago](https://wordpress.org/support/topic/vrpconnector-parse-error/#post-5969901)
 * Status: resolved