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

Parse error: syntax error, unexpected ')', expecting variable (T_VARIABLE) in /var/www/html/magento2422/app/code/Adyen/Payment/Helper/Webhook/WebhookHandlerFactory.php on line 62 #2619

Closed
AaryanSinghVision opened this issue May 22, 2024 · 3 comments · Fixed by #2632 or SushmitaThakur/adyen-magento2-forked#20
Assignees
Labels
Bug report Indicates that issue has been marked as a possible bug

Comments

@AaryanSinghVision
Copy link

Parse error: syntax error, unexpected ')', expecting variable (T_VARIABLE) in /var/www/html/magento2422/app/code/Adyen/Payment/Helper/Webhook/WebhookHandlerFactory.php on line 62
PHP Parse error: syntax error, unexpected ')', expecting variable (T_VARIABLE) in /var/www/html/magento2422/app/code/Adyen/Payment/Helper/Webhook/WebhookHandlerFactory.php on line 62
[sudo] password for admink:
PHP Parse error: syntax error, unexpected ')', expecting variable (T_VARIABLE) in /var/www/html/magento2422/app/code/Adyen/Payment/Helper/Webhook/WebhookHandlerFactory.php on line 62
PHP Parse error: syntax error, unexpected ')', expecting variable (T_VARIABLE) in /var/www/html/magento2422/app/code/Adyen/Payment/Helper/Webhook/WebhookHandlerFactory.php on line 62
PHP Parse error: syntax error, unexpected ')', expecting variable (T_VARIABLE) in /var/www/html/magento2422/app/code/Adyen/Payment/Helper/Webhook/WebhookHandlerFactory.php on line 62
PHP Parse error: syntax error, unexpected ')', expecting variable (T_VARIABLE) in /var/www/html/magento2422/app/code/Adyen/Payment/Helper/Webhook/WebhookHandlerFactory.php on line 62

@AaryanSinghVision AaryanSinghVision added the Bug report Indicates that issue has been marked as a possible bug label May 22, 2024
@RokPopov
Copy link
Contributor

Hi @AaryanSinghVision,

Thank you for reporting this issue. Could you please provide additional information, such as the plugin and the Magneto platform versions and description of the flow that results in this error?

Thank you in advance,

Kind regards,
Rok

@RokPopov RokPopov added the Needs more info Indicates that issue requires more info from its creator label May 23, 2024
@RokPopov RokPopov self-assigned this May 23, 2024
@tuyennn
Copy link
Contributor

tuyennn commented May 28, 2024

@RokPopov apparently the last comma from https://github.com/Adyen/adyen-magento2/blob/develop/Helper/Webhook/WebhookHandlerFactory.php#L61 was causing the problem

