replace require with require_once in entryPoint.php#554
Open
JoshMcCullough wants to merge 1 commit intoSuiteCRM:hotfixfrom
Open
replace require with require_once in entryPoint.php#554JoshMcCullough wants to merge 1 commit intoSuiteCRM:hotfixfrom
require with require_once in entryPoint.php#554JoshMcCullough wants to merge 1 commit intoSuiteCRM:hotfixfrom
Conversation
require with require_once in entryPoint.phprequire with require_once in entryPoint.php
Author
|
Can we get this simple fix merged soon, please? |
|
I am getting the same issue with SuiteCRM If I replace require to require_once in entryPoint the error bubbles down to Currency error. It looks like after an upgrade the require has been broken and loads it multiple times on API. After replacing to require_once I get: |
sadiq-geeky
approved these changes
Jan 10, 2025
sadiq-geeky
left a comment
There was a problem hiding this comment.
Simple but effective change, Looks perfect.
Author
|
Needs one more review. This is a pretty severe bug and a simple fix, let's merge it! @sadiq-geeky can you tag someone else who can provide the 2nd review? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
I am not a "PHP Guy", so this could be wrong. However, it fixes error messages such as:
Same with
LanguageManager.phpandVardefManager.php, and likely but not confirmed,TemplateText.php.Motivation and Context
I noticed the error while authenticating via the API, when the server returned 500.
How To Test This
Execute the below command and verify that the above error message does not appear in the log.
Types of changes
Final checklist