Skip to content
This repository was archived by the owner on Jun 25, 2026. It is now read-only.
This repository was archived by the owner on Jun 25, 2026. It is now read-only.

Getting error when trying to use the lib #6

Description

@dennyshess

I'm keep getting the following error when I try to use your e-mails from github on my server. Anybody can help me with this?

The only code which I execute is:

use Nylas;

$client = new Nylas('***', '***');
$redirect_url = 'url/login_callback.php';
$get_auth_url = $client->createAuthURL($redirect_url);

// redirect to Nylas auth server
header("Location: ".$get_auth_url);

Parse error: syntax error, unexpected '$item' (T_VARIABLE) in path.../nylas-php/src/Nylas.php on line 210

Thanks so much for your help!
Dennys

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions