Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected identifier when connecting the first time on the Calendar #26

Open
ericxuo opened this issue Nov 3, 2023 · 1 comment
Open

Comments

@ericxuo
Copy link

ericxuo commented Nov 3, 2023

Hi,

I've just installed the plugin texxasrulez/calendar and I get this error when I enter in the Calendar menu :
image

When I have a look in the Roundcube logs, I see :
[03-Nov-2023 12:46:35 UTC] PHP Parse error: syntax error, unexpected identifier "this", expecting variable or "{" or "$" in /usr/share/roundcubemail-1.6.4/plugins/calendar/drivers/caldav/caldav_driver.php on line 170

Do you have any idea about this issue ?

This "might" come from the fact that I had some errors during the database creation :
Creating database schema... ERROR: [1050] Table 'calendar_oauth_states' already exists (SQL Query: /*
I think I had already installed this plugin quite a long time ago and then uninstalled it. But the databases were still there (and I don't know how to remove them as each time I try I get an error message telling me it is used by another one, so it is not possible to remove it).

Regards.

Xuo.

@CodeShakingSheep
Copy link

I run into the exact same error after installing the plugin (dev-master).

[12-Nov-2023 11:36:51 UTC] PHP Parse error:  syntax error, unexpected 'this' (T_STRING), expecting variable (T_VARIABLE) or '{' or '$' in /var/www/roundcube/plugins/calendar/drivers/caldav/caldav_driver.php on line 170

I had never installed it before. How can I make it work?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants