I have recently had to restore a backup after a failed upgrade to version 3.
My home webpage looks ok but when I try and get on to the admin log on I receive the message below:
Fatal error: Call to a member function isLogged() on null in /home/cometopl/public_html/catalog/model/catalog/product.php on line 65
I am a complete newbie and do not understand what the error message is telling me.
I have looked at the file and the line concerned (starts from line 64)
public function getProducts($data = array()) {
if ($this->customer->isLogged()) {
$customer_group_id = $this->customer->getCustomerGroupId();
} else {
$customer_group_id = $this->config->get('config_customer_group_id');
}
Error message originating due to a possible installed extension. The admin login page uses the user's class to validate the logins, not the customer's class.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
If you have no idea on the extensions you are installing, especially if you are using an old OC version, the best solution would be to create a new service request in the Commercial Support section of the forum to get this verified / uninstalled professionally.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Hi
It was a site created by someone else with OC included. I wanted to upgrade to a newer version of OCT but it caused so many errors that I reverted back to the older version.
I had hoped someone would be able to tell me how to correct one error line and then I could have merrily gone on my way.
Thanks for the suggestion.
It was a site created by someone else with OC included. I wanted to upgrade to a newer version of OCT but it caused so many errors that I reverted back to the older version.
I had hoped someone would be able to tell me how to correct one error line and then I could have merrily gone on my way.
Thanks for the suggestion.
While an upgrade has not been mentioned on the first post, this error message you are addressing may appear due to a failed upgrade process. I would suggest following this post for proper upgrade steps: viewtopic.php?f=176&p=733002#p730051
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 16 guests