Quote Originally Posted by mc12345678 View Post
Yeah basically in the class declaration for asking the database to do something, one of the variables has been made private and no helper function has been provided for the variable declared at the following link.

https://github.com/zencart/zencart/b...actory.php#L22

Could possibly apply the following untested change:

From
Code:
    private $link; // mysqli object
To
Code:
    public $link; // mysqli object
That again is to modify the catalog file: includes/classes/db/mysql/query_factory.php

Will generate a github issue after further evaluation of the situation. Obviously there are other ways to interface with the Zen Cart code which could include development or copying of the same class file for use with EP4, rewrite of EP4 code, additional code in the Zen Cart core code or perhaps the above change.
For those that may have had interest in the "detail" of the above, an issue was opened on the Zen Cart Github site with the above offered as a solution that was incorporated and is expected in Zen Cart 1.5.8a or whatever next Zen Cart release. For further understanding of the issue, may I suggest reading some of the PR "background" related to the proposed change.