Hi all & supporter!
I have an error with affiliate module Opencart V3.0.1.1.
I don't have create affiliate profile and error notice: Undefined property: Proxy::getAffliateByTracking in /admin/controller/customer/customer.php on line 1077.
Can you help me?
It would be best to upgrade to the latest release of Opencart since the affiliate feature is no longer being used as a stand-alone solution.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
I am running the current version of OpenCart (3.0.2.0 at the time of this writing) and this error is still present. When trying to save a user with Affiliates as the group the following error is thrown:
Edit: I tested the same installation on a server with PHP 7 and the error is not thrown. Is this possibly a PHP version issue?
Edit II: I grepped for the function in the opencart directory and the only instance was in the customer.php where the function is called. Then I checked on my staging server and there was also a definition of the function in opencart/admin/model/customer/customer.php. I copied that file to production, replacing the customer.php file, and now it works. Verify that you have a good copy of that file.
Code: Select all
Notice: Undefined property: Proxy::getAffliateByTracking in /var/www/opencart/admin/controller/customer/customer.php on line 1077
Edit II: I grepped for the function in the opencart directory and the only instance was in the customer.php where the function is called. Then I checked on my staging server and there was also a definition of the function in opencart/admin/model/customer/customer.php. I copied that file to production, replacing the customer.php file, and now it works. Verify that you have a good copy of that file.
Part of the periodic change required by the Opencart team announced on one of my recent topics in the General Discussion section of the forum. Thanks for your feedback on this.Edit II: I grepped for the function in the opencart directory and the only instance was in the customer.php where the function is called. Then I checked on my staging server and there was also a definition of the function in opencart/admin/model/customer/customer.php. I copied that file to production, replacing the customer.php file, and now it works. Verify that you have a good copy of that file.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Who is online
Users browsing this forum: No registered users and 116 guests