Open mcbmcb0 opened 1 month ago
Thank you @mcbmcb0 !
Looking forward to a stable 2.x!
2.x is getting pretty stable now, but we should still fix fatal errors for Cypht 1.4.x on PHP 8.2. If this is too risky difficult, we should publicize which versions are not supported. https://github.com/cypht-org/cypht/wiki/Lifecycle
I updated https://github.com/cypht-org/cypht/wiki/Lifecycle to indicate to avoid PHP 8.2 with Cypht 1.4.x, for now anyways.
I updated expectations: https://github.com/cypht-org/cypht-website/commit/21f80cf0ee36cb4aad504b0eebf2d2048a6a4970
Here as well: https://github.com/cypht-org/cypht/wiki/Lifecycle
š Bugreport
Hi I know 1.4.2 is now maintenance, but Iāve updated to it recently due to the comments re likelihood of 2.0 have 'paper cut' bugs. There are still a number of bugs in 1.4.2 on php 8.2. Iām listing some here thatās Iāve patched (hacked) as it may help someone else and possibly it may be relevant to 2.0. I get some of these as appear to have some emails with less common windows encodings. Iām not claiming these are elegant of efficient fixes, but work for me, for now. Iāve posted up a couple before in previous issues. I'm not suggestinganyone resolves these - just TBA for the next 1.4.2 user. Looking forward to a stable 2.x!
PHP Warning: DOMDocument::loadHTML(): Tag o:p invalid in Entity, line: 45 in /ā¦/cypht/modules/core/message_functions.php on line 436
PHP Fatal error: Uncaught ValueError: mb_convert_encoding(): Argument # 3 ($from_encoding) contains invalid encoding "windows-1256" in ā¦/cypht/modules/core/message_functions.php:416
Fatal error: Uncaught ValueError: mb_convert_encoding(): Argument # 3 ($from_encoding) contains invalid encoding "windows-1257" in /ā¦/cypht/modules/imap/hm-imap.php:968
PHP Fatal error: Uncaught TypeError: count(): Argument # 1 ($value) must be of type Countable|array, bool given inā¦ /cypht/modules/imap/functions.php:965
I hope this helps someone