Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7159987
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T13:19:21+00:00 2026-05-28T13:19:21+00:00

Call to a member function save() on a non-object in …/views/manufacturer/tmpl/edit.php line 24 which

  • 0

Call to a member function save() on a non-object in …/views/manufacturer/tmpl/edit.php
line 24

which I have;

form->getField(‘body’)->save(); ?>

so I don’t have save() function somewhere? when save gets call, I create save function in database call in models folder?
I was trying to display the edit page for manufacturer.
any idea?

thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T13:19:22+00:00Added an answer on May 28, 2026 at 1:19 pm

    Looks to me like getField(‘body’) is not returning an object, and then you’re trying to call save on this non-entity.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Possible Duplicate: CakePHP: Call to a member function find() on a non-object I have
I'm getting a Call to a member function fetchColumn() on a non-object error when
I met a problem when Call to a member function combinestring() on a non-object.
Fatal error: Call to a member function prepare() on a non-object Is what I
I want to call a member function which is virtual (inheritance is used in
I keep getting this error: cannot call member function 'QString Load::loadRoundsPlayed()'without object Now im
Here is well described how to call member function by pointer: http://www.newty.de/fpt/functor.html But the
Possible Duplicate: lambdas require capturing 'this' to call static member function? I want to
I want to store a function as a class member and call it inside
We implemented new coding standards, which call for our private members to have a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.