View Single Post
  #1  
Old 11-23-2019, 02:45 AM
 
k1r1l k1r1l is offline
 

Newbie
  
Join Date: Nov 2019
Posts: 5
 

Question XCart constructor redefinition

Good day. The next question is, there is a class with ready-made module logic, at some point you need to call a method from another class, which is a child. I create a class object and call the method I need. As a result, I get the error that when creating a class object
(Too few arguments to function XLite\Logic\Order\Modifier\AModifier::__construct( ), 0 passed in ...)

Vopros, kak oboyti dannuyu problemu, libo pereopredelit' konstruktor? Idei u menya netu. Poetomu obrashchayus' k vas za pomoshch'yu.
Zaraneye spasibo.
The question is how to get around this problem, or redefine the constructor? I don’t have any ideas. Therefore, I am turning to you for help.
Thanks in advance.
__________________
5.4.0.5
Modules
Reply With Quote