
Originally Posted by
bigandrew
Update: I'm using Ceon Manual Card 4.0.1 as well.
When I downgrade to PHP 7.4, the checkout process works again. These are the only 2 errors that hit in the logs:
[28-Jul-2021 17:50:25 America/New_York] Request URI: /store/index.php?main_page=product_reviews_write&products_id=3057, IP address: 185.191.171.37
#1 include_once() called at [/home/andrewangelina/public_html/store/includes/autoload_func.php:28]
#2 require(/home/andrewangelina/public_html/store/includes/autoload_func.php) called at [/home/andrewangelina/public_html/store/includes/application_top.php:222]
#3 require(/home/andrewangelina/public_html/store/includes/application_top.php) called at [/home/andrewangelina/public_html/store/index.php:25]
--> PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ceon_manual_cardConfigCheck has a deprecated constructor in /home/andrewangelina/public_html/store/includes/classes/class.ceon_manual_cardConfigCheck.php on line 28.
[28-Jul-2021 17:50:25 America/New_York] Request URI: /store/index.php?main_page=product_reviews_write&products_id=3057, IP address: 185.191.171.37
#1 include_once() called at [/home/andrewangelina/public_html/store/includes/autoload_func.php:28]
#2 require(/home/andrewangelina/public_html/store/includes/autoload_func.php) called at [/home/andrewangelina/public_html/store/includes/application_top.php:222]
#3 require(/home/andrewangelina/public_html/store/includes/application_top.php) called at [/home/andrewangelina/public_html/store/index.php:25]
--> PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ceon_manual_cardSessionCleaner has a deprecated constructor in /home/andrewangelina/public_html/store/includes/classes/observers/class.ceon_manual_cardSessionCleaner.php on line 32.
for any number of reasons, i would strongly recommend against using a manual credit card module. you can try my module, you will not be disappointed:
https://www.zen-cart.com/downloads.php?do=file&id=2272
if you want to continue using this manual credit card module, you need to change lines 28 in:
includes/classes/class.ceon_manual_cardConfigCheck.php
and line 32 in:
includes/classes/observers/class.ceon_manual_cardSessionCleaner.php
i do not use the module but you need to rename the function to __construct. and continue passing any vars that are currently in there. ie:
PHP Code:
//change to:
function __construct($var1, $var2) {
there may not be anything where i have $var1 and $var2. but you need to change the name to __construct, which should resolve your error.
but again, i strongly recommend against using a manual credit card module.
best.
Bookmarks