Opencart module development - need help

Asked by:
sreedhar / 5 Points
Time:
2014-12-26 1:42 am EST
Category:
Opencart 15
Hits:
140
I'm developing a new module for opencart 1.5.6.4. Currently the admin view is complete and i need to store the value to database by creating a independent table. But, my model doesn't work. it shows the error "Call to a member function addModule() on a non-object". actually i made the module just like this :
http://code.tutsplus.com/tutorials/from-beginner-to-advanced-in-opencart-module-development--cms-21873
Please help.

To ask this user for more information, please first login.

To submit an answer, please login.

ANSWERS

0

TJEdens
Staff
1,198 Points
2014-12-26 9:59 am EST
Hello Sreedhar,

This error can be produced if the variable you are trying to pass through your function is null. Can you please provide the snippet of code for your function, along with the variables you are passing? Also I found a stack overflow thread that may be of some help to you.

Please let us know if you have any other questions.

Best Regards,
TJ Edens

To submit a comment on this answer, please first login.

Want to share this Question?

Related Articles

It looks like there are no related articles.
Would you like to ask a question about this page? If so, click the button below!

Help Center Search

Current Customers

Email: support@WebHostingHub.com Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

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

Not a Customer?

Get web hosting from a company that is here to help.