Fatal error: Uncaught Error: imagecopyresized(): Argument #10 ($src_height) must be greater than 0
in /var/www/vhosts/editorialtristram.es/httpdocs/wp-content/themes/plosa/functions/php/working_with_files.php on line 299

Call stack:

  1. imagecopyresized()
    wp-content/themes/plosa/functions/php/working_with_files.php:299
  2. generate_thumbnail()
    wp-content/themes/plosa/frontend/frontend_functions.php:1279
  3. post_thumbnail_src()
    wp-content/themes/plosa/functions/wp/facebook_imgs.php:70
  4. insert_fb_in_head()
    wp-includes/class-wp-hook.php:324
  5. WP_Hook::apply_filters()
    wp-includes/class-wp-hook.php:348
  6. WP_Hook::do_action()
    wp-includes/plugin.php:517
  7. do_action()
    wp-includes/general-template.php:3052
  8. wp_head()
    wp-content/themes/plosa/templates/header_2.php:166
  9. include()
    wp-content/themes/plosa/header.php:27
  10. require_once()
    wp-includes/template.php:790
  11. load_template()
    wp-includes/template.php:725
  12. locate_template()
    wp-includes/general-template.php:48
  13. get_header()
    wp-content/themes/plosa/templates/template_default_2.php:7
  14. include()
    wp-content/themes/plosa/index.php:63
  15. include()
    wp-includes/template-loader.php:106
  16. require_once()
    wp-blog-header.php:19
  17. require()
    index.php:17

Query Monitor


Fatal error: Uncaught ValueError: imagecopyresized(): Argument #10 ($src_height) must be greater than 0 in /var/www/vhosts/editorialtristram.es/httpdocs/wp-content/themes/plosa/functions/php/working_with_files.php:299 Stack trace: #0 /var/www/vhosts/editorialtristram.es/httpdocs/wp-content/themes/plosa/functions/php/working_with_files.php(299): imagecopyresized() #1 /var/www/vhosts/editorialtristram.es/httpdocs/wp-content/themes/plosa/frontend/frontend_functions.php(1279): generate_thumbnail() #2 /var/www/vhosts/editorialtristram.es/httpdocs/wp-content/themes/plosa/functions/wp/facebook_imgs.php(70): post_thumbnail_src() #3 /var/www/vhosts/editorialtristram.es/httpdocs/wp-includes/class-wp-hook.php(324): insert_fb_in_head() #4 /var/www/vhosts/editorialtristram.es/httpdocs/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #5 /var/www/vhosts/editorialtristram.es/httpdocs/wp-includes/plugin.php(517): WP_Hook->do_action() #6 /var/www/vhosts/editorialtristram.es/httpdocs/wp-includes/general-template.php(3052): do_action() #7 /var/www/vhosts/editorialtristram.es/httpdocs/wp-content/themes/plosa/templates/header_2.php(166): wp_head() #8 /var/www/vhosts/editorialtristram.es/httpdocs/wp-content/themes/plosa/header.php(27): include('...') #9 /var/www/vhosts/editorialtristram.es/httpdocs/wp-includes/template.php(790): require_once('...') #10 /var/www/vhosts/editorialtristram.es/httpdocs/wp-includes/template.php(725): load_template() #11 /var/www/vhosts/editorialtristram.es/httpdocs/wp-includes/general-template.php(48): locate_template() #12 /var/www/vhosts/editorialtristram.es/httpdocs/wp-content/themes/plosa/templates/template_default_2.php(7): get_header() #13 /var/www/vhosts/editorialtristram.es/httpdocs/wp-content/themes/plosa/index.php(63): include('...') #14 /var/www/vhosts/editorialtristram.es/httpdocs/wp-includes/template-loader.php(106): include('...') #15 /var/www/vhosts/editorialtristram.es/httpdocs/wp-blog-header.php(19): require_once('...') #16 /var/www/vhosts/editorialtristram.es/httpdocs/index.php(17): require('...') #17 {main} thrown in /var/www/vhosts/editorialtristram.es/httpdocs/wp-content/themes/plosa/functions/php/working_with_files.php on line 299