Plugin Author
Brecht
(@brechtvds)
It’s a problem for all the recipes?
How did you do the migration exactly?
Imported/exported through WP > tools > export recipe and import.
Its problematic fir all imported recipes. New ones seems to be ok. Is it possible for me to fix it in the DB? I assume i can also fix it if I hit it through API?
Plugin Author
Brecht
(@brechtvds)
Hard to tell what went wrong exactly, I’m afraid. What are you seeing in the wp_post database table? The summary is stored as post_content.
OK that fixes it. Updating that column to empty string doesnt fix that. it has to be encapsulated with <p>
Thanks! Too bad i have to update each one 1 by 1.
I just got a report from google that some recipe is throwing is missing instructions. Where can i check all other data so i can check if theyre in thr db?
Top Warnings
Warnings are suggestions for improvement. Some warnings can enhance your appearance on Search; some might become errors in the future. The following warnings were found on your site:
Missing field ‘recipeInstructions’
Do you get these issues for people who migrate?
Plugin Author
Brecht
(@brechtvds)
What did an example of broken post_content look like in the database?
Can you give me a link to a recipe with this problem?
Are the instructions showing up in your recipes? They are stored as wprm_instructions in the wp_postmeta database table.
For migrations I recommend moving over the entire database like this:
https://codex.ww.wp.xz.cn/Moving_WordPress
Or using the JSON export and import features for the recipes:
https://help.bootstrapped.ventures/article/196-export-recipes-to-json
https://help.bootstrapped.ventures/article/197-import-recipes-from-json
Hi Brecht,
Based on website archive, he is my old snapshot of the recipe.
https://web.archive.org/web/20210302112311/https://cookwithmajor.com/2017/09/27/low-carb-keto-tiramisu/
This is how the recipe got imported to the new server/db: https://cookwithmajor.com/low-carb-keto-tiramisu/
The database returns:
+---------+---------+-------------------+------------+
| meta_id | post_id | meta_key | meta_value |
+---------+---------+-------------------+------------+
| 4052 | 858 | wprm_instructions | a:0:{} |
+---------+---------+-------------------+------------+
Plugin Author
Brecht
(@brechtvds)
Unfortunately it’s very hard to tell at this point what went wrong exactly. Looks like the instructions just didn’t move over at all.
No problem Brecht. I’ll just fix them. thanks.