Post by Alannon » Fri Sep 14, 2018 2:19 am

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');
}

Newbie

Posts

Joined
Mon Sep 03, 2018 6:48 am

Post by straightlight » Fri Sep 14, 2018 6:12 am

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.

The most generated errors being found on Opencart forum originates from contributed programming. The increased counters are caused by posted redundancies of the same solutions that were already provided prior.

F. Rules:

- viewtopic.php?f=176&t=200480
- viewtopic.php?f=176&t=200804


Regards,
Straightlight


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by Alannon » Fri Sep 14, 2018 2:49 pm

Thanks Straighlight, asI said I am a complete newbie and have no idea how to fix the issue, I understand the. bit about extensions but how do I know which one is causing the issue and how do I fix it?

Newbie

Posts

Joined
Mon Sep 03, 2018 6:48 am

Post by straightlight » Fri Sep 14, 2018 3:00 pm

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.

The most generated errors being found on Opencart forum originates from contributed programming. The increased counters are caused by posted redundancies of the same solutions that were already provided prior.

F. Rules:

- viewtopic.php?f=176&t=200480
- viewtopic.php?f=176&t=200804


Regards,
Straightlight


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by Alannon » Fri Sep 14, 2018 6:20 pm

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.

Newbie

Posts

Joined
Mon Sep 03, 2018 6:48 am

Post by straightlight » Fri Sep 14, 2018 7:41 pm

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

The most generated errors being found on Opencart forum originates from contributed programming. The increased counters are caused by posted redundancies of the same solutions that were already provided prior.

F. Rules:

- viewtopic.php?f=176&t=200480
- viewtopic.php?f=176&t=200804


Regards,
Straightlight


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON
Who is online

Users browsing this forum: No registered users and 24 guests