Magento Setup upgrade error for smile elasticsuite database table not found error.

When you try to install the Magento smile elasticsuite extension to your system and on setup:upgrade command run time if you facing an error like Base Table or View not found error,

      • Base table or view not found: 1146 Table ‘magento.smile_elasticsuitecatalog_search_query_product_position’ doesn’t exist
      • BEGIN INSERT IGNORE INTO ‘catalogsearch_fulltext_cl’ (‘entity_id’) VALUES (NEW.’product_id’); END

Continue reading “Magento Setup upgrade error for smile elasticsuite database table not found error.”

How to fix Magento custom patch throws an error while patch applied?

Magento applies a custom patch with a command line, composer -v install throws an error,

[TypeError]                                                                                                                 
  Composer\Util\RemoteFilesystem::copy(): Argument #1 ($originUrl) must be of type string, null given, called in /var/www/ht  
  ml/vendor/cweagans/composer-patches/src/Patches.php on line 388    
  
          "Patch Call to a member function getCustomer() on null fix": "patches/vendor/rbj/module-customer-feature/Model/Rule/Condition/Customer.patch" IN the class name typo issue.

Here you can’t able to apply the patch and throw an error as mentioned above. Continue reading “How to fix Magento custom patch throws an error while patch applied?”

Magento 2 Exception Invalid method Magento\Eav\Model\Entity\Attribute::canBeFilterableInGrid.

I recently worked on a Magento project and faced an exception on Magento backend Customer Dashboard while accessing the customer grid on the admin panel.

Exception #0 (Magento\Framework\Exception\LocalizedException): Invalid method Magento\Eav\Model\Entity\Attribute::canBeFilterableInGrid

Continue reading “Magento 2 Exception Invalid method Magento\Eav\Model\Entity\Attribute::canBeFilterableInGrid.”