• Closed
  • Longyi Tang
    Spectator
    April 9, 2015 at 8:02 am #16238

    Warning: getimagesize(): Filename cannot be empty in /home/content/p3pnexwpnas02_data02/88/2542088/html/wp-content/themes/alora/framework/headers/header-v1.php on line 7

    What the hack is this? I cant get rid of this

    Roman
    Spectator
    Posts: 3147
    April 9, 2015 at 9:46 am #16242

    this error message appears because the function getimagesize() is disabled on your server. I updated the theme’s package so it’s fixed now. If you don’t want to reupload the theme’s package, you can modify the file yourself, alora/framework/headers/header-v1.php, replace:

    <?php $image_size = getimagesize( $smof_data['logo'] ); ?>
    <img src="<?php echo $smof_data['logo']; ?>" alt="<?php bloginfo('name'); ?>" class="normal_logo" data-width="<?php echo $image_size[0]; ?>" data-height="<?php echo $image_size[1]; ?>" />

    with

    <img src="<?php echo $smof_data['logo']; ?>" alt="<?php bloginfo('name'); ?>" class="normal_logo" />

    Longyi Tang
    Spectator
    Posts: 3
    April 9, 2015 at 6:30 pm #16248

    I cant find the update. I try to replace it code, however I cant find header-v1.php

    Roman
    Spectator
    Posts: 3147
    April 9, 2015 at 6:34 pm #16250

    in your account https://theme4press.com/my-account/ , for the theme modification you need a FTP program or file manager in order to edit it