
Originally Posted by
JNR345
I, too, am getting a blank page with Easy Populate with 1.5.8. The error message I get is as follows:
--> PHP Fatal error: Uncaught Error: Cannot access private property queryFactory::$link in /home/public_html/test/admin/includes/functions/extra_functions/easypopulate_4_functions.php:625
Thanks for any help.
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.