Please run this command
sudo php bin/magento setup:static-content:deploy -f
Or if you migrated recently, that's mean you didn't install the theme properly, as in Codazon instruction you can install it through command line, so you will not get any error template related!
Thanks, this will help you out.
Best way to assign a category to product collection.
Reference from core code - app\code\core\Mage\Catalog\Model\Resource\Category.php
$write = Mage::getSingleton('core/resource')->getConnection('core_write');
$categoryProductTable = Mage::getSingleton('core/resource')->getTableName('catalog/category_product');
$productData = array();$position=0;
The first, make sure all configuration is correct.
If configs are correct, so the cause is Magaplaza SMTP.
Sometimes, The Magaplaza SMTP extension will not send emails.
I have also encountered that error.