• Resolved inhe

    (@inhe)


    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

    (@pixelarbeit)

    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

    (@pixelarbeit)

    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 6 years, 1 month ago by pixelarbeit.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Parse error: syntax error, unexpected ‘::’’ is closed to new replies.