Package 1.20.0-1 broke
-
Hi,
Last night's automatic update of FreshRSS (package version 1.20.0-1) has broken my setup, due to a TypeError from PHP. Version 1.20.0 worked fine.
Here is an excerpt from the logs:
2023-12-27T03:02:58.000Z FreshRSS starting feeds actualization at 2023-12-27T03:02:58+00:00 2023-12-27T03:02:58.000Z PHP Fatal error: Uncaught TypeError: Minz_ExtensionManager::enable(): Argument #1 ($ext_name) must be of type string, int given, called in /app/code/lib/Minz/ExtensionManager.php on line 279 and defined in /app/code/lib/Minz/ExtensionManager.php:248 2023-12-27T03:02:58.000Z Results: 2023-12-27T03:02:58.000Z Stack trace: 2023-12-27T03:02:58.000Z thrown in /app/code/lib/Minz/ExtensionManager.php on line 248 2023-12-27T03:03:00.000Z - - - [27/Dec/2023:03:03:00 +0000] "GET / HTTP/1.1" 302 - "-" "Mozilla (CloudronHealth)" 2023-12-27T03:03:10.000Z - - - [27/Dec/2023:03:03:10 +0000] "GET / HTTP/1.1" 302 - "-" "Mozilla (CloudronHealth)" 2023-12-27T03:03:20.000Z - - - [27/Dec/2023:03:03:20 +0000] "GET / HTTP/1.1" 302 - "-" "Mozilla (CloudronHealth)" 2023-12-27T03:03:30.000Z - - - [27/Dec/2023:03:03:30 +0000] "GET / HTTP/1.1" 302 - "-" "Mozilla (CloudronHealth)" 2023-12-27T03:03:40.000Z - - - [27/Dec/2023:03:03:40 +0000] "GET / HTTP/1.1" 302 - "-" "Mozilla (CloudronHealth)" 2023-12-27T03:03:50.000Z - - - [27/Dec/2023:03:03:50 +0000] "GET / HTTP/1.1" 302 - "-" "Mozilla (CloudronHealth)" 2023-12-27T03:03:58.000Z #0 /app/code/lib/Minz/ExtensionManager.php(279): Minz_ExtensionManager::enable() 2023-12-27T03:03:58.000Z #1 /app/code/app/FreshRSS.php(63): Minz_ExtensionManager::enableByList() 2023-12-27T03:03:58.000Z #2 /app/code/app/actualize_script.php(97): FreshRSS->init() 2023-12-27T03:03:58.000Z #3 {main} 2023-12-27T03:03:58.000Z ==> Run actualize script 2023-12-27T03:03:58.000Z FreshRSS starting feeds actualization at 2023-12-27T03:03:58+00:00 2023-12-27T03:03:58.000Z PHP Fatal error: Uncaught TypeError: Minz_ExtensionManager::enable(): Argument #1 ($ext_name) must be of type string, int given, called in /app/code/lib/Minz/ExtensionManager.php on line 279 and defined in /app/code/lib/Minz/ExtensionManager.php:248 2023-12-27T03:03:58.000Z Results: 2023-12-27T03:03:58.000Z Stack trace: 2023-12-27T03:03:58.000Z thrown in /app/code/lib/Minz/ExtensionManager.php on line 248
Thankfully, restoring a backup made everything work again.
-
@jk thanks, seems to be upstream bug - https://github.com/FreshRSS/FreshRSS/issues/5976 . I will revoke the package till they make a new release.
-
@jk Can you provide the upstream author the information he requests in https://github.com/FreshRSS/FreshRSS/issues/5976#issuecomment-1869132178 ? Thanks!