pimcore-data-definitions icon indicating copy to clipboard operation
pimcore-data-definitions copied to clipboard

Argument #1 ($id) must be of type string, int given

Open paulverdu opened this issue 6 months ago • 10 comments

Q A
Bug report? yes
Feature request? no
BC Break report? no
RFC? yes
Branch? 5.1

I keep getting the following error. Even when updating to the newest 5.1 tag.

 Instride\Bundle\DataDefinitionsBundle\Model\ImportDefinition\Dao::getById(): Argument #1 ($id) must be of type string, int given, called in /Users/paulverdu/Dev  
  elopment/emico/vivara/vendor/instride/data-definitions/src/DataDefinitionsBundle/Model/ImportDefinition/Dao.php on line 101 

I don't understand why the method getById still required a string for $id value when $id is clearly an integer. Am I missing something here or is it just really broken right now?

paulverdu avatar Aug 04 '24 07:08 paulverdu