theme export error
I am getting an error when trying to export a theme.
line: 1170 in file: controllers\admin\AdminThemesController.php
Invalid argument supplied for foreach()
Hmmz, I’m having some trouble reproducing this error. Which version did you use?
1.0.1 installed locally from https://github.com/thirtybees/thirtybees/releases/download/1.0.1/thirtybees-v1.0.1.zip.
Changed installation language to Hebrew during installation which mean only Hebrew language installed (no English at all), maybe thats why I am seeing this issue?
After 5 tries it finally worked, donno why and how.
When it failed, it was giving an error about:
Invalid argument for foreach at line #1170 in AdminThemeController.php.
It seems like there is something wrong with “$this->to_disable”.
No, still same error.
I dont know if it helps in anything but, I can see a zip file in cache folder that has only Config.xml.
probably the process breaks after.
I’ve only tested theme export on a shop with Hebrew language only (no Eng at all).
The same error is on windows and linux (tried your fix on both)