[FIX] categlib.php: fix null parameter '' and handle undefined array keys...
- [FIX] categlib.php: fix null parameter '' and handle undefined array keys 'catObjectId' and 'categId'
See merge request !4701 (merged)
(cherry picked from commit fbec863d)