First time using Bootstrap Barrio. I have successfully created and installed my Barrio Subtheme, but when trying to save my subtheme options in UI (/admin/appearance/settings/my_subtheme), a PHP error page shows this message :
Fatal error: Allowed memory size of 2147483648 bytes exhausted (tried to allocate 262144 bytes) in C:\xampp\htdocs\D9\core\lib\Drupal\Core\Plugin\DefaultPluginManager.php on line 173
Fatal error: Allowed memory size of 2147483648 bytes exhausted (tried to allocate 262144 bytes) in Unknown on line 0
Fatal error: Allowed memory size of 2147483648 bytes exhausted (tried to allocate 262144 bytes) in Unknown on line 0
Fatal error: Allowed memory size of 2147483648 bytes exhausted (tried to allocate 262144 bytes) in Unknown on line 0
And after refreshing this page several times, I can get back to /admin/appearance/settings/my_subtheme but nothing has been saved...
Line 173 of \core\lib\Drupal\Core\Plugin\DefaultPluginManager.php says :
$definitions = $this->getCachedDefinitions();
I do not encounter this error when updating options in any other theme, ie /admin/appearance/settings/seven.
Right now, I cannot customize my subtheme through UI and it is quite frustrating.
What am I missing here? Some help would be very welcome, thank you by advance!
More info:
- Using Bootstrap CDN.
- CDN files are loaded at the bottom of my pages with Bootstrap 4.5.0 as mentionned in the subtheme's .libraries.yml file.
- Testing my site locally on XAMPP with PHP 7.3.15
- In my Apache php.ini, "memory_limit" is set to a value of "2G". I have tried "256MB" and "512MB" but ran in a WSOD on all my site, even after clearing the cache or updating database through Composer... So I have reverted back to "2G".
- All my dependencies are up to date (after "composer update").