Getting homepage ok but get this error when clicking on a link , any ideas what might be wrong , if I switch PHP to less than 7 I get just a white screen and no error showing . I have site in dev mode for errors
PHP Fatal Error
Message
Uncaught Error: Call to a member function open() on null in /home/ledtest/public_html/app/functions/fn.images.php:646 Stack trace: #0 /home/ledtest/public_html/app/functions/fn.images.php(900): fn_resize_image('/home/ledtest/p...', 120, 166, '#ffffff') #1 /home/ledtest/public_html/app/functions/fn.images.php(982): fn_generate_thumbnail('detailed/0/ipad...', 120, 166, false) #2 /home/ledtest/public_html/var/cache/templates/vivashop/39138b5314881d4c2f4617cf7b41f5d0af5b01f3.tygh.image.tpl.php(170): fn_image_to_display(Array, 120, 166) #3 /home/ledtest/public_html/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(188): content_581d929668c912_92684272(Object(Smarty_Internal_Template)) #4 /home/ledtest/public_html/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(304): Smarty_Internal_TemplateBase->fetch(Object(Smarty_Internal_Template), NULL, NULL, NULL, false, false, true) #5 /home/ledtest/public_html/var/cache/templates/vivashop/1b399987cfc778d2dde86e81108ac3b8
Error at
app/functions/fn.images.php, line: 646