VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: mahootshop on September 29, 2017, 10:14:54 AM

Title: [SOLVED] recieving FATAL error when updating more than 7 order at once
Post by: mahootshop on September 29, 2017, 10:14:54 AM

its a bug report of virtuemart 3.2.4  on joomla 3.7.5

after trying to update order statuses more than 7 order in orders list (batch them) we recieve:
Fatal error: Allowed memory size of 2147483648 bytes exhausted (tried to allocate 1073741832 bytes) in (***)/administrator/components/com_virtuemart/helpers/vmlanguage.php on line 246


the line 246 is :
  $tag = self::$currLangTag;
    self::$_loaded['mod'][] = $name;



replace with virtuemart 3.2.2 code which is:

$tag = self::$currLangTag;;

:)) with one ; ofcourse


the problem is solved.

info for undrestanding the situation:
our virtuemart has one language in front end
Configs:
Use english as fallback for untranslated strings: checked
Multilingual shop: one language is there(its persian(IR))
No Fallback:  checked
Custom Fallback: NO
Title: Re: recieving FATAL error when updating more than 7 order at once
Post by: Ventsi Genchev on September 30, 2017, 05:22:18 AM
https://forum.virtuemart.net/index.php?topic=138406.msg485458#msg485458