Image attributes return null except height

I recently discovered a new bug in my existing website.

When trying to access the width and height (or other attributes) of an image I used to do so like this:


This has always worked for me, but recently all the properties (except ‘height’) are returning NULL.

When I am in the File manager I can still see that all the attributes are still accessible as you can see below.

But when trying to access the attributes in my code like so:


I can see the Image, and this is what’s being dumped:

string(4) "3486" NULL NULL

Does anyone have any idea what can cause this issue?

That does seem strange - can you post your environment info so we can get a sense of what your environment and version of Concrete is? Thanks.