Skip to content
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

Patch MagpieRSS for basic use in PHP 8 #15721

Merged
merged 3 commits into from May 22, 2021
Merged

Conversation

opengeek
Copy link
Member

What does it do?

Patch MagpieRSS to work in PHP 8

Why is it needed?

News and Security feeds are currently blank in PHP 8.

How to test

Load the Manager Dashboard in a PHP 8 environment and confirm the News and Security feeds are not blank.

Related issue(s)/PR(s)

Resolves #15712

Note

Though this makes it work for now in PHP 8, it is not an ideal solution because it bypasses MagpieRSS cache features to get around the fact that in PHP 8 you cannot serialize an XMLParser instance.

@opengeek opengeek added bug The issue in the code or project, which should be addressed. pr/review-needed Pull request requires review and testing. labels May 20, 2021
@opengeek opengeek added this to the v2.8.3 milestone May 20, 2021
@opengeek opengeek requested a review from Mark-H as a code owner May 20, 2021 20:14
@cla-bot cla-bot bot added the cla-signed CLA confirmed for contributors to this PR. label May 20, 2021
@Mark-H
Copy link
Collaborator

Mark-H commented May 20, 2021

Tested and confirmed on PHP8, tho I did send a separate PR to add back some caching behavior for consideration.

Add 1-hour cache to the dashboard feeds

Merge pull request #29 from Mark-H/patch-magpie
@Mark-H Mark-H merged commit 218b7c3 into modxcms:2.x May 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug The issue in the code or project, which should be addressed. cla-signed CLA confirmed for contributors to this PR. pr/review-needed Pull request requires review and testing.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

MODX News Feed and Security Feed Not Loading in PHP 8
2 participants