How to fix “Notice: Undefined index: load_assets in … on line 32” error?

From version 2.2.2(Free) we add a new option for load assets in the website.

If you updated from older version to the new version you may get this error on frontend.

To fix this issue, make sure you reset the Advanced Options Section.(screenshot below)

product gallery load assets issue

Number 4 is the new option and 3 the button for reset the section.