I just installed a clean version of 2.1.1 and went to create a Global Option. It allows me to add 28 variants, but on the 29th when I save it says:
Fatal error: Cannot use string offset as an array in /home/host/public_html/store/var/compiled/admin/%%E4^E42^E4252AD1%%mainbox.tpl.php on line 58
I cleared all my temp files in var/cache and in var/compiled. I even changed the memory limit in the config-local.php to 96m.
Any ideas?
Im having the same issue.
Any help guys? do any one know why this error when tryiong to add options on global options?
Next time it occurs, post the few lines surrounding the error (within code tags please). In this case like 55 -60 from the compiled mainbox.tpl.php file.
This will give us at least a pointer to where to possibly look.
Welll now its happening while editing the global options for my products.
Error:
Fatal error: Cannot use string offset as an array in /home/nbentode/public_html/var/compiled/admin/%%E4^E42^E4252AD1%%mainbox.tpl.php on line 58
The lines you requested (50 to 60)
```php
_tpl_vars['title_extra']): ?>
_tpl_vars['title_extra']; ?>
_tpl_vars['title_extra'] || $this->_tpl_vars['tools'] || $this->_tpl_vars['navigation']['dynamic']['actions'] || $this->_tpl_vars['select_languages'] || $this->_tpl_vars['extra_tools']): ?>
_tpl_vars['navigation']['dynamic']['actions'] || $this->_tpl_vars['select_languages'] || $this->_tpl_vars['extra_tools']): ?>
_tpl_vars['select_languages'] && sizeof($this->_tpl_vars['languages']) > 1): ?> ```
Line 58 is:
```php _tpl_vars['navigation']['dynamic']['actions'] || $this->_tpl_vars['select_languages'] || $this->_tpl_vars['extra_tools']): ?>