Title: Error When Content Field is Empty
Last modified: December 7, 2022

---

# Error When Content Field is Empty

 *  Resolved [jenwhitedesign](https://wordpress.org/support/users/jenwhitedesign/)
 * (@jenwhitedesign)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/error-when-content-field-is-empty/)
 * If I create a job without any sort of description (as in, there is nothing in
   the main content field), when I go back to edit it later, I see this message 
   in the admin:
 * > “The content of your post doesn’t match the template assigned to your post 
   > type.” with two button options: “Keep it as is” and “Reset the template”.
 * This also occurs if I click on the gray “Classic” editor bar and then choose “
   Convert to Blocks”
 * My questions are:
    1. How do I stop the error when there is no content? Ideally, my client just wants
       to post job titles without any sort of description
    2. I’d prefer being able to use the block editor since that’s what the rest of 
       the site uses, but how to I resolve the error if I choose to Convert to Blocks?”
 * Again, you can’t tell there is an issue until saving, and then going back in 
   and trying to edit. There are no console errors as far as I can see.

Viewing 14 replies - 1 through 14 (of 14 total)

 *  [mnutt (a11n)](https://wordpress.org/support/users/michaelnutt/)
 * (@michaelnutt)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/error-when-content-field-is-empty/#post-16272365)
 * Hi [@jenwhitedesign](https://wordpress.org/support/users/jenwhitedesign/),
 * From what you are describing, it sounds like you are submitting the jobs through
   the WP-Admin page instead of through the front-end Job Submission page. The default
   form has several fields that are marked as required, however, when you submit
   the post through the admin page it doesn’t block submission when required fields
   are blank, which is what is causing those errors when you go back to edit the
   page.
 * We generally recommend submitting through the Job Submission page, you can find
   more details on that here:
 * [https://wpjobmanager.com/document/the-job-submission-form/](https://wpjobmanager.com/document/the-job-submission-form/)
 * We do have a guide on customizing that form if you want to remove or change fields,
   such as removing that Description field (or just removing that it is required):
 * [https://wpjobmanager.com/document/editing-job-submission-fields/](https://wpjobmanager.com/document/editing-job-submission-fields/)
 * Once you have that customized it should stop generating those errors.
 * Let us know if you have any other questions on that!
 *  Thread Starter [jenwhitedesign](https://wordpress.org/support/users/jenwhitedesign/)
 * (@jenwhitedesign)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/error-when-content-field-is-empty/#post-16282361)
 * Hi [@michaelnutt](https://wordpress.org/support/users/michaelnutt/),
 * I’m sorry, I’m just going in a loop on the documentation links you provided. 
   Maybe I’m not understanding your response?
 * As all jobs will be internal, the front end job submission form will never need
   to be used. I searched through your link, and other links from there, but I don’t
   see anything about how to remove only the field requirement from the admin “Add
   New Job” form. We very much still want to have the description field, it just
   needs to not be required.
 * Can you point me in the right direction please? It’s just that one field and 
   it will only be from the admin. I’d prefer not to have to use an additional plugin
   just to remove the requirement of this one field. Thanks!
 *  [mnutt (a11n)](https://wordpress.org/support/users/michaelnutt/)
 * (@michaelnutt)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/error-when-content-field-is-empty/#post-16282909)
 * Hi [@jenwhitedesign](https://wordpress.org/support/users/jenwhitedesign/),
 * I did some further digging, with the warning being that the post doesn’t match
   the template, when you have submitted the job it is checking if the details of
   the submission match the Job Listing template file. You can try overriding the
   template, it should be the template for `content-single-job-listing`. This page
   has more details on template overrides:
 * – [https://wpjobmanager.com/document/template-overrides/](https://wpjobmanager.com/document/template-overrides/)
 * However, the message is just a warning. You can safely ignore it and the postings
   should still work how they are supposed to.
 *  [braehler](https://wordpress.org/support/users/braehler/)
 * (@braehler)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/error-when-content-field-is-empty/#post-16285626)
 * should it not be the job-submit template? cause there is no “required” field 
   located in the content-single-job_linsting template
    -  This reply was modified 3 years, 6 months ago by [braehler](https://wordpress.org/support/users/braehler/).
 *  Plugin Contributor [Cena (a11n)](https://wordpress.org/support/users/cena/)
 * (@cena)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/error-when-content-field-is-empty/#post-16286308)
 * Hi [@jenwhitedesign](https://wordpress.org/support/users/jenwhitedesign/) ,
 * To clarify a bit, are you referring to the page found here:
 * ..wp-admin/post-new.php?post_type=job_listing
 * or the page found here:
 * ../submit-a-job
 * ?
 * I ask because the admin form does NOT require a description, while the latter
   frontend form does.
 * For the latter, you’ll need to override the template for the `../templates/job-
   submit.php` file.
 * For the former, there is no template to override; you’d have to customize core
   files.
 * In both cases, we aren’t able to help with custom code requests like this, so
   if you need assistance, you may want to look into one of these services:
 * [https://codeable.io/?ref=l1TwZ](https://codeable.io/?ref=l1TwZ)
 * [https://jobs.wordpress.net/](https://jobs.wordpress.net/)
 * Best,
 *  Thread Starter [jenwhitedesign](https://wordpress.org/support/users/jenwhitedesign/)
 * (@jenwhitedesign)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/error-when-content-field-is-empty/#post-16286384)
 * [@michaelnutt](https://wordpress.org/support/users/michaelnutt/) [@cena](https://wordpress.org/support/users/cena/)
   [@braehler](https://wordpress.org/support/users/braehler/)
 * Sorry for the confusion. I’m referring to the admin form specifically. We are
   not, and will not be adding jobs via the front end form as they will all be internal
   positions.
 * Please see the video I created that shows all of the issues. [https://www.loom.com/share/80d7c1cada5942c3be75315dfc236bf8](https://www.loom.com/share/80d7c1cada5942c3be75315dfc236bf8)
    1. You can create & save a job without a description with no errors at the time
       of saving.
    2. If I go back and edit that job, you will see the template error message at the
       top of the screen.
    3. I can reset the template, but if I do, and I still don’t provide a description,
       I just get the same error next time I edit.
    4. Separately, If I try to “convert to blocks”, I get the same error when I go 
       back in to edit.
 *  - So it appears that while that field isn’t required, it does cause an error
      in the admin area not on save, but when editing later if no description has
      been provided.
 *  Thread Starter [jenwhitedesign](https://wordpress.org/support/users/jenwhitedesign/)
 * (@jenwhitedesign)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/error-when-content-field-is-empty/#post-16287140)
 * One more piece of info. I just changed over to the default Twenty Twenty-Three
   theme, and deactivated ALL plugins except for WP Job Manager, and the issue is
   still occurring. So not related to my custom theme, and not a conflict with another
   plugin.
 * [@cena](https://wordpress.org/support/users/cena/) At this point I wouldn’t consider
   this a custom code request as the plugin isn’t even working as expected with 
   a default WP theme and no other plugins installed.
    -  This reply was modified 3 years, 6 months ago by [jenwhitedesign](https://wordpress.org/support/users/jenwhitedesign/).
    -  This reply was modified 3 years, 6 months ago by [jenwhitedesign](https://wordpress.org/support/users/jenwhitedesign/).
 *  Plugin Contributor [Cena (a11n)](https://wordpress.org/support/users/cena/)
 * (@cena)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/error-when-content-field-is-empty/#post-16289123)
 * Hi [@jenwhitedesign](https://wordpress.org/support/users/jenwhitedesign/) ,
 * > f I go back and edit that job, you will see the template error message at the
   top of the screen
 * Are you referring to the `The content of your post doesn’t match the template
   assigned to your post type.` message? (Seen in your video, but confirmed on my
   test site as well.)
 * If so, I believe that is related to this issue in Gutenberg (block editor), vs
   WPJM itself:
 * [https://github.com/WordPress/gutenberg/issues/11681](https://github.com/WordPress/gutenberg/issues/11681)
 * In my testing,
 * > I can reset the template, but if I do, and I still don’t provide a description,
   I just get the same error next time I edit.
 * Yes, I can confirm.
 * > Separately, If I try to “convert to blocks”, I get the same error when I go
   back in to edit.
 * Now this, I can’t duplicate. If I convert to blocks, save, and back out to the
   All Jobs page, then go back in to edit, the message doesn’t reappear. The message
   also doesn’t reappear when I attempt to create new jobs after the initial ‘convert
   to blocks’.
 * Would you be willing to post your Tools->Site Health report? I’m not sure how
   much we can do to resolve this, but I’m curious why we’re experiencing different
   things after converting to blocks.
 * Best,
 *  Thread Starter [jenwhitedesign](https://wordpress.org/support/users/jenwhitedesign/)
 * (@jenwhitedesign)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/error-when-content-field-is-empty/#post-16289728)
 * [@cena](https://wordpress.org/support/users/cena/)
 * Do you have any recommendations on suppressing the error if it is indeed a Gutenberg
   issue? I just can’t believe other users of WP Job Manager wouldn’t have run across
   this by now… I can’t be the only person only posting jobs via the admin.
 * For brevity within the post thread, you can view the site report here: [https://psh.sledgehammer.agency/wp-content/uploads/site-report.txt](https://psh.sledgehammer.agency/wp-content/uploads/site-report.txt)
 * Thanks!
 *  Thread Starter [jenwhitedesign](https://wordpress.org/support/users/jenwhitedesign/)
 * (@jenwhitedesign)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/error-when-content-field-is-empty/#post-16290842)
 * [@cena](https://wordpress.org/support/users/cena/)
 * After the last plugin update, the job list page will no longer load the listings.
   This is in addition to the issues already described above. The error in console
   mentions “404 not found – [https://psh.sledgehammer.agency/jm-ajax/get_listings/&#8221](https://psh.sledgehammer.agency/jm-ajax/get_listings/&#8221);
 * It also says further down in console “Error 404: Ajax Endpoint cannot be reached.
   Go to Settings > Permalinks and save to resolve.”
 * I did re-save my permalinks, but that didn’t resolve the issue unfortunately.
   The job list loader still spins and spins, but nothing ever loads: [https://psh.sledgehammer.agency/careers/](https://psh.sledgehammer.agency/careers/)
 * The jobs DO display on the single listing page: [https://psh.sledgehammer.agency/job/rn-charge-nurse/](https://psh.sledgehammer.agency/job/rn-charge-nurse/)
 *  Plugin Contributor [Cena (a11n)](https://wordpress.org/support/users/cena/)
 * (@cena)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/error-when-content-field-is-empty/#post-16292769)
 * HI [@jenwhitedesign](https://wordpress.org/support/users/jenwhitedesign/) ,
 * I don’t get a similar console error on my listings on my job listings with 1.39.0.
   Here’s what I see for yours:
 * [⌊SCR 20221215 a4o⌉⌊SCR 20221215 a4o⌉[
 * (other errors are from browser extensions)
 * And here’s what I see in console for my listings page:
 * [⌊SCR 20221215 a34⌉⌊SCR 20221215 a34⌉[
 * (messsages are from browser extensions and a WP plugin)
 * After taking a look at your listings, and your Site Health, I wonder whether 
   your theme could be causing this (your plugins are minimal and nothing’s jumping
   out at me as a potential source of conflict.
 * If you switch to a default theme like Storefront or TwentyTwenty, does the issue
   remain?
 * —
 * In regards to suppressing the Gutenberg message, there doesn’t seem to be a good
   solution for that (as you’ve seen in the Gutenberg thread). One thing I would
   like to mention, however, is that WPJM is actually designed for jobs to be submitted
   through the front-end form; of course you can also submit via the admin, but 
   that misses the verification checks submitted jobs normally go through. It will
   also get you around the Gutenberg message!
 * See: [https://wpjobmanager.com/document/adding-jobs-via-admin/](https://wpjobmanager.com/document/adding-jobs-via-admin/)
 * If you get a chance to test this, would you try submitting a job via the front-
   end form, and then seeing what happens on your jobs page (ie, I’m curious whether
   that job appears, but your admin-submitted ones don’t, or whether none of them
   do.)
 * Best,
 *  Thread Starter [jenwhitedesign](https://wordpress.org/support/users/jenwhitedesign/)
 * (@jenwhitedesign)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/error-when-content-field-is-empty/#post-16294497)
 * [@cena](https://wordpress.org/support/users/cena/)
 * I was able to submit a job via the front end which did require a description.
   While I did read the link you provided re: adding jobs via the admin, I have 
   to say I feel a bit mislead by the content of the WP Job Manager website which
   never directly addresses this until your deep in the documentation. I have to
   imagine the majority of people using this plugin would expect to be able add 
   and edit jobs without errors via the admin. But I digress…
 * I did test with two default WP themes, and neither remedied the issue of the 
   job list never loading. The job submitted via the front end didn’t show either.
   I then tested all other plugins one at a time with this one, and determined that
   it’s conflicting with “The Events Calendar” [https://theeventscalendar.com/?utm_source=theeventscalendar&utm_medium=plugin&utm_campaign=tec-onboarding&utm_content=tec-read-me](https://theeventscalendar.com/?utm_source=theeventscalendar&utm_medium=plugin&utm_campaign=tec-onboarding&utm_content=tec-read-me)
 * I have a local version of this site where The Events Calendar plugin hasn’t been
   updated to the most recent version, and it is working properly. I rolled back
   the live site to v 6.0.0 and the job list now loads properly again: [https://psh.sledgehammer.agency/careers/](https://psh.sledgehammer.agency/careers/)
 * So I’m not sure at this point if I need to keep posting in this thread, open 
   an thread for the calendar plugin, or both?
 *  Plugin Contributor [Stef (a11n)](https://wordpress.org/support/users/erania-pinnera/)
 * (@erania-pinnera)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/error-when-content-field-is-empty/#post-16301541)
 * Hi there,
 * Thanks for the feedback about this:
 * > I was able to submit a job via the front end which did require a description.
   > While I did read the link you provided re: adding jobs via the admin, I have
   > to say I feel a bit mislead by the content of the WP Job Manager website which
   > never directly addresses this until your deep in the documentation. I have 
   > to imagine the majority of people using this plugin would expect to be able
   > add and edit jobs without errors via the admin. But I digress…
 * We’ll consider that when revamping our support docs.
 * As for your issue:
 * > I then tested all other plugins one at a time with this one, and determined
   > that it’s conflicting with “The Events Calendar” 
 * My suggestion is to let the plugin author(s) know about that, as it seems to 
   be a bug on their end. Keep us posted just in case we need to check whether to
   take action on this. Thanks!
 *  Plugin Support [Jay](https://wordpress.org/support/users/bluejay77/)
 * (@bluejay77)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/error-when-content-field-is-empty/#post-16323034)
 * Hi there,
 * It has been more than one week since we have heard from you, so I’m marking this
   topic as resolved.
 * But if you have any further questions or need some more help, you’re welcome 
   to reply here or open another thread.

Viewing 14 replies - 1 through 14 (of 14 total)

The topic ‘Error When Content Field is Empty’ is closed to new replies.

 * ![](https://ps.w.org/wp-job-manager/assets/icon-256x256.gif?rev=2975257)
 * [WP Job Manager](https://wordpress.org/plugins/wp-job-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-job-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-job-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-job-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-job-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-job-manager/reviews/)

 * 14 replies
 * 6 participants
 * Last reply from: [Jay](https://wordpress.org/support/users/bluejay77/)
 * Last activity: [3 years, 5 months ago](https://wordpress.org/support/topic/error-when-content-field-is-empty/#post-16323034)
 * Status: resolved