Repository navigation
Fix: Fatal parse error in nowpayments gateway class preventing dropdown load - #41
Open
abrarhasandev wants to merge 1 commit into
Open
abrarhasandev wants to merge 1 commit into
abrarhasandev wants to merge 1 commit into
Conversation
SmZamil1
added a commit
to SmZamil1/PipraPay
that referenced
this pull request
Sep 1, 2026
The doc comment sat outside <?php, so require_once emitted 281 bytes of raw text. The admin gateway modal requires each class inside the <select> element, so that output corrupted the select and emptied the gateway dropdown for all 48 gateways. Upstream issues PipraPay#41 / PipraPay#56.
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
Fixed a PHP parsing error in
pp-content/pp-modules/pp-gateways/nowpayments/class.php.There was unexpected text/characters before the
<?phpopening tag in the nowpayments module. This syntax error was causing the directory scanner to fail silently, which resulted in the "New Gateway" dropdown list appearing completely empty in the Admin Panel for all gateways.Changes Made
<?phptag in thenowpaymentsclass file to ensure valid PHP syntax.Steps to Test