1.0.8.19 Questions / Comments / Concerns

Ask the community for help and support.
heatherbell
VIP Member
VIP Member
Posts: 1996
Joined: Mon Oct 07, 2019 4:39 am
Has thanked: 26 times
Been thanked: 175 times

Re: 1.0.8.19 Questions / Comments / Concerns

Post by heatherbell »

lambro28 wrote: Thu Nov 10, 2022 11:42 pm Just out of interest, why has paypal been removed?
It was removed from core along with a number of other integrations to 3rd party services.
Integrations for payment, shipping et al are still available in the Addons Library for store-owners to add as they choose or contact Certified Developers for specific requirements.

Tags:
User avatar
Pierre_P
VIP Member
VIP Member
Posts: 100
Joined: Fri Mar 12, 2021 5:06 am
Has thanked: 11 times
Been thanked: 4 times

Re: 1.0.8.19 Questions / Comments / Concerns

Post by Pierre_P »

Hi there
@ecartz
I'm having problems with downloads, having read a few topics on downloads issues i can't seem to find where the error is.
On PHP 7.4 the downloads are working correctly, switching over to PHP 8 it produces a blank page.

PHP Error log:
PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function {closure}(), 4 passed and exactly 5 expected in /usr/www/users/--/download.php:12
Stack trace:
#0 /usr/www/users/--/includes/system/versioned/1.0.8.1/hooks.php(149): {closure}(2, 'Undefined array...', '/usr/www/users/...', 149)
#1 /usr/www/users/--/includes/system/versioned/1.0.8.1/hooks.php(133): hooks->cat('siteWideStart', NULL)
#2 /usr/www/users/--/includes/system/versioned/1.0.8.1/hooks.php(127): hooks->register_pipeline('siteWide')
#3 /usr/www/users/--/includes/system/versioned/1.0.8.1/hooks.php(160): hooks->register_page(Array)
#4 /usr/www/users/--/includes/application_top.php(40): hooks->generate('startApplicatio...')
#5 /usr/www/users/--/download.php(19): include('/usr/www/users/...')
#6 {main}
thrown in /usr/www/users/--/download.php on line 12

I did try changing Downloads settings in admin - Download by redirect on/off with no effect
File is a zip file - correct filename used
Any help on this please!
ecartz
Lead Developer
Lead Developer
Posts: 2637
Joined: Tue Nov 05, 2019 6:02 pm
Has thanked: 4 times
Been thanked: 181 times

Re: 1.0.8.19 Questions / Comments / Concerns

Post by ecartz »

Pierre_P wrote: Wed Nov 16, 2022 11:46 am PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function {closure}(), 4 passed and exactly 5 expected in /usr/www/users/--/download.php:12
TY. https://github.com/CE-PhoenixCart/Phoen ... 49f83ced15
User avatar
Pierre_P
VIP Member
VIP Member
Posts: 100
Joined: Fri Mar 12, 2021 5:06 am
Has thanked: 11 times
Been thanked: 4 times

Re: 1.0.8.19 Questions / Comments / Concerns

Post by Pierre_P »

Many thanks, now working again! :D
Post Reply