Hi, Scott…
Harmless though it may be, I don’t think the code snippets I put in the post above really communicated the way this error busts up the page formatting in a really alarming way…or at least alarming enough to cause me to remove the plugin. (Wish I could’ve attached a screen capture.)
As for the code you shared above, I have absolutely no idea whatsoever what you want me to do with it. You have assumed a skill level and comfort with PHP that I don’t possess.
If the code you shared contains a fix that’ll be available in the next version of the plugin, probably the best course for me to take is to wait until it’s uploaded, and revisit it then.