Support » Theme: Graphene » Warning image size

  • Error : PHP Warning: getimagesize(/xxx/yyy/blog/files/2022/03/vlcsnap-2021-10-12-15h10m39s325-1024×250.png): failed to open stream: No such file or directory in /applis/www/devblog/wp-content/themes/graphene/inc/functions.php on line 519

    In function : graphene_get_image_size( $file ).
    With multisite wordpress with image loading for theme and without crop (because the function is not call if crop), the absolute value of $file need /wp-content/blogs.dir/[number_of_blog]/ between ABSPATH and image path but only with image load, not with image in the theme.
    In error : /xxx/yyy/blog/ is the ABSPATH and files/2022/03/vlcsnap-2021-10-12-15h10m39s325-1024×250.png is the image path, original $file is :×250.png and site_url() :
    With an image in graphene theme dir, it’s work.

    Graphene ver 2.9 (2022-3-19)

Viewing 1 replies (of 1 total)
  • Theme Author silverks


    Thank you for reporting this issue. We’ve developed a fix and will include it in the next theme update.

Viewing 1 replies (of 1 total)
  • The topic ‘Warning image size’ is closed to new replies.