PHP 7.1 Warnings: Illegal String Offset

Knowledgebase Docs » UberMenu 3
UberMenu 3

This issue has been resolved with UberMenu 3.2.6. Please update to the latest version if you haven’t already

If you are running PHP 7.1, which just came out at the beginning of December, you’ll encounter PHP warnings regarding “Illegal string offset” and “Cannot assign an empty string”.

A solution to these warnings is available. However, as this came to my attention just before the holidays 2016, and I will be out of contact while traveling through the New Year, I didn’t want to risk pushing an update that could introduce an issue without being around to respond to any problems that arose.

For now, if you are running PHP 7.1 and need an immediate solution, please replace the entire wp-content/plugins/ubermenu/includes/menuitems/UberMenuItem.class.php file in your UberMenu installation with the UberMenuItem.class.php replacement file below in order to resolve the issue.

I’m sorry not to be able to get this release out prior to leaving for my trip. Since the number of servers running the brand new PHP 7.1 is still very low, I don’t expect this to affect very many customers. If you are one of the few early adopters, my apologies for the inconvenience! This fix will be included in an update planned for early January. Thanks for you patience, and have a great holiday!