Have problem with product varient module
Hello,
We have a module name pre-order for x-cart 5.3.3.1, When i installed that module and after enabled i go to the product page at backend, then click on any product ad go to details page, There i find that A new tab "Preorder" is available. When i click on that tab then it's page are working but i have a problem that when i Click on "Product variant" Tab the it throw an error as below : HTML Code:
and when i uninstalled preorder module that that "Product Variant" tab is working fine. The code for the "Pre-order" module at path to call the preorder page is as below classes/XLite/Module/Wevbkulsoftware/PreorderSales/Controller/Admin/Product.php PHP Code:
And code for the module "Product variant" at path below classes/XLite/Module/XC/ProductVariants/Controller/Admin/Product.php is PHP Code:
So, Please let me know the possible reason. |
Re: Have problem with product varient module
Hi @ajeetsingh,
Can you show backtrace for this fatal error? It should specify the file and exact line where toArray() method is called on null instead of object. Thank you. Tony |
Re: Have problem with product varient module
3 Attachment(s)
Hello @tony_sologubov
I will send you some screen shot where that problems occurs. Please check it. Attachment 4969 Attachment 4970 Attachment 4971 |
Re: Have problem with product varient module
Hi @tony_sologubov ,
Can you please suggest me about my query. I am waiting for your response. Thank You. |
Re: Have problem with product varient module
Quote:
Quote:
I'm not sure, but it may be a bug in PreoredSales module. Did you contact the module author? https://webkul.com/contacts/ |
Re: Have problem with product varient module
Hi,
If the issue is from pre-order then can you please suggest me the reason of that issue. so that i will able to fix it. |
Re: Have problem with product varient module
Ah. I apologize. I missed the fact that you are from Webkul.
Code:
ERROR: "Includes\ErrorHandler::FATAL_ERROR" (code 2) This is not enough to guess why this may happen. Please check the log files in the var/log/ directory for the full text of the error message including the complete backtrace to the file and the line where it happens. |
Re: Have problem with product varient module
4 Attachment(s)
Hi @qualiteam,
Now i am sending you the files on path var/log/2017 Please check it. Attachment 4988 Attachment 4989 Attachment 4990 Attachment 4991 Thank You. |
Re: Have problem with product varient module
@ajeetsingh,
Judging by error messages in the log, there is a problem on 107 line in the classes/XLite/Module/Wevbkulsoftware/PreorderSales/Controller/Admin/Product.php file and I assume that the code you quoted earlier is correct: Code:
/** Could you please show the full code of that file? Tony |
Re: Have problem with product varient module
1 Attachment(s)
Quote:
Hi @tony_sologubov, I have send you the file please check the full code of that file. Attachment 4994 Thank You for your reply. |
All times are GMT -8. The time now is 12:52 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.