[Skip to main content](#vessel-content)

#   Can not create new Mass Action or open existing ( backend)

##

- **[atslom](/forum/user/79015-atslom "View atslom's Profile")**
- [![atslom's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/79015-atslom "View atslom's Profile") Topic Author
- [ Offline](/forum/user/79015-atslom)

Less More

- Posts: 4
- Thank you received: 0
-
-

3 years 1 month ago [\#356116](#356116) by [atslom](/forum/user/79015-atslom "View atslom's Profile")  *[Can not create new Mass Action or open existing ( backend)](/forum/44-mass-actions/907185-can-not-create-new-mass-action-or-open-existing-backend#356116 "-- HikaShop version -- : 5.0.0 -- Joomla version -- : 4.3.4 -- PHP version -- : 8.0.0 -- Browser(s) name and version -- : Chrome 118.0.5993.89 -- Error-message(debug-mod must be tuned on) -- : Warning: Narrowing occurred during type inference of ZEND&#95;FETCH&#95;DIM&#95;W. Please file a bug report on bugs.php.net in /home/u235795/mshop.svc-ticket.ru/www/administrator/components/com&#95;hikashop/helpers/helper.php on line 1518 Fatal error: Allowed memory size of 89128960 bytes exhausted (tried to allocate 20480 bytes) in /home/u235795/mshop.svc-ticket.ru/www/libraries/vendor/joomla/database/src/Mysqli/MysqliStatement.php on line 550  Fatal error: Allowed memory size of 89128960 bytes exhausted (tried to allocate 65536 bytes) in /home/u235795/mshop.svc-ticket.ru/www/libraries/vendor/composer/ClassLoader.php on line 476  After some time I can't create a New mass action or open already existing one.  If I try to open an existing MassAction or create a new one - I redirected to a Main Hikashop menu with Fatal Error:  Try to execute it both on a local machine and remote server - result is the same.")* was created by *[atslom](/forum/user/79015-atslom "View atslom's Profile")*

-- HikaShop version -- : 5.0.0
-- Joomla version -- : 4.3.4
-- PHP version -- : 8.0.0
-- Browser(s) name and version -- : Chrome 118.0.5993.89
-- Error-message(debug-mod must be tuned on) -- : Warning: Narrowing occurred during type inference of ZEND_FETCH_DIM_W. Please file a bug report on bugs.php.net in /home/u235795/mshop.svc-ticket.ru/www/administrator/components/com_hikashop/helpers/helper.php on line 1518
Fatal error: Allowed memory size of 89128960 bytes exhausted (tried to allocate 20480 bytes) in /home/u235795/mshop.svc-ticket.ru/www/libraries/vendor/joomla/database/src/Mysqli/MysqliStatement.php on line 550

Fatal error: Allowed memory size of 89128960 bytes exhausted (tried to allocate 65536 bytes) in /home/u235795/mshop.svc-ticket.ru/www/libraries/vendor/composer/ClassLoader.php on line 476

After some time I can't create a New mass action or open already existing one.

If I try to open an existing MassAction or create a new one - I redirected to a Main Hikashop menu with Fatal Error:

[ ![2023-10-2322&#95;08&#95;43-MSShop-Administration-Massactions.png](/forum/attachment/58050) ](/forum/attachment/58050 "...assactions.png")

[ ![2023-10-2322&#95;09&#95;26-mshop.svc-ticket.ru&#95;administrator&#95;index.php&#95;optioncom&#95;hikashopctrlmassaction.png](/forum/attachment/58049) ](/forum/attachment/58049 "...massaction.png")

Try to execute it both on a local machine and remote server - result is the same.

- [ ![2023-10-2322&#95;09&#95;26-mshop.svc-ticket.ru&#95;administrator&#95;index.php&#95;optioncom&#95;hikashopctrlmassaction.png](/forum/attachment/58049) ](/forum/attachment/58049 "...massaction.png") [ ](/forum/attachment/58049?download=1 "...massaction.png")
- [ ![2023-10-2322&#95;08&#95;43-MSShop-Administration-Massactions.png](/forum/attachment/58050) ](/forum/attachment/58050 "...assactions.png") [ ](/forum/attachment/58050?download=1 "...assactions.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ0LW1hc3MtYWN0aW9ucy85MDcxODUtY2FuLW5vdC1jcmVhdGUtbmV3LW1hc3MtYWN0aW9uLW9yLW9wZW4tZXhpc3RpbmctYmFja2VuZD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86593
- Thank you received: 14334
-
-

3 years 1 month ago [\#356120](#356120) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Can not create new Mass Action or open existing ( backend)](/forum/44-mass-actions/907185-can-not-create-new-mass-action-or-open-existing-backend#356120 "-- HikaShop version -- : 5.0.0 -- Joomla version -- : 4.3.4 -- PHP version -- : 8.0.0 -- Browser(s) name and version -- : Chrome 118.0.5993.89 -- Error-message(debug-mod must be tuned on) -- : Warning: Narrowing occurred during type inference of ZEND&#95;FETCH&#95;DIM&#95;W. Please file a bug report on bugs.php.net in /home/u235795/mshop.svc-ticket.ru/www/administrator/components/com&#95;hikashop/helpers/helper.php on line 1518 Fatal error: Allowed memory size of 89128960 bytes exhausted (tried to allocate 20480 bytes) in /home/u235795/mshop.svc-ticket.ru/www/libraries/vendor/joomla/database/src/Mysqli/MysqliStatement.php on line 550  Fatal error: Allowed memory size of 89128960 bytes exhausted (tried to allocate 65536 bytes) in /home/u235795/mshop.svc-ticket.ru/www/libraries/vendor/composer/ClassLoader.php on line 476  After some time I can't create a New mass action or open already existing one.  If I try to open an existing MassAction or create a new one - I redirected to a Main Hikashop menu with Fatal Error:  Try to execute it both on a local machine and remote server - result is the same.")*

Hi,

The warning is something we've reported to PHP : [ github.com/php/php-src/issues/8251](https://github.com/php/php-src/issues/8251)
The issue is still open. If you can update to PHP 8.2, you would get a warning message with more accurate information which would help us explain to the PHP developers in what circumstances the issue happens.

Regarding the fatal error, it says that you have a memory limit of around 90M configured in your php.ini and that Joomla/HikaShop/the other extensions loaded on the page need more memory to run the processing of the page.
90MB is not low, but it's not high either. The default in recent versions of PHP is 128M and it's not uncommon to increase this to 256M. So I would recommend first trying to increase the memory limit of your PHP and see if that helps.
If it does, then it's just that, there is too much data in memory for that page processing and keep it increased.
If you still get the same issue after doubling the memory limit, then it's likely another issue, like an infinite loop eating more and more memory until it reaches the maximum allowed. In that case, we'll likely need a backend access and a FTP access in order to investigate what's going on.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ0LW1hc3MtYWN0aW9ucy85MDcxODUtY2FuLW5vdC1jcmVhdGUtbmV3LW1hc3MtYWN0aW9uLW9yLW9wZW4tZXhpc3RpbmctYmFja2VuZD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[atslom](/forum/user/79015-atslom "View atslom's Profile")**
- [![atslom's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/79015-atslom "View atslom's Profile") Topic Author
- [ Offline](/forum/user/79015-atslom)

Less More

- Posts: 4
- Thank you received: 0
-
-

3 years 1 month ago [\#356149](#356149) by [atslom](/forum/user/79015-atslom "View atslom's Profile")  Replied by *[atslom](/forum/user/79015-atslom "View atslom's Profile")* on topic *[Can not create new Mass Action or open existing ( backend)](/forum/44-mass-actions/907185-can-not-create-new-mass-action-or-open-existing-backend#356149 "-- HikaShop version -- : 5.0.0 -- Joomla version -- : 4.3.4 -- PHP version -- : 8.0.0 -- Browser(s) name and version -- : Chrome 118.0.5993.89 -- Error-message(debug-mod must be tuned on) -- : Warning: Narrowing occurred during type inference of ZEND&#95;FETCH&#95;DIM&#95;W. Please file a bug report on bugs.php.net in /home/u235795/mshop.svc-ticket.ru/www/administrator/components/com&#95;hikashop/helpers/helper.php on line 1518 Fatal error: Allowed memory size of 89128960 bytes exhausted (tried to allocate 20480 bytes) in /home/u235795/mshop.svc-ticket.ru/www/libraries/vendor/joomla/database/src/Mysqli/MysqliStatement.php on line 550  Fatal error: Allowed memory size of 89128960 bytes exhausted (tried to allocate 65536 bytes) in /home/u235795/mshop.svc-ticket.ru/www/libraries/vendor/composer/ClassLoader.php on line 476  After some time I can't create a New mass action or open already existing one.  If I try to open an existing MassAction or create a new one - I redirected to a Main Hikashop menu with Fatal Error:  Try to execute it both on a local machine and remote server - result is the same.")*

Hi
1)PHP version
I have to stay on 8.0.0 as when I try to switch to 8.1 with my hosting comnpany, then Product Listing's stopped working with Error 500. Also hosting company at a moment support 8.1 as a latest version

2) Fatal error

You are right, it is because PHP memory limit was too low, but even 256M was not enough to solve an issue, I try much bigger 4096M - then it was OK. I suppose it is because hikashop_related table became too big - more then 800 000 records, and then according to SQL log - SQL stopped responding with Fatal Error on the SELECT * FROM v638a_hikashop_product_related query.
Is there a limitation on the hikashop_related number of records? In my particular case it is used to store information about parts related to a product and visa versa, and should be at the end of development around 3Mil records in total. I'm afraid that this q-ty is beoynd Hika capabilities.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ0LW1hc3MtYWN0aW9ucy85MDcxODUtY2FuLW5vdC1jcmVhdGUtbmV3LW1hc3MtYWN0aW9uLW9yLW9wZW4tZXhpc3RpbmctYmFja2VuZD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86593
- Thank you received: 14334
-
-

3 years 1 month ago [\#356150](#356150) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Can not create new Mass Action or open existing ( backend)](/forum/44-mass-actions/907185-can-not-create-new-mass-action-or-open-existing-backend#356150 "-- HikaShop version -- : 5.0.0 -- Joomla version -- : 4.3.4 -- PHP version -- : 8.0.0 -- Browser(s) name and version -- : Chrome 118.0.5993.89 -- Error-message(debug-mod must be tuned on) -- : Warning: Narrowing occurred during type inference of ZEND&#95;FETCH&#95;DIM&#95;W. Please file a bug report on bugs.php.net in /home/u235795/mshop.svc-ticket.ru/www/administrator/components/com&#95;hikashop/helpers/helper.php on line 1518 Fatal error: Allowed memory size of 89128960 bytes exhausted (tried to allocate 20480 bytes) in /home/u235795/mshop.svc-ticket.ru/www/libraries/vendor/joomla/database/src/Mysqli/MysqliStatement.php on line 550  Fatal error: Allowed memory size of 89128960 bytes exhausted (tried to allocate 65536 bytes) in /home/u235795/mshop.svc-ticket.ru/www/libraries/vendor/composer/ClassLoader.php on line 476  After some time I can't create a New mass action or open already existing one.  If I try to open an existing MassAction or create a new one - I redirected to a Main Hikashop menu with Fatal Error:  Try to execute it both on a local machine and remote server - result is the same.")*

Hi,

That's hard to say. There is no hard limit. But we never tested with more than a couple thousand related entries.

What exact information did you see in the MySQL log ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ0LW1hc3MtYWN0aW9ucy85MDcxODUtY2FuLW5vdC1jcmVhdGUtbmV3LW1hc3MtYWN0aW9uLW9yLW9wZW4tZXhpc3RpbmctYmFja2VuZD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[atslom](/forum/user/79015-atslom "View atslom's Profile")**
- [![atslom's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/79015-atslom "View atslom's Profile") Topic Author
- [ Offline](/forum/user/79015-atslom)

Less More

- Posts: 4
- Thank you received: 0
-
-

3 years 1 month ago [\#356172](#356172) by [atslom](/forum/user/79015-atslom "View atslom's Profile")  Replied by *[atslom](/forum/user/79015-atslom "View atslom's Profile")* on topic *[Can not create new Mass Action or open existing ( backend)](/forum/44-mass-actions/907185-can-not-create-new-mass-action-or-open-existing-backend#356172 "-- HikaShop version -- : 5.0.0 -- Joomla version -- : 4.3.4 -- PHP version -- : 8.0.0 -- Browser(s) name and version -- : Chrome 118.0.5993.89 -- Error-message(debug-mod must be tuned on) -- : Warning: Narrowing occurred during type inference of ZEND&#95;FETCH&#95;DIM&#95;W. Please file a bug report on bugs.php.net in /home/u235795/mshop.svc-ticket.ru/www/administrator/components/com&#95;hikashop/helpers/helper.php on line 1518 Fatal error: Allowed memory size of 89128960 bytes exhausted (tried to allocate 20480 bytes) in /home/u235795/mshop.svc-ticket.ru/www/libraries/vendor/joomla/database/src/Mysqli/MysqliStatement.php on line 550  Fatal error: Allowed memory size of 89128960 bytes exhausted (tried to allocate 65536 bytes) in /home/u235795/mshop.svc-ticket.ru/www/libraries/vendor/composer/ClassLoader.php on line 476  After some time I can't create a New mass action or open already existing one.  If I try to open an existing MassAction or create a new one - I redirected to a Main Hikashop menu with Fatal Error:  Try to execute it both on a local machine and remote server - result is the same.")*

Hi &#124;
I attached SQL logs for both 256M and 4096M memory limit in PHP 8.0 ( For development purpose I use local Apache and can change PHP parameters easily)
The same script was run [ msshop.local/administrator/index.php?opt...shop&amp;ctrl=massaction](http://msshop.local/administrator/index.php?option=com_hikashop&ctrl=massaction)
then +New button was pressed
256M - Fatal error
4096M - OK

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ0LW1hc3MtYWN0aW9ucy85MDcxODUtY2FuLW5vdC1jcmVhdGUtbmV3LW1hc3MtYWN0aW9uLW9yLW9wZW4tZXhpc3RpbmctYmFja2VuZD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86593
- Thank you received: 14334
-
-

3 years 1 month ago [\#356179](#356179) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Can not create new Mass Action or open existing ( backend)](/forum/44-mass-actions/907185-can-not-create-new-mass-action-or-open-existing-backend#356179 "-- HikaShop version -- : 5.0.0 -- Joomla version -- : 4.3.4 -- PHP version -- : 8.0.0 -- Browser(s) name and version -- : Chrome 118.0.5993.89 -- Error-message(debug-mod must be tuned on) -- : Warning: Narrowing occurred during type inference of ZEND&#95;FETCH&#95;DIM&#95;W. Please file a bug report on bugs.php.net in /home/u235795/mshop.svc-ticket.ru/www/administrator/components/com&#95;hikashop/helpers/helper.php on line 1518 Fatal error: Allowed memory size of 89128960 bytes exhausted (tried to allocate 20480 bytes) in /home/u235795/mshop.svc-ticket.ru/www/libraries/vendor/joomla/database/src/Mysqli/MysqliStatement.php on line 550  Fatal error: Allowed memory size of 89128960 bytes exhausted (tried to allocate 65536 bytes) in /home/u235795/mshop.svc-ticket.ru/www/libraries/vendor/composer/ClassLoader.php on line 476  After some time I can't create a New mass action or open already existing one.  If I try to open an existing MassAction or create a new one - I redirected to a Main Hikashop menu with Fatal Error:  Try to execute it both on a local machine and remote server - result is the same.")*

Hi,

Try changing the line: Code:

$db-&gt;setQuery('SELECT * FROM '.hikashop_table('product_related'));

to: Code:

$db-&gt;setQuery('SELECT DISTINCT product_related_type FROM '.hikashop_table('product_related'));

in the file plugins/system/hikashopmassaction/hikashopmassaction.php via FTP.
It should hopefully help.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ0LW1hc3MtYWN0aW9ucy85MDcxODUtY2FuLW5vdC1jcmVhdGUtbmV3LW1hc3MtYWN0aW9uLW9yLW9wZW4tZXhpc3RpbmctYmFja2VuZD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[atslom](/forum/user/79015-atslom "View atslom's Profile")**
- [![atslom's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/79015-atslom "View atslom's Profile") Topic Author
- [ Offline](/forum/user/79015-atslom)

Less More

- Posts: 4
- Thank you received: 0
-
-

3 years 1 month ago [\#356218](#356218) by [atslom](/forum/user/79015-atslom "View atslom's Profile")  Replied by *[atslom](/forum/user/79015-atslom "View atslom's Profile")* on topic *[Can not create new Mass Action or open existing ( backend)](/forum/44-mass-actions/907185-can-not-create-new-mass-action-or-open-existing-backend#356218 "-- HikaShop version -- : 5.0.0 -- Joomla version -- : 4.3.4 -- PHP version -- : 8.0.0 -- Browser(s) name and version -- : Chrome 118.0.5993.89 -- Error-message(debug-mod must be tuned on) -- : Warning: Narrowing occurred during type inference of ZEND&#95;FETCH&#95;DIM&#95;W. Please file a bug report on bugs.php.net in /home/u235795/mshop.svc-ticket.ru/www/administrator/components/com&#95;hikashop/helpers/helper.php on line 1518 Fatal error: Allowed memory size of 89128960 bytes exhausted (tried to allocate 20480 bytes) in /home/u235795/mshop.svc-ticket.ru/www/libraries/vendor/joomla/database/src/Mysqli/MysqliStatement.php on line 550  Fatal error: Allowed memory size of 89128960 bytes exhausted (tried to allocate 65536 bytes) in /home/u235795/mshop.svc-ticket.ru/www/libraries/vendor/composer/ClassLoader.php on line 476  After some time I can't create a New mass action or open already existing one.  If I try to open an existing MassAction or create a new one - I redirected to a Main Hikashop menu with Fatal Error:  Try to execute it both on a local machine and remote server - result is the same.")*

Hi

It is much better
Now hikashop _related file is about 2 mil records ( this is a limit, I don't expect furter growth of this file) and New mass action was opened with 2048M limit, I will check other functioins and in case of further problems open tickets.
Thanks Nicolas!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ0LW1hc3MtYWN0aW9ucy85MDcxODUtY2FuLW5vdC1jcmVhdGUtbmV3LW1hc3MtYWN0aW9uLW9yLW9wZW4tZXhpc3RpbmctYmFja2VuZD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.069 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
