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

Cannot redeclare GuzzleHttp\Psr7\_caseless_remove() #349

Closed
samjameswatson opened this issue Jul 30, 2019 · 2 comments
Closed

Cannot redeclare GuzzleHttp\Psr7\_caseless_remove() #349

samjameswatson opened this issue Jul 30, 2019 · 2 comments
Labels
Type: Support Support request

Comments

@samjameswatson
Copy link

samjameswatson commented Jul 30, 2019

Bug Description

Attempting to activate SiteKit on a WordPress install that already has an active plugin that loads GuzzleHttp causes a fatal error as it can't be redeclared.

Steps to reproduce

Install and Activate any plugin that loads GuzzleHttp (in my case it was /~https://github.com/humanmade/S3-Uploads but I believe this would affect any plugin making use of the AWS SDK).

Then attempt to activate SiteKit.

Additional Context

  • PHP Version: 7.3.2
  • Plugin Version: 1.0.0-beta.1.0.2

I came across this other GitHub issue that seems related - aws/aws-sdk-php#1616.
They suggest to load functions_include.php instead of functions.php to resolve the issue. Not sure how relevant that is here but hope it helps.


Do not alter or remove anything below. The following sections will be managed by moderators only.

Acceptance criteria

Implementation Brief

Changelog entry

@swissspidy
Copy link
Contributor

Related: #223

@swissspidy
Copy link
Contributor

Closing as a duplicate of #223 where we're already tracking this. See also #246, #41.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Support Support request
Projects
None yet
Development

No branches or pull requests

2 participants