Hey, I'm currently facing some issues with the getBy methods of my classes.
public function someFunc($status){
$error = DataObject\ErrorMsg:getByCode($status, ['limit' => 1]);
// this does not return a ErrorMsg Object instead it returns a car Object
}
Has someone faced some similar issues?
I'm really struggeling to track down the error
Hi Guys,
does anyone know if it is possible to add general fields to all pimcore class layout or data components in an update safe way? How would I do it? Possibly via dependency injection? For example I want to add a "description" general field. Like shown in the picture