Version 2.0 has previously implemented widget showing as missing
-
I have a site using SiteOrigin Page Builder (just in case it’s limited to this, but it might be all/additional situations where the previous widget was placed), and the previously placed widget on a page is now saying “Missing Widget” (with it then not outputting anything on the webpage where it previously showed the widget) after updating to version 2.0.
Meanwhile, there’s now a new “Recent Posts Extended” widget that can be placed. Whereas the previous widget was called “Recent Posts Widget Extended” & now shows as missing in the spots it was previously being used.
Also, there seemed to not really be any time for deprecation/migration regarding this vital change. It kinda just went from working one way with the original widget to needing it to be re-implemented with a different widget with it simply being broken until addressed. There was no time (that I’m aware of) where the new widget was offered alongside the old one so people could transition over (not instantly going from one or the other), and the old widget was never really labelled as deprecated (that I’m aware of) to have people know they should look to use the new widget instead (this part then not really being possible without both being available for a period of time per the previous item I mentioned.)
I have my sites set to auto-update plugins so it was rather surprising to see this new version effectively break all of the spots I had this widget being used (then assuming this is also happening on any number of the 100+ sites I manage.)
– Possible Fix/Consideration –
The first thing I think of is having it so this plugin gets a new version release to address this to help make it so those with automatic plugin updates have time to migrate from the old widget to the new one more gracefully/seamlessly (rather than just finding their existing widget[s] no longer work unless manually addressed after updating this plugin to version 2.0.)Here are a couple of approaches to consider:
- This could include having it where the old widget is simply still included alongside the new widget/block setup in the new version. The old widget could then have the widget name mention it’s deprecated with the additional widget details mentioning the new widget should be used instead (this then doesn’t break the old setup, lets people know they should move over to the new one, and also serves up the new setup all the same for those implementing this fresh.)
- If having the code, CSS, etc. for the old widget alongside the new widget as mentioned in approach #1 is problematic, I wonder if there could be some way where the old widget serves as somewhat of a shim for the new widget. The old widget would still be found for the places it was previously used, but the widget is labeled as deprecated & actually just takes the settings it previously offered & hands them off to the new widget where possible instead of trying to actually use the old widget setup (then denoting any setting that is no longer available per the new widget not offering it, when appropriate, but still showing what that setting was previously set to.) The old widget code & assets don’t actually exist, but it does keep the old widget settings (again, marking ones that aren’t actually doing anything anymore when appropriate [still showing what the setting previously was for reference]) & implementations and simply hands it off to the new widget to then have it show as closely as possible to the previous setup.
After that, version 3.0 could come out where it has then fully removed the old widget, but not without a good number of months where the people managing sites are able to get things migrated over. This does seem to be a more expected deprecation & migration approach that other plugins do when there’s a potentially major functionality-breaking update to things (go from old setup, have a major release that offers both [or at least doesn’t have the old setup break; ex. a shim for the old setup could be fine] so sites have time to migrate over to the new setup, and then finally have another major release a fair amount of time later to then remove the old setup.)
There might be other options to consider. The main goal here is to make it so there’s a deprecation/migration period so it doesn’t instantly go from needing one widget to needing a different widget (almost as if this is a whole new plugin or something) with many sites out there wanting to auto-update plugins.
Definitely feel free to let me know your thoughts/concerns, if I should provide any additional info, and if there’s actually a quick fix for something like this that could be done on my end.
Thanks,
Kurt
- The topic ‘Version 2.0 has previously implemented widget showing as missing’ is closed to new replies.