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

Fatal Error: imap.php Undefined constant ZPush::ASV_161 #109

Closed
Helmut1965 opened this issue Oct 2, 2024 · 3 comments
Closed

Fatal Error: imap.php Undefined constant ZPush::ASV_161 #109

Helmut1965 opened this issue Oct 2, 2024 · 3 comments

Comments

@Helmut1965
Copy link

I installed the current version on debian bookworm. My log shows the following crash for:
imap.php at 1993:
02/10/2024 14:41:07 [173797] [FATAL] [xxxxxx] Fatal error: /usr/share/z-push/backend/imap/imap.php:1993 - Uncaught Error: Undefined constant ZPush::ASV_161 in /usr/share/z-push/backend/imap/imap.php:1993
Stack trace:
#0 /usr/share/z-push/lib/core/zpush.php(835): BackendIMAP->GetSupportedASVersion()
#1 /usr/share/z-push/lib/core/zpush.php(849): ZPush::GetSupportedASVersion()
#2 /usr/share/z-push/index.php(93): ZPush::GetServerHeader()
#3 {main}
thrown (1)
In case I change line 1993 back to
return ZPush::ASV_14;

it works

@matidau
Copy link
Collaborator

matidau commented Oct 4, 2024

Hi @Helmut1965, Can you check what is in your lib/core/zpush.php? There should be constant for ASV_161 around line 49.

Edit: based on #110 you are not using the latest dev branch. ActiveSynce 16.1 is only available from Dev and hasn't been released.

@Helmut1965
Copy link
Author

can be closed, was caused by a version mix. Sorry for the effort
Helmut

@Helmut1965
Copy link
Author

can be closed, was caused by a version mix. Sorry for the effort
Helmut

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