[PrestaShopException]

Category not found
at line 1182 in file classes/Tools.php

1177.                 ->getTranslator()
1178.                 ->trans('Fatal error', [], 'Admin.Notifications.Error');
1179.         }
1180. 
1181.         if (_PS_MODE_DEV_) {
1182.             throw new PrestaShopException($errorMessage);
1183.         }
1184. 
1185.         return $errorMessage;
1186.     }
1187.