Error after upgrade from 8.0.3 to 8.1.0
Permalink 1 user found helpful
Hello,
after upgrading my site from 8.0.3, where everything works fine, to 8.1.0 i got the following error on every page, including dashboard:
after upgrading my site from 8.0.3, where everything works fine, to 8.1.0 i got the following error on every page, including dashboard:
Call to a member function getSize() on boolean
Hi MrKDilkington,
here is the error message:
thanks for helping
Oliver
here is the error message:
$filesystem = $this->getFile() ->getFileStorageLocationObject() ->getFileSystemObject(); $height = $type->getHeight(); if ($height) { $size = new Box($type->getWidth(), $height); $thumbnailMode = ImageInterface::THUMBNAIL_OUTBOUND; } else { $size = $image->getSize()->widen($type->getWidth()); $thumbnailMode = ImageInterface::THUMBNAIL_INSET; } $thumbnail = $image->thumbnail($size, $thumbnailMode); $thumbnailPath = $type->getFilePath($this); $thumbnailOptions = []; switch ($mimetype) {
Viewing 15 lines of 18 lines. View entire code block.
thanks for helping
Oliver
@shaolinsteyr1
Are you using any Image/File Attributes or custom blocks that use files?
Are you using any Image/File Attributes or custom blocks that use files?
i'm using preview image for my news blog.
or do you mean the attributes at dashboard->files->attributes. i had one addon which uses here attributes and another three atributes. i deinstalled the addon and deleted the other attributes, but same error
@shaolinsteyr1
Do you happen to be using any SVG images?
Do you happen to be using any SVG images?
Yes, after deleting the svg it's working. Is this a bug?
@shaolinsteyr1
It does appear to be a bug.
A fix was submitted. If it is approved and accepted, you can make a site backup and apply the change to your site.
https://github.com/concrete5/concrete5/pull/5069...
It does appear to be a bug.
A fix was submitted. If it is approved and accepted, you can make a site backup and apply the change to your site.
https://github.com/concrete5/concrete5/pull/5069...
I confirm everything !
My theme Anitya use a lot of SVG !
My theme Anitya use a lot of SVG !
I would temporarily enable full debug error output to get a more detailed error message. Take a screenshot of the error page and copy the error message text and reply with that information.
Dashboard > System & Settings > Environment > Debug Settings > Error Detail > Show the debug error output