Support will be in summer mood from 6-17 August, 2018 while the JoomlaWorks folks get some rest.
Keyword

Fetch items from children categories: YES, PHP Fatal error: Allowed memory size

  • Lapo_78
  • Lapo_78's Avatar Topic Author
  • Offline
  • New Member
More
3 months 2 weeks ago - 3 months 2 weeks ago #167757 by Lapo_78
Lapo_78 created the topic: Fetch items from children categories: YES, PHP Fatal error: Allowed memory size
Hi, if i enabled Fetch items from children categories in k2 content module i get PHP Fatal error: Allowed memory size.
I have set memory_limit is to 1024M on php.ini.
Joomla 3.8.6 and k2 2.8
Thanks
Last Edit: 3 months 2 weeks ago by Lapo_78.

Please Log in or Create an account to join the conversation.

More
3 months 2 weeks ago #167763 by Krikor Boghossian
Krikor Boghossian replied the topic: Fetch items from children categories: YES, PHP Fatal error: Allowed memory size
Hello,
Can you post the exact error please?
Also selecting the exact categories you want to use is a bit more performant.

IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

---
JoomlaWorks
www.joomlaworks.net/

Please Log in or Create an account to join the conversation.

  • Lapo_78
  • Lapo_78's Avatar Topic Author
  • Offline
  • New Member
More
3 months 2 weeks ago #167765 by Lapo_78
Lapo_78 replied the topic: Fetch items from children categories: NO, PHP Fatal error: Allowed memory size
Hi,
i selected only the specific category and i select NO this option: Fetch items from children categories. I want only the children of selected category:
Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 20480 bytes) in /var/www/dominio.it/libraries/vendor/joomla/registry/src/Format/Json.php on line 67

Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 20480 bytes) in /var/www/dominio.it/libraries/vendor/joomla/registry/src/Registry.php on line 85

Please Log in or Create an account to join the conversation.

More
3 months 2 weeks ago #167769 by Krikor Boghossian
Krikor Boghossian replied the topic: Fetch items from children categories: NO, PHP Fatal error: Allowed memory size
Funny,

The files that produce the error are core files. 1024MB PHP limit is an overkill and can lead to issues. Can you try using a 128 - 256MB limit?

IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

---
JoomlaWorks
www.joomlaworks.net/

Please Log in or Create an account to join the conversation.

  • Lapo_78
  • Lapo_78's Avatar Topic Author
  • Offline
  • New Member
More
3 months 2 weeks ago - 3 months 2 weeks ago #167772 by Lapo_78
Lapo_78 replied the topic: Fetch items from children categories: NO, PHP Fatal error: Allowed memory size
Now i use 512M and for this issue i tryed at 1024 but i've the same problem.
Last Edit: 3 months 2 weeks ago by Lapo_78.

Please Log in or Create an account to join the conversation.

More
3 months 2 weeks ago #167788 by Krikor Boghossian
Krikor Boghossian replied the topic: Fetch items from children categories: NO, PHP Fatal error: Allowed memory size
How many subcategories are there in total?

IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

---
JoomlaWorks
www.joomlaworks.net/

Please Log in or Create an account to join the conversation.

  • Lapo_78
  • Lapo_78's Avatar Topic Author
  • Offline
  • New Member
More
3 months 5 days ago #167883 by Lapo_78
Lapo_78 replied the topic: Fetch items from children categories: NO, PHP Fatal error: Allowed memory size
three

Please Log in or Create an account to join the conversation.

More
3 months 3 days ago - 3 months 3 days ago #167933 by Krikor Boghossian
Krikor Boghossian replied the topic: Fetch items from children categories: NO, PHP Fatal error: Allowed memory size
I tried to reproduce the issue with no luck
jmp.sh/ok0XqVu
jmp.sh/6L22zpT

Which version of PHP are you using? Any other K2 related extensions?
Are you using Apache or Nginx?
For the time being you can select directly the three subcategories.

IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

---
JoomlaWorks
www.joomlaworks.net/
Last Edit: 3 months 3 days ago by Krikor Boghossian.

Please Log in or Create an account to join the conversation.

Moderators: william white