Clone method called on non-object: requesting asset with ID 0 on Page Load


#1

Hello Guys,

https://*****.com/admin/asset/get-data-by-id?_dc=1536734097502&id=0&type=image
is being sent for response automatically when Pimcore admin panel is loaded.
Due to which vendor/pimcore/pimcore/bundles/AdminBundle/Controller/Admin/AssetController.php:70 throws error while trying to clone an asset with ID 0 which indeed gives error:

Server threw exception - could not perform action. Please reload the admin interface and try again.
Timestamp: Wed Sep 12 2018 12:10:16 GMT+0530 (India Standard Time)
Status: 500 | Internal Server Error
URL: /admin/asset/get-data-by-id
Message: __clone method called on non-object

Could anyone help me to resolve the issue?

Regards,
Akansh!