Support » Plugin: Simple Job Board » Unserialize issue in plugin

  • Resolved Mark Hall

    (@markhall1971)


    We had an issue last night on a web site.

    When the client saved a new job with application form fields, it appeared fine on the web site.

    However, if they went back to edit then the fields would disappear from the front end, and on the backend all the fields would be set to Section Heading.

    I tracked this down to multiple uses of $val = unserialize($val); after get_post_meta(). Many times this output is checked with is_serialized() or !is_array, but there’s instances where this check isn’t done so it tries to unserialize an array rather than a string and so errors.

    Just sharing with the devs.

    • This topic was modified 4 months, 3 weeks ago by Mark Hall.
Viewing 1 replies (of 1 total)
  • Plugin Author PressTigers

    (@presstigers)

    Hi @markhall1971,

    If you’ve added the form fields with the same name then this error could occur. If that is the case then you need to go back and delete the previous fields and add new fields in order for it to function properly.

    Please note that, we have processes in place to review this type of feedback and will be fixing the error in our next update.

    Best Regards,

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.