Post by viveknathany901 » Wed May 29, 2019 2:04 pm

I have mistakenly created a Duplicate category then i got this error, therefore i deleted duplicate category but getting the below error.

Notice: Undefined offset: 0 in /home/thevcolr/public_html/catalog/controller/extension/module/so_page_builder.php on line 365
Notice: Undefined variable: category_list in /home/thevcolr/public_html/catalog/controller/extension/module/so_page_builder.php on line 371
Warning: array_map(): Argument #2 should be an array in /home/thevcolr/public_html/catalog/controller/extension/module/so_page_builder.php on line 371
Warning: implode(): Invalid arguments passed in /home/thevcolr/public_html/catalog/controller/extension/module/so_page_builder.php on line 371

===========
You can also check this error on my website https://www.thevcollection.com

The below code is in So_page_builder.php between line 365 to 373.

Code: Select all

				if (!defined ('magnific_popup')){

					$this->document->addStyle('admin/view/template/extension/module/so_page_builder/assets/css/magnific-popup.css');

					$this->document->addScript('admin/view/template/extension/module/so_page_builder/assets/js/magnific-popup.js');

					define( 'magnific_popup', 1 );

				}


Posts

Joined
Mon Mar 26, 2018 8:16 pm

Post by D3MO » Wed May 29, 2019 3:28 pm

you pasted wrong code snippet for sure because there is no even variables used in the code like category_list or array_map not even implode and the code you pasted is just for inclusion of css and js and defining a variable to true magnific_popup
viveknathany901 wrote:
Wed May 29, 2019 2:04 pm
I have mistakenly created a Duplicate category then i got this error, therefore i deleted duplicate category but getting the below error.

Notice: Undefined offset: 0 in /home/thevcolr/public_html/catalog/controller/extension/module/so_page_builder.php on line 365
Notice: Undefined variable: category_list in /home/thevcolr/public_html/catalog/controller/extension/module/so_page_builder.php on line 371
Warning: array_map(): Argument #2 should be an array in /home/thevcolr/public_html/catalog/controller/extension/module/so_page_builder.php on line 371
Warning: implode(): Invalid arguments passed in /home/thevcolr/public_html/catalog/controller/extension/module/so_page_builder.php on line 371

===========
You can also check this error on my website https://www.thevcollection.com

The below code is in So_page_builder.php between line 365 to 373.

Code: Select all

				if (!defined ('magnific_popup')){

					$this->document->addStyle('admin/view/template/extension/module/so_page_builder/assets/css/magnific-popup.css');

					$this->document->addScript('admin/view/template/extension/module/so_page_builder/assets/js/magnific-popup.js');

					define( 'magnific_popup', 1 );

				}

Opencart Expert | voldemaras@gmail.com
Skype - programanija | Gtalk - voldemaras@gmail.com
Extensions for Opencart @ https://www.opencartextensions.eu / or Opencart Marketplace

Need Custom Module? debug third party module or simply have any question related to Opencart? feel free to contact directly for a live chat session:) - INSTANT LIVE CHAT


User avatar
Active Member

Posts

Joined
Mon Apr 04, 2011 6:57 am

Post by viveknathany901 » Wed May 29, 2019 3:31 pm

Dear, Thank you for your reply.
Yes, you are right. So what I need to do to remove this error?

Please help.


Posts

Joined
Mon Mar 26, 2018 8:16 pm

Post by grgr » Wed May 29, 2019 4:17 pm

I believe that is a theme problem, or at very least a non default module. So best to start with the theme supplier.

Image Image Image Image Image Image Image Image


User avatar
Active Member

Posts

Joined
Mon Mar 28, 2011 4:08 pm
Location - UK
Who is online

Users browsing this forum: No registered users and 3 guests