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

Payment class, correct PHP deprecation by using the correct variable #6022

Merged
merged 1 commit into from
Oct 26, 2023

Conversation

lat9
Copy link
Contributor

@lat9 lat9 commented Oct 26, 2023

Seeing logs similar to the following due to variable-name 'misspelling':

[25-Oct-2023 11:38:20 America/Chicago] Request URI: /index.php?main_page=checkout_process, IP address: x.x.x.x, Language id 1
#0 /home/mystore/public_html/includes/classes/payment.php(134): zen_debug_error_handler()
#1 /home/mystore/public_html/includes/modules/checkout_process.php(84): payment->checkCreditCovered()
#2 /home/mystore/public_html/includes/modules/pages/checkout_process/header_php.php(13): require('/home/mystore/...')
#3 /home/mystore/public_html/index.php(35): require('/home/mystore/...')
--> PHP Deprecated: Creation of dynamic property payment::$selected_method is deprecated in /home/mystore/public_html/includes/classes/payment.php on line 134.

Seeing logs similar to the following due to variable-name 'misspelling':
```
[25-Oct-2023 11:38:20 America/Chicago] Request URI: /index.php?main_page=checkout_process, IP address: x.x.x.x, Language id 1
#0 /home/mystore/public_html/includes/classes/payment.php(134): zen_debug_error_handler()
#1 /home/mystore/public_html/includes/modules/checkout_process.php(84): payment->checkCreditCovered()
#2 /home/mystore/public_html/includes/modules/pages/checkout_process/header_php.php(13): require('/home/mystore/...')
#3 /home/mystore/public_html/index.php(35): require('/home/mystore/...')
--> PHP Deprecated: Creation of dynamic property payment::$selected_method is deprecated in /home/mystore/public_html/includes/classes/payment.php on line 134.
```
@drbyte drbyte merged commit 9308701 into zencart:master Oct 26, 2023
5 checks passed
@lat9 lat9 deleted the payment-fix-deprecation branch October 27, 2023 11:43
drbyte pushed a commit to drbyte/zencart that referenced this pull request Jan 30, 2024
…encart#6022)

Seeing logs similar to the following due to variable-name 'misspelling':
```
[25-Oct-2023 11:38:20 America/Chicago] Request URI: /index.php?main_page=checkout_process, IP address: x.x.x.x, Language id 1
#0 /home/mystore/public_html/includes/classes/payment.php(134): zen_debug_error_handler()
#1 /home/mystore/public_html/includes/modules/checkout_process.php(84): payment->checkCreditCovered()
zencart#2 /home/mystore/public_html/includes/modules/pages/checkout_process/header_php.php(13): require('/home/mystore/...')
zencart#3 /home/mystore/public_html/index.php(35): require('/home/mystore/...')
--> PHP Deprecated: Creation of dynamic property payment::$selected_method is deprecated in /home/mystore/public_html/includes/classes/payment.php on line 134.
```
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.

None yet

2 participants