Leed
Leed copied to clipboard
Incompatibilities with php 8.2 - 1.13.0 dev
I am using Leed behind a php:8.2-apache docker container. Leed is not the only php application running.
When I try to update the feeds, I get this error:
url: https://example.com/dir/leed/action.php?action=readAll
Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/dir/leed/Event.class.php:44) in /var/www/html/dir/leed/action.php on line 81
It is impossible to display the articles. If I remove the ?action=readAll parameter, I can see the articles with the following warnings:
Deprecated: Creation of dynamic property Event::$pubdate is deprecated in /var/www/html/dir/leed/Event.class.php on line 44
Deprecated: Creation of dynamic property Translation::$location is deprecated in /var/www/html/dir/leed/i18n.php on line 26
Deprecated: Creation of dynamic property Translation::$languages is deprecated in /var/www/html/dir/leed/i18n.php on line 30
Deprecated: Creation of dynamic property Translation::$location is deprecated in /var/www/html/dir/leed/i18n.php on line 26
Deprecated: Creation of dynamic property Translation::$languages is deprecated in /var/www/html/dir/leed/i18n.php on line 30
Deprecated: Creation of dynamic property Event::$pubdate is deprecated in /var/www/html/dir/leed/Event.class.php on line 44
Deprecated: Creation of dynamic property Event::$pubdate is deprecated in /var/www/html/dir/leed/Event.class.php on line 44
Deprecated: Creation of dynamic property Event::$pubdate is deprecated in /var/www/html/dir/leed/Event.class.php on line 44
Deprecated: Creation of dynamic property Event::$pubdate is deprecated in /var/www/html/dir/leed/Event.class.php on line 44
Deprecated: Creation of dynamic property Event::$pubdate is deprecated in /var/www/html/dir/leed/Event.class.php on line 44
Hi @jarobase thanks a lot for your issue. Can you try this branch https://github.com/LeedRSS/Leed/tree/fix/php82-deprecations ?
Hi @jarobase thanks a lot for your issue. Can you try this branch https://github.com/LeedRSS/Leed/tree/fix/php82-deprecations ?
It is working ! All the warnings disappeared. Thanks a lot.
This morning I faced other warnings. These are not blocking. What do you think? I can pull if needed.
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /var/www/html/secure/leed/Feed.class.php on line 167
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /var/www/html/secure/leed/Feed.class.php on line 169
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /var/www/html/secure/leed/Feed.class.php on line 169
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /var/www/html/secure/leed/Feed.class.php on line 171
Le sam. 15 juil. 2023 à 16:41, Simon Alberny @.***> a écrit :
Hi @jarobase https://github.com/jarobase thanks a lot for your issue. Can you try this branch https://github.com/LeedRSS/Leed/tree/fix/php82-deprecations ?
— Reply to this email directly, view it on GitHub https://github.com/LeedRSS/Leed/issues/507#issuecomment-1636788514, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGDVBQA42THXWSTTYJFLBFTXQKTY3ANCNFSM6AAAAAA2LHODP4 . You are receiving this because you were mentioned.Message ID: @.***>
Yep, it's on my list. I will take care of this as soon as possible.
Can you try it with my last commit, please?