• Customer

    Error on php 7.1

    Posted by: davideschiavo Feb 15, 2017 at 09:39 (7 year ago)
    Hello,

    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



  • Customer

    Posted by: yame, Feb 16, 2017 at 04:31 (7 year ago)

    Hello davideschiavo,

    Could you please provide your website back end + FTP account in the Secret information box below?
    We would like to check the problem then give you the answer.

    Thank you.
    Yame
  • Customer

    Posted by: davideschiavo, Feb 16, 2017 at 11:53 (7 year ago)

    Sure ill give you the information tomorrow when i'm at work!
  • Customer

    Posted by: davideschiavo, Feb 17, 2017 at 11:55 (7 year ago)

    I reply with the information you require
  • Customer

    Posted by: yame, Feb 20, 2017 at 07:34 (7 year ago)

    Thank you.
    However, the website back end account is not connected. Could you please help me to check again?
    Thanks
    Yame
  • Customer

    Posted by: davideschiavo, Feb 20, 2017 at 08:28 (7 year ago)

    Sorry, i made a typo, now should work
  • Customer

    Posted by: yame, Feb 22, 2017 at 09:15 (7 year ago)

    Can you help me to check again the website back end account? I cannot access to this.
    Thanks
  • Customer

    Posted by: davideschiavo, Feb 22, 2017 at 09:31 (7 year ago)

    I update again the secret information

    I have to add that i cant use the group category module too, this is the log (i had to deactivate it)

    log in secret
  • Customer

    Posted by: davideschiavo, Feb 22, 2017 at 09:39 (7 year ago)

    And after various test i must say all those module like Ovic Flexible Brands Module that put hooks in home give the same problem the moment they activated and some1 save a product in the admin panel
  • Customer

    Posted by: yame, Feb 24, 2017 at 10:21 (7 year ago)

    Ok mate.
    My coder needs to check your site then gives you the answer later.
    I will inform you when I get any his feedback
    Regards,
    Yame
  • Customer

    Posted by: yame, Mar 8, 2017 at 09:55 (7 year ago)

    Hi mate.

    Could you please help me to check again? I created a new product and SAVE + I modified your old product then SAVE => All is fine without error.

    Yame
  • Customer

    Posted by: davideschiavo, Mar 17, 2017 at 08:25 (7 year ago)

    Hello,

    Yes you need to activate your modules, for example activate Group Category Module, and you will see the error comming on

    I deactivated all those give me 500 error
  • Customer

    Posted by: yame, Mar 18, 2017 at 02:26 (7 year ago)

    Hi mate.

    I activated that module for example. Even I created a new Group Category (TEST) for the site but I did not see any error as you said.
    The module still works well.
  • Customer

    Posted by: davideschiavo, Mar 18, 2017 at 08:59 (7 year ago)

    Hey,

    Look i just try to edit a products and return me error 500
    here the log


    I'm deactivating it again
  • Customer

    Posted by: yame, Mar 22, 2017 at 03:50 (7 year ago)

    Why cannot I see any error as you said?? Can you help me to take the screenshot for the step that you got this error?
    Thanks
  • Customer

    Posted by: davideschiavo, Mar 22, 2017 at 08:27 (7 year ago)

    Sure, here how to reproduce

    Activate the module
    Go into a product
    Try to save
    Error 500 -> check the log file (you have the ftp access to do so)

  • Manager

    Posted by: yame, Mar 22, 2017 at 10:30 (7 year ago)

    Thank you. I see. My coder will check this asap.
    Hope you be patient to wait for him. I will inform you when I get any his feedback

INSTALLATION SERVICE

Theme Installation: $49. Pay now

CUSTOMIZED SERVICES

Use our expert service to turn your ideas into reality. Please send an email to kutethemes@gmail.com to provide the more detailed information. Thanks!

WORKING TIME

Our support service works from Monday to Friday.
Mean time (GMT +7):
+ 7:30 - 11:30 AM
+ 1:30 - 5:30 PM
We will try to answer all the questions within 24 hours and solve them as quickly as possible