Post by oberheimer » Tue Nov 22, 2022 11:18 pm

Here is the error I get in opencart 3.0.3.2 (Multiple times)
Can anyone help me out

Notice: Trying to access array offset on value of type bool in storage/modification/catalog/controller/product/category.php on line 273

I get the error when I visit my categories in my shop.

Line 273 is

'sale_end_date' => $date_end['date_end'],

I guess it should be one of my plugins, it says that in admin (line 200, which is the first line in the code below).

foreach ($categories as $category_id) {
$category_info = $this->model_catalog_category->getCategory($category_id);

if ($category_info) {
$data['categories'][] = array(
'category_id' => $category_info['category_id'],
'name' => ($category_info['path']) ? $category_info['path'] . ' > ' . $category_info['name'] : $category_info['name']

New member

Posts

Joined
Fri Jun 22, 2012 5:28 am

Post by Cue4cheap » Wed Nov 23, 2022 3:17 am

oberheimer wrote:
Tue Nov 22, 2022 11:18 pm
Notice: Trying to access array offset on value of type bool in storage/modification/catalog/controller/product/category.php on line 273

I guess it should be one of my plugins, it says that in admin (line 200, which is the first line in the code below).
Exactly.
You need to find out what one is modifying that file and have the author fix it or fix it yourself.

Mike

cue4cheap not cheap quality


Expert Member

Posts

Joined
Fri Sep 20, 2013 4:45 am

Post by oberheimer » Wed Nov 23, 2022 5:28 am

Thanks, I have just contacted the coder of the theme/plugin and will see what they say. It should be an easy fix but I'm not a coder so.

New member

Posts

Joined
Fri Jun 22, 2012 5:28 am
Who is online

Users browsing this forum: ravikumar22 and 81 guests