- Posts: 6
COMMUNITY FORUM
- Forum
- K2 Community Forum
- English K2 Community
- Fetch items from children categories: YES, PHP Fatal error: Allowed memory size
Fetch items from children categories: YES, PHP Fatal error: Allowed memory size
- Lapo_78
- Topic Author
- Offline
- New Member
Less
More
6 years 6 months ago - 6 years 6 months ago #167757
by Lapo_78
Fetch items from children categories: YES, PHP Fatal error: Allowed memory size was created by Lapo_78
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
I have set memory_limit is to 1024M on php.ini.
Joomla 3.8.6 and k2 2.8
Thanks
Last edit: 6 years 6 months ago by Lapo_78.
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
6 years 6 months ago #167763
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on 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.
Can you post the exact error please?
Also selecting the exact categories you want to use is a bit more performant.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Lapo_78
- Topic Author
- Offline
- New Member
Less
More
- Posts: 6
6 years 6 months ago #167765
by Lapo_78
Replied by Lapo_78 on 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
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.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
6 years 6 months ago #167769
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on 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?
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?
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Lapo_78
- Topic Author
- Offline
- New Member
Less
More
- Posts: 6
6 years 6 months ago - 6 years 6 months ago #167772
by Lapo_78
Replied by Lapo_78 on 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: 6 years 6 months ago by Lapo_78.
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
6 years 6 months ago #167788
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic Fetch items from children categories: NO, PHP Fatal error: Allowed memory size
How many subcategories are there in total?
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Lapo_78
- Topic Author
- Offline
- New Member
Less
More
- Posts: 6
6 years 6 months ago #167883
by Lapo_78
Replied by Lapo_78 on 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.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
6 years 6 months ago - 6 years 6 months ago #167933
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on 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.
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.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Last edit: 6 years 6 months ago by Krikor Boghossian.
Please Log in or Create an account to join the conversation.
- Forum
- K2 Community Forum
- English K2 Community
- Fetch items from children categories: YES, PHP Fatal error: Allowed memory size