Fatal error: Uncaught TypeError: Argument 1 passed to Magento\Catalog\Model\ProductRepository::getProductFromLocalCache() must be of the type string, null given, called in /vendor/magento/module-catalog/Model/ProductRepository.php on line 270 and defined in vendor/magento/module-catalog/Model/ProductRepository.php:751

Possible reason is that there's a NULL sku in catalog_product_entity. To find out, query the catalog_product_entity table for a NULL sku. Something like: SELECT * FROM catalog_product_entity WHERE sku IS NULL; If there is, then just set the SKU and you're good!

How to fix Cignal Top Box error - Please perform a smart card reset by removing your smart card for 15 seconds then reinsert the card. (1/2)

Turn off the top box. Remove the Smart card from the top box. Clean the chip part (usual color of the chip is gold) with an eraser or a soft cloth Blow the Smart card slot to remove excess dirt Replace the Smart card to the slot Wait for 15-20 seconds and restart the top box. Did it help? If so, can you return the favor? Kindly just click any of the ads on this page.

Magento: Google Checkout Warning: include(Mage/Googlecheckout/Block/Adminhtml/Shipping/Merchant.php): failed to open stream: No such file or directory in app/code/local/Varien/Autoload.php on line 98

Whenever you see this error: Warning: include(Mage/Googlecheckout/Block/Adminhtml/Shipping/Merchant.php): failed to open stream: No such file or directory  in app/code/local/Varien/Autoload.php on line 98 It only means that in app/code/core/Mage/GoogleCheckout/etc/config.xml, the block was not declared. So you just have to add this inside the global node:         <blocks>             <googlecheckout>                 <class>Mage_GoogleCheckout_Block</class>             </googlecheckout>         </blocks> Did that solve the issue? Please leave your comment. Thanks! P.S. If you want the other way of solving this issue (which is the more appropriate one), just let me know.

Magento 1.9: How to re-arrange Wishlist page headings

On wishlist.xml wishlist_index_index, just re-arrange the children under customer.wishlist.items from top to bottom which will result to left to right arrangement on the Wishlist page Also, a bonus. You can also set the heading title there.

Ubuntu 14.04: How to install Compass and Ruby

Simple. sudo apt-get install ruby-compass Done.

Ubuntu 14.04: Can't install phing

It's really such a headache when I migrated to Ubuntu 14.04. Lots of headaches! But anyway, here we go: First you need to install pear first by doing the following command on Terminal: sudo apt-get install php-pear Then add pear channel: sudo pear channel-discover Install Phing: sudo pear install -Z phing/phing The -Z option will download .tar file instead of the damn .tgz (which always throws this error):  could not extract the package.xml file from "/build/buildd/php5-5.5.9+dfsg/pear-build-download/phing-2.9.1.tgz" Download of "phing/phing" succeeded, but it is not a valid package archive Error: cannot download "phing/phing" Download failed install failed Hopefully it works on your end. Please comment below if it worked.

Magento: Upgrade from 1.6 to 1.9 PDOException' with message 'SQLSTATE[42S22]: Column not found: 1054 Unknown column 'e.0' in 'on clause'' in lib/Zend/Db/Statement/Pdo.php:228

I've just upgraded our e-commerce website which uses Magento version 1.5. I upgraded it to the latest Really lots and lots of bug fixes to be done and of them is what's the title of this post. Anyways, you can fix it by going to Mage_Reports_Model_Resource_Product_Collection::setProductEntityId and remove the (int) because it's trying to convert the string into integer. This is not the best fix but I'm in a hurry so if you found something that is more appropriate then please leave a comment and don't just runaway. Cheers     public function setProductEntityId($entityId)     {         $this->_productEntityId = (int)$entityId;         return $this;     }