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

fix UploadStream warning #557

Open
wants to merge 2 commits into
base: hotfix
Choose a base branch
from

Conversation

JoshMcCullough
Copy link

Description

Fixes this warning in the log:

PHP Warning: stream_wrapper_register(): Protocol upload:// is already defined. in /bitnami/suitecrm/public/legacy/include/UploadStream.php on line 151

Motivation and Context

For cleaner log output.

How To Test This

Run SuiteCRM and try to login via the API. Note the warning above appears in the Apache log.

Types of changes

  • [ x ] Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Final checklist

  • [ x ] My code follows the code style of this project found here.
  • My change requires a change to the documentation.
  • [ x ] I have read the How to Contribute guidelines.

@JoshMcCullough JoshMcCullough changed the title Patch 2 fix UploadStream warning Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant