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

Test against WordPress 5.7 #735

Closed
2 of 5 tasks
jeffpaul opened this issue Mar 10, 2021 · 6 comments
Closed
2 of 5 tasks

Test against WordPress 5.7 #735

jeffpaul opened this issue Mar 10, 2021 · 6 comments
Labels
help wanted needs:documentation This requires documentation. type:good-first-issue Good for newcomers.
Milestone

Comments

@jeffpaul
Copy link
Member

jeffpaul commented Mar 10, 2021

Is your enhancement related to a problem? Please describe.
Once WordPress 5.7 is released, we'll want to test Distributor to see if any incompatibility issues arise.

Describe the solution you'd like

  • test Distributor on WordPress 5.7
  • open issues for any incompatibilities noted in testing
  • resolve issues identified in testing
  • bump "tested up to" version
  • if code changes needed due to incompatibilities, ship a plugin release

Designs
n/a

Describe alternatives you've considered
none

Additional context
Related: #568, #624.

@jeffpaul jeffpaul added help wanted needs:documentation This requires documentation. type:good-first-issue Good for newcomers. labels Mar 10, 2021
@jeffpaul jeffpaul added this to the 1.7.0 milestone Mar 10, 2021
@antoinebougr
Copy link

Hi

I m facing a fatal error after wordpress 5.7 update. For the moment I disabled distributor to make wordpress work again
distributor

@dkotter
Copy link
Collaborator

dkotter commented Mar 16, 2021

@antoinebougr Thanks for the report. This doesn't seem to be related to the latest WordPress update but does seem like this may be related to the latest Distributor release. I have not been able to reproduce this error on either WP 5.6 or 5.7, with the latest release of Distributor. Can you let me know what version of PHP you are using? Based on the error you shared, seems like it may be a compatibility issue with a certain version of PHP.

@PaddyWhacks
Copy link

PaddyWhacks commented Mar 19, 2021

Just updated Multisite to WordPress 5.7 and distributor to 1.6.3. Rolling back to 1.6.2 works. Same error message as @antoinebougr -

Fatal error: Declaration of Distributor\ExternalConnection::log_sync() must be compatible with Distributor\Connection::log_sync(array $item_id_mappings, $id, Distributor\bool $overwrite) in /home/dotnewsb/public_html/wp-content/plugins/distributor/includes/classes/ExternalConnection.php on line 17

There has been a critical error on this website. Please check your site admin email inbox for instructions.

Learn more about troubleshooting WordPress.

@dkotter
Copy link
Collaborator

dkotter commented Mar 19, 2021

@PaddyWhacks Do you happen to know what version of PHP you're site is running? Thanks!

@dkotter
Copy link
Collaborator

dkotter commented Mar 19, 2021

@PaddyWhacks @antoinebougr Just tested on various PHP versions and found the issue. With the latest release of Distributor and a site running PHP <7.2 (so 7.1, 7.0 or 5.6) a fatal error occurs. I just fixed this in PR #742, if you want to test that out.

@jeffpaul jeffpaul modified the milestones: 1.7.0, 1.6.4 Mar 23, 2021
@jeffpaul jeffpaul mentioned this issue Mar 23, 2021
6 tasks
@PaddyWhacks
Copy link

Thanks - All sorted now! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted needs:documentation This requires documentation. type:good-first-issue Good for newcomers.
Projects
None yet
Development

No branches or pull requests

4 participants