Help topics

Some WordPress posts are not imported

A WordPress import can finish without some posts, or refuse to start because of the model name or the post type.

Symptoms

  • A job on Import from WordPress shows "N post could not be imported" or "N posts could not be imported". Select the line to open the list of failed posts.
  • The progress line reads "X imported, Y failed of Z posts".
  • Start import is refused with an error message:
    • "Model must start with a letter and use only a-z, 0-9 and _ (max 64)"
    • "A model called NAME already exists"
    • "Post type NAME cannot be imported"

Cause

  • A post failed when Morphic saved it as an entry. The job keeps going with the other posts. The list shows the WordPress post ID after "#" and the reason.
  • The model name breaks the rule. It must start with a letter, use only a-z, 0-9 and _, and have at most 64 characters.
  • A model with the same name already exists.
  • The post type is one of attachment, wp_block, wp_template, wp_template_part, wp_navigation, wp_global_styles, wp_font_family or wp_font_face.
  • The post type starts with mx_ or acf-, or does not exist on the site.

Fix

If the start is refused with a model name message

  1. In Model name, enter a name that starts with a letter and uses only a-z, 0-9 and _, with at most 64 characters.
  2. Select Start import.

If the start is refused with "A model called NAME already exists"

  1. In Model name, enter a name that no model uses.
  2. Select Start import.

If the start is refused with "Post type NAME cannot be imported"

  1. Go to Import from WordPress.
  2. Select Import only on a row of the scan table. The scan table does not list the post types named under Cause.

If some posts could not be imported

  1. Select the line that reads N posts could not be imported to open the list.
  2. Read the reason after the "#" and post ID of each failed post.

The list shows up to 50 failed posts. The count in the line includes all failed posts.

Still not working?

Collect the post IDs, the exact error text and the Morphic version. Then contact us through the contact form with your Morphic version and the exact error text.