Replace deprecated Prestashop and PHP functions
Fix a bug when moving featured categories, products were not updated