InMotion Hosting Support Center

I get errors in my OpenCart site?

Category: Opencart

2012-04-05 12:46 pm EST

Hits: 2,849
Notice: Undefined index: name in /home/simpl116/public_html/opencart/upload/catalog/view/theme/default/template/product/category.tpl on line 34


Notice: Undefined index: name in /home/simpl116/public_html/opencart/upload/catalog/view/theme/default/template/product/category.tpl on line 25

You must login before you can ask a follow up question.

You must login before you can submit an answer.



Tim S
13,821 Points
2012-04-05 1:42 pm EST
Hi sbaldwin,

Thanks for posting your question. I'm more than happy to assist you. I've checked over the code on your page and it is the same as my default installation. Do you have an mods that may have affected this? Was the error always present, did it recently appear?

I removed this line of code in your file and no errors were present so we know that the issue is with the 'name' value itself (I replaced the code after testing):
<p class="code_block">&#60;?php echo $categories[$i]['name']; ?&#62;</p>

Since it seems that the issue, isn't coding and may be either a setting configuration issue, I'd suggest posting a question in the <a href="">OpenCart Forums</a>.

If you need further assistance please feel free to contact us.


Tim S

You must login before you can post a comment about this answer.

Like this Question?

Need more Help?


Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail:
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!