Error on php 7.1
I'm updating my shop, i decided to choose your theme.
I setup a VPS with LAMP and php 5.6 at the begin, after i switched to 7.1 to improove the speed (it work).
After the porting from 5.6 to 7.1 tho i got some php warming and some fatal error in the moment some1 go to the admin page->product page->click save. I check the log and this i what i found:
[code]
[Wed Feb 15 10:33:02.392894 2017] [php7:error]
[pid 22699] [client 93.44.195.56:49111] PHP Fatal error:
Uncaught ArgumentCountError: Too few arguments to function FlexibleCustom::hookActionProductAdd(), 0 passed in /var/www/html/XXX.com/public_html/modules/flexiblecustom/flexiblecustom.php on line 623 and exactly 1 expected in /var/www/html/XXX.com/public_html/modules/flexiblecustom/flexiblecustom.php:609\n
Stack trace:
\n#0 /var/www/html/XXX.com/public_html/modules/flexiblecustom/flexiblecustom.php(623): FlexibleCustom->hookActionProductAdd()
\n#1 /var/www/html/XXX.com/public_html/classes/Hook.php(587): FlexibleCustom->hookActionProductSave(Array)
\n#2 /var/www/html/XXX.com/public_html/classes/Hook.php(542): HookCore::coreCallHook(Object(FlexibleCustom), 'hookactionProdu...', Array)
\n#3 /var/www/html/XXX.com/public_html/classes/Product.php(568): HookCore::exec('actionProductSa...', Array)
\n#4 /var/www/html/XXX.com/public_html/controllers/admin/AdminProductsController.php(2025): ProductCore->update()
\n#5 /var/www/html/elettro in /var/www/html/XXX.com/public_html/modules/flexiblecustom/flexiblecustom.php on line 609,
referer: http://XXXX/XXXc.com/public_html/8in2igjio5cqnddw/index.php?controller=AdminProducts&id_product=12640&updateproduct&token=c49429bbbd1097363a6ae3687c997adf
[/code]
I had to disable:
flexing brand, custom module, group category.
After that now its all working correctly.
Can you look into it?
I can provide ftp access if you need