[GH-ISSUE #301] PHP Catchable fatal error: Object of class Hm_Site_Config_File could not be converted to string #260

Closed
opened 2026-02-25 21:34:35 +03:00 by kerem · 3 comments
Owner

Originally created by @mpaolo on GitHub (Nov 8, 2018).
Original GitHub issue: https://github.com/cypht-org/cypht/issues/301

Originally assigned to: @jasonmunro on GitHub.

🐛 Bugreport

Hi,
sent an email, did not see it in 'sent' folder. Then browser imap folders, tried to create a 'sent' folder but on 'create' an 'offlone' msg on red background appeared top right.
nginx error.log recorded :
"PHP message: PHP Catchable fatal error: Object of class Hm_Site_Config_File could not be converted to string in /usr/local/share/cypht/modules/imap/hm-imap.php on line 47"
any cue?

thx

Version & Environment

Cypht latest, Debian stretch {Nginx, Dovecot-imapd}
no database, file-based

Steps to reproduce

that's already above

Originally created by @mpaolo on GitHub (Nov 8, 2018). Original GitHub issue: https://github.com/cypht-org/cypht/issues/301 Originally assigned to: @jasonmunro on GitHub. ## 🐛 Bugreport Hi, sent an email, did not see it in 'sent' folder. Then browser imap folders, tried to create a 'sent' folder but on 'create' an 'offlone' msg on red background appeared top right. nginx error.log recorded : "PHP message: PHP Catchable fatal error: Object of class Hm_Site_Config_File could not be converted to string in /usr/local/share/cypht/modules/imap/hm-imap.php on line 47" any cue? thx ### Version & Environment Cypht latest, Debian stretch {Nginx, Dovecot-imapd} no database, file-based ### Steps to reproduce that's already above
Author
Owner

@jasonmunro commented on GitHub (Nov 8, 2018):

I recently made changes to how we handle caching and this module set (imap folders) was not updated. Should have a fix shortly. Thanks for the feedback!

<!-- gh-comment-id:437124689 --> @jasonmunro commented on GitHub (Nov 8, 2018): I recently made changes to how we handle caching and this module set (imap folders) was not updated. Should have a fix shortly. Thanks for the feedback!
Author
Owner

@jasonmunro commented on GitHub (Nov 8, 2018):

Should be fixed in the master branch!

<!-- gh-comment-id:437126994 --> @jasonmunro commented on GitHub (Nov 8, 2018): Should be fixed in the master branch!
Author
Owner

@mpaolo commented on GitHub (Nov 8, 2018):

yep, replaced modules/imap_folders/modules.php and now works

thank you a lot :)

<!-- gh-comment-id:437165899 --> @mpaolo commented on GitHub (Nov 8, 2018): yep, replaced modules/imap_folders/modules.php and now works thank you a lot :)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/cypht#260
No description provided.