Magento 2 Issue Resolved

 1 Issue : Deprecated Functionality: pathinfo(): Passing null to parameter #1 ($path) of type string is deprecated in /home/vdc/projects/php81/jaymin/vendor/magento/framework/View/Asset/PreProcessor/FileNameResolver.php on line 42


solved :  $extension = pathinfo($fileName  ?? "", PATHINFO_EXTENSION);

solved :  $extension = pathinfo((string)$fileName  ?? "", PATHINFO_EXTENSION);



2 issue : You have been seeing this error lately. It says “unable to load theme by specified key“.


solved :  Open a Terminal Emulator such as PuTTY. Log in to your SQL account.

Then input:

delete from core_config_data where path = 'design/theme/theme_id' and value = '<your key>';

Note: <your key> here is the key in the error log. With the example above, <your key> is 4.


link : https://www.thecoachsmb.com/solved-unable-to-load-theme-by-specified-key-error-in-magento-2/

ટિપ્પણીઓ

આ બ્લૉગ પરની લોકપ્રિય પોસ્ટ્સ

How to Remove Default Block in Magento 2

How to Call Static Block in Cms Page Magento 2