• Customer

    Error on php 7.1

    Posted by: davideschiavo Feb 15, 2017 at 09:39 (3 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, Mar 24, 2017 at 03:21 (3 year ago)

    Hello,

    Please check your site again. My coder has fixed this successfully this issue for you.
    I activated the module then tried to change some thing on a product > save perfectly.

    Now I am deactivating Group category module, you can clear your cache and activate again to check.

    Regards,
    Yame
  • Customer

    Posted by: yame, Mar 30, 2017 at 08:34 (3 year ago)

    Hi mate,

    How is your site now?
    Do you need any assistance from support service?
    If not, we will close this ticket. Please contact again with us when you have any problems,

    Sincerely,
    Yam
  • Customer

    Posted by: davideschiavo, Apr 1, 2017 at 10:39 (3 year ago)

    Hello Yam,

    The module groupc ategory now is working.

    But the modules:
    Ovic Flexible Custom Module
    Ovic Flexible Brands Module

    Give the same error, can you look into ?

    thanks
  • Manager

    Posted by: yame, Apr 3, 2017 at 01:59 (3 year ago)

    Hello,

    I cannot access to your website back end account any more. You might change it. Pls provide again, we will re-check your site

    Thanks,
    Yame
  • Customer

    Posted by: davideschiavo, Apr 3, 2017 at 08:12 (3 year ago)

    In the secret
  • Customer

    Posted by: yame, Apr 4, 2017 at 03:49 (3 year ago)

    Thanks.
    I've enabled the modules and tried to configured. They still work well. Could you help me to take the screenshot when you got the error?
    Thanks
  • Customer

    Posted by: davideschiavo, Apr 4, 2017 at 08:08 (3 year ago)

    Is the same, try to active one of the 2 modules, go edit a product and click save
  • Manager

    Posted by: yame, Apr 5, 2017 at 04:20 (3 year ago)

    Ohh I see. My coder will check it
  • Customer

    Posted by: yame, Apr 7, 2017 at 03:55 (3 year ago)

    Hello,

    Pls check again with those 2 modules. My coder has fixed successfully in your site.
    Then tell me your result.

    Regards,
    Yame
  • Customer

    Posted by: davideschiavo, Apr 7, 2017 at 07:22 (3 year ago)

    Hello,

    Yes the modules are fixe BUT did you modify something else aswell?
    All my outofstock product that i permit to order now say "this products is out of stock, choose another model"
    And on the home page show up a category test as "hot category", with a broken image.
    We have 5 to 15 order daily, this is a great problem to us, fix it ASAP
  • Customer

    Posted by: davideschiavo, Apr 7, 2017 at 07:30 (3 year ago)

    Ok, after i deactive the 2 modules, brand and the custom one, the products are back to normal
  • Manager

    Posted by: yame, Apr 7, 2017 at 09:42 (3 year ago)

    Ok mate. So do you need any assistance from support service?
    If not, can I close this ticket. If you are satisfied with our support, would you please spend a little time to give us a good review + 5 stars on website http://themeforest.net/downloads. It's really very worth with me.

    Thank you so much
    Yame
  • Customer

    Posted by: davideschiavo, Apr 10, 2017 at 09:07 (3 year ago)

    Absolutly yes, Your coder fix the problem of the error, but when i activate the item, EVERY items cannot be put into the cart, so the problem is not solved yet
  • Manager

    Posted by: yame, Apr 11, 2017 at 01:07 (3 year ago)

    Excuse me, what do you mean when you said that activating the item (does it mean that all the modules was fixed?) then every items could not be put in the cart??? I still confuse for this.
  • Customer

    Posted by: davideschiavo, Apr 11, 2017 at 07:19 (3 year ago)

    The Supershop - Group Category Module seems to be fixed
    The modules Ovic Flexible Brands Module and Ovic Flexible Custom Module instead when activate make impossible put any products in the cart
  • Customer

    Posted by: yame, Apr 11, 2017 at 08:46 (3 year ago)

    That's why I would like to confirm you mean just because I tried to activate the Supershop - Group Category Module then I still could add the products in cart.
    I want to send you the video that I made to verify that after activating the fix modules, the products still can be added in the cart normally. However I cannot insert here. Pls refer this link to see my explanation: https://www.youtube.com/watch?v=-IPBaLCwgQY&feature=youtu.be

    Yame
  • Customer

    Posted by: davideschiavo, Apr 11, 2017 at 10:34 (3 year ago)

    in the secret the video of the error
  • Manager

    Posted by: yame, Apr 12, 2017 at 08:06 (3 year ago)

    Ohh I see. It happens in product detail page. My coder will check it and I will inform you when I get his conclusion.
  • Customer

    Posted by: yame, Apr 25, 2017 at 01:26 (3 year ago)

    Hello,

    My coder checked carefully your site and he would like to give you the comments:
    - Firstly, he downloaded your full code and installed your theme to our host => Your current problem does not occur on our service => It means that the code does not cause the issue.
    - Secondly, he realized that your product page was customized and we don't support for the customized site.
    So, it may be caused by your host and you need to check again this.
  • Customer

    Posted by: davideschiavo, Apr 26, 2017 at 07:01 (3 year ago)

    Hello

    Your host have php 7.1?
    Yes i modify the code, slightly, but the modules was not working before aswell
  • Manager

    Posted by: yame, May 3, 2017 at 01:41 (3 year ago)

    Dear mate.

    Our hosting does not have php 7.1.
    We downloaded your code then installed your site in our hosting and we don't meet the same problem as yours.
    It may be your customized then it led to the error. It's not from our theme.

    Regards

INSTALLATION SERVICE

We offer service for $29. If you would like to use it, please click here to provide your credential information.

CUSTOMIZED SERVICES

Use our expert service to turn your ideas into reality. Click here to provide your needed information.

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