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
php 8.2 [BUG] #801
Comments
The Quick workaround: stop using the |
Referring to the second error:
Seems like there is an error handling an unknown file type. Can you provide the feed url or more details about the media file? |
Thank You! As for unknown file type error, that's running the Demo right out of the box. I will have some time tonight to dig deeper. Thanks Again! |
With php 8.2, the demo will run more or less fine if I comment out... |
Looks like reddit has enclosures without type specified: <entry>
<author>
<name>/u/IgorVozMkUA</name>
<uri>https://www.reddit.com/user/IgorVozMkUA</uri>
</author>
<category label="r/ukraine" term="ukraine"/>
<content type="html"><table> <tr><td> <a href="https://www.reddit.com/r/ukraine/comments/11spul1/the_us_department_of_defense_released_footage_of/"> <img src="https://external-preview.redd.it/gIH_CDiZfgrYsFyO1GR_dcCHpq-y90MRwAbSnu0cIT8.png?width=640&amp;crop=smart&amp;auto=webp&amp;s=36c121ae80192516cf4b339f5031558791ff6169" alt="The US Department of Defense released footage of a Russian Su-27 colliding with an American MQ-9 Reaper UAV over the Black Sea" title="The US Department of Defense released footage of a Russian Su-27 colliding with an American MQ-9 Reaper UAV over the Black Sea" /> </a> </td><td> &#32; submitted by &#32; <a href="https://www.reddit.com/user/IgorVozMkUA"> /u/IgorVozMkUA </a> &#32; to &#32; <a href="https://www.reddit.com/r/ukraine/"> r/ukraine </a> <br/> <span><a href="https://v.redd.it/2x4p30nis2oa1">[link]</a></span> &#32; <span><a href="https://www.reddit.com/r/ukraine/comments/11spul1/the_us_department_of_defense_released_footage_of/">[komentáře]</a></span> </td></tr></table></content>
<id>t3_11spul1</id>
<media:thumbnail url="https://external-preview.redd.it/gIH_CDiZfgrYsFyO1GR_dcCHpq-y90MRwAbSnu0cIT8.png?width=640&crop=smart&auto=webp&s=36c121ae80192516cf4b339f5031558791ff6169"/>
<link href="https://www.reddit.com/r/ukraine/comments/11spul1/the_us_department_of_defense_released_footage_of/"/>
<updated>2023-03-16T10:09:44+00:00</updated>
<published>2023-03-16T10:09:44+00:00</published>
<title>The US Department of Defense released footage of a Russian Su-27 colliding with an American MQ-9 Reaper UAV over the Black Sea</title>
</entry> Which basically creates the following enclosure: new Enclosure(
restrictions: [
new Restriction(relationship: "allow", type: null, value: "default"),
],
thumbnails: [
"https://external-preview.redd.it/gIH_CDiZfgrYsFyO1GR_dcCHpq-y90MRwAbSnu0cIT8.png?width=640&crop=smart&auto=webp&s=36c121ae80192516cf4b339f5031558791ff6169"
],
) This trips up the Line 933 in 7b0901c
But that is not true, I am correcting the return type of And even if we fix that, the method still expects a link exists: Line 1029 in 7b0901c
|
My webhost updated php to 8.1 today and things in my SimplePie powered app broke.
I'm testing things locally now on my Mac using MAMP and SP 1.8.0
Running the Demo I have no problems with php 7.4.33, but when I try it with 8.2 I get errors like...
I have a request at my webhost to revert to 7.4 which should be a temporary fix, but I'm not sure how much longer they'll support it. Please advise. Thanks!
The text was updated successfully, but these errors were encountered: