Post by rsseosolution » Wed Sep 01, 2021 2:54 pm

OpenCart Version 3.0.3.8
PHP Version 7.4

Live URL : https://panditgems.com/
Error : Notice: Trying to access array offset on value of type bool in /var/www/vhosts/panditgems.com/httpdocs/catalog/model/extension/module/so_megamenu.php on line 373

Code: Select all

            $output[] = array(
				'name' => @unserialize($row['name']),
                'content_width' => intval($row['content_width']),
                'content_type' => $row['content_type'],
                'html' => $html,
                'product' => array(
                    [b][color=#800000]'name' => $product['name'],[/color][/b] (Line 373)
                    'link' => $product_link,
                    'image' => $product_image,
                    'price' => $price,
                    'special' => $special
                ),
                'categories' => $categories,
				'manufactures' => $manufactures,
				'subcategory' => $subcategory,
				'productlist' => $productlist,
				'images'	=> $images,
				'class_menu'	=> $row['class_menu'],
                'submenu' => $this->getSubmenu($row['id'])
            );
        }
        return $output;
Kindly help me to fix this notice.

Thanks

Newbie

Posts

Joined
Sat Jun 05, 2021 9:57 am

Post by OSWorX » Wed Sep 01, 2021 3:51 pm

rsseosolution wrote:
Wed Sep 01, 2021 2:54 pm
Kindly help me to fix this notice.
Simply ask the developer of that extension.

Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.


User avatar
Guru Member

Posts

Joined
Mon Jan 11, 2010 10:52 pm
Location - Austria

Post by Gergely » Wed Sep 01, 2021 4:43 pm

I'm afraid I won't be of much help here other than to double down on what OSWorX has said.
OSWorX wrote:
Wed Sep 01, 2021 3:51 pm
Simply ask the developer of that extension.
But I also wanted to point out that you should not display errors on a live site, these Notices should show up in your error logs anyway. You can turn display of errors off in:
System>Settings>Store>Server>Error Handling>Display Errors>No

Active Member

Posts

Joined
Wed Sep 30, 2020 7:58 pm

Post by OSWorX » Wed Sep 01, 2021 5:20 pm

Additionally you could ask a developer from here you trust, if he is fixing that if the original developer does not respond or is not willing to do so.
Or post a request in the Commercial Section of this forum here.

Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.


User avatar
Guru Member

Posts

Joined
Mon Jan 11, 2010 10:52 pm
Location - Austria
Who is online

Users browsing this forum: No registered users and 131 guests