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

#   Fatal error when trying to add a product :(

##

- **[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: 86587
- Thank you received: 14325
-
-

12 years 7 months ago [\#150988](#150988) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Fatal error when trying to add a product :(](/forum/32-content-creation/866514-fatal-error-when-trying-to-add-a-product?start=20#150988 "-- url of the page with the problem -- :http://temp.yaeliq.com/fruits/product/24590-acai-berry-2.html -- HikaShop version -- : 2.3.0 -- Joomla version -- : 2.5 -- PHP version -- : 5.4.24 -- Browser(s) name and version -- : chrome last one -- Error-message(debug-mod must be tuned on) -- : Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 512 bytes) in /home/yaeliq1965roz/public&#95;html/temp/libraries/joomla/database/database/mysqli.php on line 498  Fatal error: Access to undeclared static property: JLoader::$classes in /home/yaeliq1965roz/public&#95;html/temp/libraries/loader.php on line 195  Very new in Hika business. Trying to upload products and this is the error I got. Please help me! Thanks :(")*

I've done it for you.

You had around 35 000 variants for your products. And you set a max filter of 50000 so that it deletes them all at once. However, you reach the memory limit if you do that, like you would when you delete the product via the interface.
Instead of that, I changed the max filter of your mass action to 3000 and run the mass action 12 times and it removed all the variants of the product. Then I could simply delete the main product via the products listing delete button.

The following user(s) said Thank You: [Trail](/forum/user/31953-trail "View Trail's Profile")

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

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

Less More

- Posts: 16
- Thank you received: 0
-
-

12 years 7 months ago [\#151002](#151002) by [Trail](/forum/user/31953-trail "View Trail's Profile")  Replied by *[Trail](/forum/user/31953-trail "View Trail's Profile")* on topic *[Fatal error when trying to add a product :(](/forum/32-content-creation/866514-fatal-error-when-trying-to-add-a-product?start=20#151002 "-- url of the page with the problem -- :http://temp.yaeliq.com/fruits/product/24590-acai-berry-2.html -- HikaShop version -- : 2.3.0 -- Joomla version -- : 2.5 -- PHP version -- : 5.4.24 -- Browser(s) name and version -- : chrome last one -- Error-message(debug-mod must be tuned on) -- : Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 512 bytes) in /home/yaeliq1965roz/public&#95;html/temp/libraries/joomla/database/database/mysqli.php on line 498  Fatal error: Access to undeclared static property: JLoader::$classes in /home/yaeliq1965roz/public&#95;html/temp/libraries/loader.php on line 195  Very new in Hika business. Trying to upload products and this is the error I got. Please help me! Thanks :(")*

How did you do that? I had tried many settings, the default was start 0 &amp; value 500 but after processing and selecting the same filter again, the affected rows never changed. The 36333 rows should have become 35833 rows then..

With the default of START=0 and VALUE=500 nothing changed when i processed, you saw the action i saved, i see you edited it to 3000. The rest of the settings where similar from what i had or not?

I did try the value at 50000 one time, at wich point i did get a fatal error..

What did you do to execute the action ? No trigger, and simply clicking process in the mass actions menu bar on top ?

If 3000 fits in memory, why not the default 500.. it should have affected the amount of rows each time i executed the action and i tried it about 20 times.. it says the action will be processed then it reload without error, i select the same filter and poof 36333 rows affected again, so none where deleted.

I guess i'll just continue to add products and if it happens again i'll try this mass action like you saved.. at least i know it can be fixed from the back-end and thats a relief..

I feel more secure about moving on now ![:)](/media/kunena/emoticons/3.png ":)")

In the meantime i took a look at virtuemart, and i like the feel of hikashop better, i just hope its sturdy enough for someone like me behind the steering wheel ![:)](/media/kunena/emoticons/3.png ":)")

Still got an issue with product options in unpublished category still being listed as seperate products on the site but there's another thread about that.

Thank you very much for your time,
~Trail.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODY2NTE0LWZhdGFsLWVycm9yLXdoZW4tdHJ5aW5nLXRvLWFkZC1hLXByb2R1Y3Q/c3RhcnQ9MjAmdG1wbD1tYXJrZG93bg==) 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: 86587
- Thank you received: 14325
-
-

12 years 7 months ago [\#151003](#151003) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Fatal error when trying to add a product :(](/forum/32-content-creation/866514-fatal-error-when-trying-to-add-a-product?start=20#151003 "-- url of the page with the problem -- :http://temp.yaeliq.com/fruits/product/24590-acai-berry-2.html -- HikaShop version -- : 2.3.0 -- Joomla version -- : 2.5 -- PHP version -- : 5.4.24 -- Browser(s) name and version -- : chrome last one -- Error-message(debug-mod must be tuned on) -- : Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 512 bytes) in /home/yaeliq1965roz/public&#95;html/temp/libraries/joomla/database/database/mysqli.php on line 498  Fatal error: Access to undeclared static property: JLoader::$classes in /home/yaeliq1965roz/public&#95;html/temp/libraries/loader.php on line 195  Very new in Hika business. Trying to upload products and this is the error I got. Please help me! Thanks :(")*

Yes, I didn't change the settings besides the value and just pressed on "process".
I used 3000 instead of 500 because it would have taken too much time and that 3000 is still a reasonable amount to process at once.
I actually had the number of affected rows to decrease after clicking on "process".
I didn't do anything special. It should have been the same with 500.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODY2NTE0LWZhdGFsLWVycm9yLXdoZW4tdHJ5aW5nLXRvLWFkZC1hLXByb2R1Y3Q/c3RhcnQ9MjAmdG1wbD1tYXJrZG93bg==) 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.048 seconds

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