Posted: December 9, 2016 at 11:48 am
|
Hi, I am in the process of migrating from EE 3 (3.1.22.1). I followed the instructions on upgrading. 1- Deactivated 3.1.22.1 I did not receive any errors during the process but when I finally get out of maintenance mode the Events page no longer has the events that were showing up in EE3 except for 1 old event. When I deactivate EE4 and reactivate EE3Lite the events are still showing up. Any help would be appreciated! |
Hi there, The dates recorded in the EE3 events were likely in an invalid format. You can delete the EE4 data from the EE4 > Maintenance page. Then that will deactivate EE4. Then you’ll check the events in EE3 and make sure that all the dates set for events are in the following format: 2016-12-09 (which is Year-month-day) and the start and end times are filled out with times. |
|
|
Everything seems fine for the latest event (the only one that is active at the moment). Any additional thoughts? Registration Dates Event Dates Registration Times Event Times |
|
I did save the event over and created a copy then tried migrating again and it appears to be working now and all events/attendees appear to have migrated. I will take a look over the data now. Thanks! |
|
One quick thing, I use the plugin Secondary HTML Content and for some reason those secondary content boxes show up all over the EE backend. Does not happen with any other plugin so not sure what is being called to display those but certainly looks like a bug. |
That would most likely be a bug that would need to be fixed in the Secondary HTML Content plugin. It’s might be hooking into a hook that can fire more than once. |
|
|
I suppose it could be but it was never an issue with any of the EE3 versions or any other plugin I have ever used… |
EE3 events were not custom post types so the admin pages for EE3 events were completely custom and didn’t integrate with other plugins designed to work on posts. EE4 events are a custom post type and so are closer to ‘normal’ posts within WP, the admin interface is still custom but its designed to allow other plugins to integrate in almost the same way they would with normal posts. I had a quick look at the Secondary HTML Content plugin and get_posts query they are using to pull in the ‘secondary_blocks’ metaboxes is being passed an empty post_type value for the meta_value when viewing EE pages. This then returns all posts for that query which means all of the seconardy_blocks are added to the EE pages. It looks like the secondary blocks plugin should be checking it has a post type before running the query to prevent this. They do have a filter for the blocks after they have pulled them which allows you to check for a post type and return an empty array, like this: https://gist.github.com/Pebblo/c1e5dcd995afee332f973b9140f67b3b You can add that to your themes functions.php file or a Custom Functions Plugin. However again note the issue is with the secondary blocks plugin not checking values before using them rather than EE loading the secondary blocks plugin incorrectly so the proper solution is to fix the query within the plugin. |
|
The support post ‘Migrating from EE3’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.