Title: Parse error: syntax error, unexpected &#8216;::&#8217;
Last modified: October 24, 2018

---

# Parse error: syntax error, unexpected ‘::’

 *  Resolved [inhe](https://wordpress.org/support/users/inhe/)
 * (@inhe)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-235/)
 * Parse error: syntax error, unexpected ‘::’ (T_PAAMAYIM_NEKUDOTAYIM) in /usr/share/
   apache2/htdocs/src/wp-content/plugins/cf7-cleverreach-integration/classes/Controllers/
   SettingsPageController.php on line 76
 * Change
 * > $result = $api->getApiToken($this->plugin**::$**clientId, $this->plugin**::
   > $**clientSecret, $code, $redirectUrl);
 * to
 * > $result = $api->getApiToken($this->plugin**->**clientId, $this->plugin**->**
   > clientSecret, $code, $redirectUrl);
 * thx 🙂

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [pixelarbeit](https://wordpress.org/support/users/pixelarbeit/)
 * (@pixelarbeit)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-235/#post-10812853)
 * Hey,
    thanks for opening a ticket.
 * Your suggestion won’t work, as this is giving me a “Notice: Accessing static 
   property as non static” Notice. Which plugin version and which php version are
   u using?
 * Regards
 *  Plugin Author [pixelarbeit](https://wordpress.org/support/users/pixelarbeit/)
 * (@pixelarbeit)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-235/#post-10812982)
 * Not sure when this is happening but I changed the access of the static var. This
   should be fixed with version 2.1.1. Can you confirm this?
    -  This reply was modified 7 years, 7 months ago by [pixelarbeit](https://wordpress.org/support/users/pixelarbeit/).

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Parse error: syntax error, unexpected ‘::’’ is closed to new replies.

 * ![](https://ps.w.org/cf7-cleverreach-integration/assets/icon-256x256.png?rev=
   1935618)
 * [CleverReach Integration for Contact Form 7](https://wordpress.org/plugins/cf7-cleverreach-integration/)
 * [Support Threads](https://wordpress.org/support/plugin/cf7-cleverreach-integration/)
 * [Active Topics](https://wordpress.org/support/plugin/cf7-cleverreach-integration/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cf7-cleverreach-integration/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cf7-cleverreach-integration/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [pixelarbeit](https://wordpress.org/support/users/pixelarbeit/)
 * Last activity: [7 years, 7 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-235/#post-10812982)
 * Status: resolved