Question: Variant Not Working

Variant Not Working

Hello, am registering new products but the product has variants of different size, whenever i try to add the variant size i get page not working error as attached below.

A

Ahmad96

Asked

Hello, am registering new products but the product has variants of different size, whenever i try to add the variant size i get page not working error as attached below.

  • MS

    Mian Saleem

    Answered

    Hello,

    Please check the server error logs for error details.

    If you are not sure about server logs, you can enable app logs by changing the log_threshold to 1 in the app/config/config.php and then try again. Lastly check the latest log file in the app/logs/ folder for errors.

    Thank you

  • A

    Ahmad96

    Answered

    hello, am attaching the error log file because the problem still exists even after changing log_threshold to 1.

  • A

    Ahmad96

    Answered

    Hello, i wanted to clear the training data that we entered for demonstration, so i went to phpmyadmin and selected all tables then empty, now the problem is that i get this page isnt working right now as seen in the screenshot, and when i tried to re install the system i get isntaller is locked notification, please help asap, am sending you the license code of the required system as i have purchased your system many times. “26827bf9-7cc2-4db6-bf01-fd2d3c152860” PLEASE THIS IS REALLY URGENT AS SYSTEM NEEDS TO START BEING USED.

  • MS

    Mian Saleem

    Answered

    Hello,

    I see the null pass to sizeof. I am not sure why there was not attributes name array. You can change line 993 of /home/trekinve/crm.trekinvestments.co.tz/app/controllers/admin/Products.php to

    $a = sizeof($_POST['attr_name'] ?? []);
    

    The installer will be locked after successfully installation. If you need to re-install then upload the SMA file and this questions is already answered in the documentation.pdf Please always check docs first so that you don’t have to wait.

    Thank you

  • Login to Reply