WordPress.org

Ready to get started?Download WordPress

Forums

Custom Field Suite
[resolved] Fatal error - on save (7 posts)

  1. consumedesign
    Member
    Posted 1 year ago #

    Got this when updating a post... it still saved so no biggie and didn't happen again just thought you might want to check it. I went into the edit, created a new category, and updated.

    Fatal error: Call to a member function pre_save() on a non-object in /xxxxxxxx/wp-content/plugins/custom-field-suite/core/api.php on line 552

    http://wordpress.org/extend/plugins/custom-field-suite/

  2. logikal16
    Member
    Plugin Author

    Posted 1 year ago #

    Hmm. It sounds like you're trying to save a value for a field that doesn't exist.

    • Have you recently deleted any fields?
    • Are you manually using the $cfs->save() method?
    • Have you created any custom field types?
  3. consumedesign
    Member
    Posted 1 year ago #

    I haven't deleted any fields, maybe changed 1-2 prior to... no manual saving, and have a custom field for those particular posts with:

    loop
     - text
     - date
    text
    text
    text

    It hasn't showed since and saved when I got the error just thought you might want to know.

  4. logikal16
    Member
    Plugin Author

    Posted 1 year ago #

    If you don't mind, I'd like to try to duplicate the issue. Could you go into Field Groups > Tools, export your field group, then paste it into pastebin ?

    If you come across any other issues, don't hesitate to report it here or in the official CFS forums.

    Matt

  5. consumedesign
    Member
    Posted 1 year ago #

    NP:
    http://pastebin.com/BC7jp4Xw

    I will thanks, great plug in, never had an issue with it.

  6. logikal16
    Member
    Plugin Author

    Posted 1 year ago #

    Hi @consumedesign - this issue has been resolved in 1.7.2.

    https://github.com/logikal16/custom-field-suite/issues/55

  7. consumedesign
    Member
    Posted 1 year ago #

    Very nice, thanks!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic