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

Plugin: managesieve - Vacation PHP Fatal Error #4778

Closed
rcubetrac opened this issue Feb 27, 2015 · 4 comments

Comments

Projects
None yet
1 participant
@rcubetrac
Copy link

commented Feb 27, 2015

Reported by Rittsel on 27 Feb 2015 10:23 UTC as Trac ticket #1490292

If a new email account is created, and you go straight to "Vacation" in Roundcube a blank page is shown and this is logged in logs/errors

08:53:18 UTC PHP Fatal error: Call to a member function as_array() on a non-object in plugins/managesieve/lib/Roundcube/rcube_sieve_engine.php on line 2347

This seems to be because Default.sieve is missing in the accounts sieve folder on the mail server.

If I go to "Filters" first in Roundcube,
~/.dovecot.sieve -> .sieve/Default.sieve (symlink)
and
~/.sieve/Default.sieve

is created in the accounts vmail.
Default.sieve only contains /* empty script */

And after these files are created, Vacation is working as it should.

I'm using $config['managesieve_vacation'] = 1;

Migrated-From: http://trac.roundcube.net/ticket/1490292

@rcubetrac

This comment has been minimized.

Copy link
Author

commented Feb 27, 2015

Comment by Rittsel on 27 Feb 2015 10:26 UTC

Forgot to add, managesieve is version 8.2

@rcubetrac

This comment has been minimized.

Copy link
Author

commented Feb 27, 2015

Comment by @alecpl on 27 Feb 2015 11:09 UTC

This was already fixed here 3e0ad29

@rcubetrac

This comment has been minimized.

Copy link
Author

commented Feb 27, 2015

Status changed by @alecpl on 27 Feb 2015 11:09 UTC

new => closed

@rcubetrac

This comment has been minimized.

Copy link
Author

commented Feb 27, 2015

Milestone changed by @alecpl on 27 Feb 2015 11:09 UTC

later => 1.1.1

@rcubetrac rcubetrac closed this Feb 27, 2015

@rcubetrac rcubetrac added this to the 1.1.1 milestone Mar 20, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.