Closed (fixed)
Project:
Materialize – Google Material base theme
Version:
2.0.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Reporter:
Created:
2 Oct 2021 at 10:34 UTC
Updated:
26 Oct 2021 at 18:24 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #4
mohit.bansal623 commentedPlease review the merge request.
Calling service for filesystem.
Comment #5
igel commented@mohit.bansal623 Applying your fix, I still get the error:
Error: Call to undefined method Drupal\Core\File\FileSystem::file_scan_directory() in Drupal\materialize\Theme->fileScan() (line 327 of themes/contrib/materialize/src/Theme.php).Comment #6
denes.szabo commentedThe problem is: the file_scan_directory() deprecated in D9.
https://api.drupal.org/api/drupal/core%21includes%21file.inc/function/fi...
I fixed a problem in the dev branch. Check it, pls.
Comment #7
igel commentedThank you for the fix. However, it created a new error:
Error: Call to a member function set() on array in Drupal\materialize\Theme->fileScan() (line 336 of themes/contrib/materialize/src/Theme.php).Comment #8
igel commentedComment #9
forbich commentedAdded temporary patch to continue work at projects.
Comment #10
denes.szabo commentedJust committed a fix for this issue: https://git.drupalcode.org/project/materialize/-/commit/9f931497de96d972...
You can check it now.