Opencart module development - need help

Asked by:
sreedhar / 5 Points
2014-12-26 1:42 am EST
Opencart 15
I'm developing a new module for opencart 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 :
Please help.

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

To submit an answer, please login.



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: 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.