WElcome to this article, I hope this article will resolve your error.
Error: –
Deprecated Functionality: pathinfo(): Passing null to parameter #1 ($path) of type string is deprecated in /vendor/magento/framework/View/Asset/PreProcessor/FileNameResolver.php on line 44
Solution: –
Go to the parent directory of your theme, it must be in vendor/magento/theme-magento-blank or theme-magneto-luma/ then web/images, copy logo.svg and put this in your theme directory app/design/frontend/[vendor]/[theme]/web/images .
The problem was we should put the logo.svg image file in our theme: app/design/frontend/[vendor]/[theme]/web/images/logo.svg
In Magento 2.4.4, Child themes need to have a logo.svg file.
Once you copied logo.svg from parent to your theme. Do the following :
-
- Remove the files and folders present inside pub/static/frontend
- Remove the files and folders present inside var/view_preprocessed/pub/static/frontend
- Run the deploy command – php bin/magento se:s:d -f
That’it !
Do comment below, giving your feedback.
Thanks a lot! And don’t forget to look in the app/design/adminhtml folder 😉
Thanks!!!
Amazing that a missing logo breaks this on Magento Cloud. Thank you!
Thanks, it helped.
Thanks for the feedback Oleksii
Thank you so much for all of the knowledge and guidance that you have so generously shared through all of these articles.
All articles are very helpful to solve errors, and the way u explained step by step so its easy ….You’re genuinely a phenomenal teacher.
Thanks for the feedback Dhanashree !!