Migrating Database to or from servers – Block Types Missing
-
Hi ACF Extended,
First off, love what you have created. It has made our lives even easier while we create custom elements and functionality with ACF PRO while keeping our code even more neat and clean. Nice work on Gutenberg Block Types as well!
A little info about our setup:
Our current project experiencing the issue stated below is in a multi-site environment. Each site in our multi-site is experiencing this issue. We have not had an issue like this in the past while using ACF Extended.
The issue occurs after we migrate the database to and from different servers/environments.
After migrating a database, whether we manually export/import a database or use Migrate DB Pro, “Block Types” on the front end cease to appear unless you log in to the WP Dashboard, go to each Block Type edit screen and click update.
The elements created with the Block Types feature do not render but they remain editable in the Gutenberg editor.
Doing a print_r on “get_the_content()”, I can see all the data for each block/element and it all appears to be correct.
I am unsure why, even with the data still available, I have to click update on each Block Type that I have created after migrating a database.
I am currently looking through the ACF Extended Hooks hoping to find something that I could hook into to automatically check and update the block type fields but, I do not see any in that list that would work.
- The topic ‘Migrating Database to or from servers – Block Types Missing’ is closed to new replies.