Open cloudgrayau opened 2 days ago
Please check the error logs for an exception message and stack trace.
It appears that trying to send any form of array variable, just kills the memory. Even with 2G set, it still dies.
[21-Nov-2024 09:48:19 Australia/Brisbane] PHP Fatal error: Allowed memory size of 2147483648 bytes exhausted (tried to allocate 262144 bytes) in /var/www/html/vendor/yiisoft/yii2/base/Module.php on line 784 [21-Nov-2024 09:48:19 Australia/Brisbane] PHP Fatal error: Allowed memory size of 2147483648 bytes exhausted (tried to allocate 262144 bytes) in Unknown on line 0
Sending a blank array, does the same thing:
<main id="structure" data-on-load="{{ spark('_components/article', {
id: entry.id,
tags: []
}) }}">
Can you show me what’s in the template at _components/article
?
Bug Report
Hello,
Sending a variable into a spark component as an array value, kills the request and shows a blank white page. For example:
Plugin Version
1.0.0-alpha.5
Craft CMS Version
5.5
PHP Version
No response