PHP: 8.1 Drupal: 10.2 TypeError: array_merge(): Argument #2 must be of type array, null given in array_merge() (line 907 of core\includes\install.inc).
Activity
code-rider commentedon May 22, 2024
Hi
thanks for pointing this out and also for using this repository.
this problem is related to https://www.drupal.org/project/fences module
issue is already created and merged in dev branch
https://www.drupal.org/project/fences/issues/3446610
now you have both options use dev branch of this module or user older branch
I have just tested with 3.0.0
the full installation process is below
composer create-project drupal/recommended-project project-name.com
cd project-name.com
composer require 'drupal/addtoany:^2.0'
composer require 'drupal/better_exposed_filters:^6.0'
composer require 'drupal/captcha:^2.0'
composer require 'drupal/ctools:^4.0'
composer require 'drupal/entity_reference_revisions:^1.11'
composer require 'drupal/fences:3.0.0'
composer require 'drupal/jquery_ui:^1.6'
composer require 'drupal/jquery_ui_datepicker:^2.0'
composer require 'drupal/jquery_ui_slider:^2.0'
composer require 'drupal/jquery_ui_touch_punch:^1.1'
composer require 'drupal/paragraphs:^1.17'
composer require 'drupal/pathauto:^1.12'
composer require 'drupal/token:^1.14'
composer require 'drupal/twig_tweak:^3.3'
composer require 'drupal/january_theme:^1.0'
download CodeRiders and place in profile folder
webroot/web/profiles/coderiders
you can install drupal with CodeRiders profile
Thanks
ugintl commentedon May 22, 2024
Installed successfully, but now it says, "Website encountered an unexpected error".
ugintl commentedon May 22, 2024
I added
$config['system.logging']['error_level'] = 'verbose';to settings.php and it showed me following errorscode-rider commentedon May 22, 2024
see this issue
https://www.drupal.org/project/january_theme/issues/3359653
and this patch is applied to next version
can you please apply this patch
https://www.drupal.org/files/issues/2023-05-11/3359653-1_0.patch
and also this one mentioned in readme file of this profile
https://www.drupal.org/project/january_theme/issues/3389460
ugintl commentedon May 23, 2024
For anyone who faces these issues, please apply this patch https://www.drupal.org/files/issues/2023-09-25/title-solver-3389460_0.patch and this patch https://www.drupal.org/files/issues/2023-05-11/3359653-1_0.patch
After that follow Step 4 from the Read Me file
The theme is beautiful. Really good work. 🥇