Skip to content

Getting error when trying to use the lib #6

@dennyshess

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

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