tuyennn added a commit to tuyennn/adyen-magento2 that referenced this issue May 28, 2024
…ariable (T_VARIABLE) in app/code/Adyen/Payment/Helper/Webhook/WebhookHandlerFactory.php on line 62
@RokPopov RokPopov removed the Needs more info Indicates that issue requires more info from its creator label May 28, 2024
RokPopov pushed a commit that referenced this issue May 28, 2024
…le (T_VARIABLE) in app/code/Adyen/Payment/Helper/Webhook/WebhookHandlerFactory.php on line 62 (#2632)
@RokPopov
Copy link
Contributor

Hi @tuyennn, thank you for introducing the fix!

SushmitaThakur pushed a commit to SushmitaThakur/adyen-magento2-forked that referenced this issue May 28, 2024
…ecting variable (T_VARIABLE) in app/code/Adyen/Payment/Helper/Webhook/WebhookHandlerFactory.php on line 62 (Adyen#2632)"

This reverts commit e19d8da.
SushmitaThakur added a commit to SushmitaThakur/adyen-magento2-forked that referenced this issue Jun 4, 2024
* Fix Adyen#2619 Parse error: syntax error, unexpected ')', expecting variable (T_VARIABLE) in app/code/Adyen/Payment/Helper/Webhook/WebhookHandlerFactory.php on line 62 (Adyen#2632)

* Create create-release.yml

* Create VERSION

* Update README.md (#3)

* Update README.md (#4)

* chore(release): bump to 9.5.3

* Update README.md (#6)

* Update README.md (#7)

* Create download-release.yml

* Update download-release.yml

* 1 updated download-release.yml

* 2 Update download-release.yml

* 3 Update download-release.yml

* 4 Update download-release.yml

* Update download-release.yml

* Update README.md

---------

Co-authored-by: Tuyen Nguyen <[email protected]>
Co-authored-by: SushmitaThakur <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
SushmitaThakur added a commit to SushmitaThakur/adyen-magento2-forked that referenced this issue Jun 4, 2024
* Fix Adyen#2619 Parse error: syntax error, unexpected ')', expecting variable (T_VARIABLE) in app/code/Adyen/Payment/Helper/Webhook/WebhookHandlerFactory.php on line 62 (Adyen#2632)

* Create create-release.yml

* Create VERSION

* Update README.md (#3)

* Update README.md (#4)

* chore(release): bump to 9.5.3

* Update README.md (#6)

* Update README.md (#7)

* Create download-release.yml

* Update download-release.yml

* 1 updated download-release.yml

* 2 Update download-release.yml

* 3 Update download-release.yml

* 4 Update download-release.yml

* Update download-release.yml

* Update README.md

* Update README.md

---------

Co-authored-by: Tuyen Nguyen <[email protected]>
Co-authored-by: SushmitaThakur <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
SushmitaThakur added a commit to SushmitaThakur/adyen-magento2-forked that referenced this issue Jun 4, 2024
* Fix Adyen#2619 Parse error: syntax error, unexpected ')', expecting variable (T_VARIABLE) in app/code/Adyen/Payment/Helper/Webhook/WebhookHandlerFactory.php on line 62 (Adyen#2632)

* Create create-release.yml

* Create VERSION

* Update README.md (#3)

* Update README.md (#4)

* chore(release): bump to 9.5.3

* Update README.md (#6)

* Update README.md (#7)

* Create download-release.yml

* Update download-release.yml

* 1 updated download-release.yml

* 2 Update download-release.yml

* 3 Update download-release.yml

* 4 Update download-release.yml

* Update download-release.yml

* Update README.md

* Update README.md

---------

Co-authored-by: Tuyen Nguyen <[email protected]>
Co-authored-by: SushmitaThakur <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
SushmitaThakur added a commit to SushmitaThakur/adyen-magento2-forked that referenced this issue Jun 4, 2024
* Fix Adyen#2619 Parse error: syntax error, unexpected ')', expecting variable (T_VARIABLE) in app/code/Adyen/Payment/Helper/Webhook/WebhookHandlerFactory.php on line 62 (Adyen#2632)

* Create create-release.yml

* Create VERSION

* Update README.md (#3)

* Update README.md (#4)

* chore(release): bump to 9.5.3

* Update README.md (#6)

* Update README.md (#7)

* Create download-release.yml

* Update download-release.yml

* 1 updated download-release.yml

* 2 Update download-release.yml

* 3 Update download-release.yml

* 4 Update download-release.yml

* Update download-release.yml

* Update README.md

* Update README.md

* chore(release): bump to 9.5.4 (#8)

Co-authored-by: SushmitaThakur <[email protected]>

* Update README.md

---------

Co-authored-by: Tuyen Nguyen <[email protected]>
Co-authored-by: SushmitaThakur <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
SushmitaThakur added a commit to SushmitaThakur/adyen-magento2-forked that referenced this issue Jun 4, 2024
* Fix Adyen#2619 Parse error: syntax error, unexpected ')', expecting variable (T_VARIABLE) in app/code/Adyen/Payment/Helper/Webhook/WebhookHandlerFactory.php on line 62 (Adyen#2632)

* Create create-release.yml

* Create VERSION

* Update README.md (#3)

* Update README.md (#4)

* chore(release): bump to 9.5.3

* Update README.md (#6)

* Update README.md (#7)

* Create download-release.yml

* Update download-release.yml

* 1 updated download-release.yml

* 2 Update download-release.yml

* 3 Update download-release.yml

* 4 Update download-release.yml

* Update download-release.yml

* Update README.md

* Update README.md

* chore(release): bump to 9.5.4 (#8)

Co-authored-by: SushmitaThakur <[email protected]>

* Update README.md

* Update create-release.yml

---------

Co-authored-by: Tuyen Nguyen <[email protected]>
Co-authored-by: SushmitaThakur <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
SushmitaThakur added a commit to SushmitaThakur/adyen-magento2-forked that referenced this issue Jun 4, 2024
* Fix Adyen#2619 Parse error: syntax error, unexpected ')', expecting variable (T_VARIABLE) in app/code/Adyen/Payment/Helper/Webhook/WebhookHandlerFactory.php on line 62 (Adyen#2632)

* Create create-release.yml

* Create VERSION

* Update README.md (#3)

* Update README.md (#4)

* chore(release): bump to 9.5.3

* Update README.md (#6)

* Update README.md (#7)

* Create download-release.yml

* Update download-release.yml

* 1 updated download-release.yml

* 2 Update download-release.yml

* 3 Update download-release.yml

* 4 Update download-release.yml

* Update download-release.yml

* Update README.md

* Update README.md

* chore(release): bump to 9.5.4 (#8)

Co-authored-by: SushmitaThakur <[email protected]>

* Update README.md

* Update create-release.yml

* chore(release): bump to 9.5.5 (#13)

Co-authored-by: SushmitaThakur <[email protected]>

* Update VERSION

* Update README.md

* Update composer.json

---------

Co-authored-by: Tuyen Nguyen <[email protected]>
Co-authored-by: SushmitaThakur <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
SushmitaThakur added a commit to SushmitaThakur/adyen-magento2-forked that referenced this issue Jun 4, 2024
* Fix Adyen#2619 Parse error: syntax error, unexpected ')', expecting variable (T_VARIABLE) in app/code/Adyen/Payment/Helper/Webhook/WebhookHandlerFactory.php on line 62 (Adyen#2632)

* Create create-release.yml

* Create VERSION

* Update README.md (#3)

* Update README.md (#4)

* chore(release): bump to 9.5.3

* Update README.md (#6)

* Update README.md (#7)

* Create download-release.yml

* Update download-release.yml

* 1 updated download-release.yml

* 2 Update download-release.yml

* 3 Update download-release.yml

* 4 Update download-release.yml

* Update download-release.yml

* Update README.md

* Update README.md

* chore(release): bump to 9.5.4 (#8)

Co-authored-by: SushmitaThakur <[email protected]>

* Update README.md

* Update create-release.yml

* chore(release): bump to 9.5.5 (#13)

Co-authored-by: SushmitaThakur <[email protected]>

* Update VERSION

* Update README.md

* Update composer.json

* Update README.md

---------

Co-authored-by: Tuyen Nguyen <[email protected]>
Co-authored-by: SushmitaThakur <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
SushmitaThakur added a commit to SushmitaThakur/adyen-magento2-forked that referenced this issue Jun 4, 2024
* Fix Adyen#2619 Parse error: syntax error, unexpected ')', expecting variable (T_VARIABLE) in app/code/Adyen/Payment/Helper/Webhook/WebhookHandlerFactory.php on line 62 (Adyen#2632)

* Create create-release.yml

* Create VERSION

* Update README.md (#3)

* Update README.md (#4)

* chore(release): bump to 9.5.3

* Update README.md (#6)

* Update README.md (#7)

* Create download-release.yml

* Update download-release.yml

* 1 updated download-release.yml

* 2 Update download-release.yml

* 3 Update download-release.yml

* 4 Update download-release.yml

* Update download-release.yml

* Update README.md

* Update README.md

* chore(release): bump to 9.5.4 (#8)

Co-authored-by: SushmitaThakur <[email protected]>

* Update README.md

* Update create-release.yml

* chore(release): bump to 9.5.5 (#13)

Co-authored-by: SushmitaThakur <[email protected]>

* Update VERSION

* Update README.md

* Update composer.json

* Update README.md

* Update VERSION

* Update composer.json

* Update README.md

---------

Co-authored-by: Tuyen Nguyen <[email protected]>
Co-authored-by: SushmitaThakur <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug report Indicates that issue has been marked as a possible bug
Projects
None yet
3 participants