PHP Fatal Error



A fatal error has occured during the attempt to resize the "http://smarttechtank.com/wp-content/uploads/2016/08/02-5.jpg" image.

Possible causes and their solutions (in the order of occurence) are:

  1. Your webserver has low PHP memory limit.
    Locate "php.ini" file on your webserver and change "memory_limit" variable to at least "128MB" or ideally "256MB". If you do not know how this works, ask your hosting company to do this for you.

  2. Your webserver does not have the "GD" PHP extension installed or is using a wrong version that is incompatible with the version of PHP that your webserver is running. It is a necessary PHP extension that allows image resizing.
    Ask your hosting company to install the "GD" PHP extension on your webserver.

  3. The image that you have uploaded and tried to resize is too large. This can be stressful on your webserver.
    Reupload the image with smaller dimensions and size. We don't recommend uploading images larger than 2000x2000px and with size no more than 2MB.

  4. You are resizing the image to a very large resolution like 2000x2000px and larger. This can be stressful on your webserver.
    Do not resize images to resolutions larger than 2000x2000px.

  5. The /wp-content/uploads/freshizer/ directory does not exist on your webserver.
    Using your favorite FTP program, manually create this directory and set it's permissions to 0644.

  6. Your webserver has (almost) no disk space left.
    Double-check if there is enough free space left on your webserver disk.



Error details:

array(4) {
  ["type"]=>
  int(1)
  ["message"]=>
  string(13621) "Uncaught DivisionByZeroError: Division by zero in /home/runcloud/webapps/wp_stt/wp-content/plugins/fresh-framework/framework/extern/freshizer/freshizer.php:1920
Stack trace:
#0 /home/runcloud/webapps/wp_stt/wp-content/plugins/fresh-framework/framework/extern/freshizer/freshizer.php(1781): fImgResizerCalculator->calculateNewDimensions()
#1 /home/runcloud/webapps/wp_stt/wp-content/plugins/fresh-framework/framework/extern/freshizer/freshizer.php(2317): fImgResizer->resize()
#2 /home/runcloud/webapps/wp_stt/wp-content/plugins/fresh-framework/framework/extern/freshizer/freshizer_facade.php(42): fImg->_resize()
#3 /home/runcloud/webapps/wp_stt/wp-content/plugins/fresh-framework/framework/extern/freshizer/freshizer.php(2242): fImg_facade->_resize()
#4 /home/runcloud/webapps/wp_stt/wp-content/plugins/ark-core/builder/blocks/class.ffBlImage.php(289): fImg::resize()
#5 /home/runcloud/webapps/wp_stt/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderBlock.php(232): ffBlImage->_render()
#6 /home/runcloud/webapps/wp_stt/wp-content/plugins/ark-core/builder/elements/BasicElements/Image/class.ffElImage.php(56): ffThemeBuilderBlock->render()
#7 /home/runcloud/webapps/wp_stt/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(473): ffElImage->_render()
#8 /home/runcloud/webapps/wp_stt/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(422): ffThemeBuilderElement->_renderJustTheElement()
#9 /home/runcloud/webapps/wp_stt/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(549): ffThemeBuilderElement->_renderElementWithCaching()
#10 /home/runcloud/webapps/wp_stt/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(365): ffThemeBuilderElement->render()
#11 /home/runcloud/webapps/wp_stt/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(246): ffThemeBuilderShortcodesWalker->_printShortcode()
#12 /home/runcloud/webapps/wp_stt/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(224): ffThemeBuilderShortcodesWalker->shortcodesCallback()
#13 [internal function]: ffThemeBuilderShortcodesWalker->_ourShortcodeCalback()
#14 /home/runcloud/webapps/wp_stt/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(166): preg_replace_callback()
#15 /home/runcloud/webapps/wp_stt/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(698): ffThemeBuilderShortcodesWalker->doShortcode()
#16 /home/runcloud/webapps/wp_stt/wp-content/plugins/fresh-framework/framework/themes/builder/elements/class.ffElWrapper.php(49): ffThemeBuilderElement->_doShortcode()
#17 /home/runcloud/webapps/wp_stt/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(473): ffElWrapper->_render()
#18 /home/runcloud/webapps/wp_stt/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(422): ffThemeBuilderElement->_renderJustTheElement()
#19 /home/runcloud/webapps/wp_stt/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(549): ffThemeBuilderElement->_renderElementWithCaching()
#20 /home/runcloud/webapps/wp_stt/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(365): ffThemeBuilderElement->render()
#21 /home/runcloud/webapps/wp_stt/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(246): ffThemeBuilderShortcodesWalker->_printShortcode()
#22 /home/runcloud/webapps/wp_stt/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(224): ffThemeBuilderShortcodesWalker->shortcodesCallback()
#23 [internal function]: ffThemeBuilderShortcodesWalker->_ourShortcodeCalback()
#24 /home/runcloud/webapps/wp_stt/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(166): preg_replace_callback()
#25 /home/runcloud/webapps/wp_stt/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(698): ffThemeBuilderShortcodesWalker->doShortcode()
#26 /home/runcloud/webapps/wp_stt/wp-content/plugins/fresh-framework/framework/themes/builder/elements/class.ffElWrapper.php(49): ffThemeBuilderElement->_doShortcode()
#27 /home/runcloud/webapps/wp_stt/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(473): ffElWrapper->_render()
#28 /home/runcloud/webapps/wp_stt/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(422): ffThemeBuilderElement->_renderJustTheElement()
#29 /home/runcloud/webapps/wp_stt/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(549): ffThemeBuilderElement->_renderElementWithCaching()
#30 /home/runcloud/webapps/wp_stt/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(365): ffThemeBuilderElement->render()
#31 /home/runcloud/webapps/wp_stt/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(246): ffThemeBuilderShortcodesWalker->_printShortcode()
#32 /home/runcloud/webapps/wp_stt/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(224): ffThemeBuilderShortcodesWalker->shortcodesCallback()
#33 [internal function]: ffThemeBuilderShortcodesWalker->_ourShortcodeCalback()
#34 /home/runcloud/webapps/wp_stt/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(166): preg_replace_callback()
#35 /home/runcloud/webapps/wp_stt/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(698): ffThemeBuilderShortcodesWalker->doShortcode()
#36 /home/runcloud/webapps/wp_stt/wp-content/plugins/fresh-framework/framework/themes/builder/elements/class.ffElWrapper.php(49): ffThemeBuilderElement->_doShortcode()
#37 /home/runcloud/webapps/wp_stt/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(473): ffElWrapper->_render()
#38 /home/runcloud/webapps/wp_stt/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(422): ffThemeBuilderElement->_renderJustTheElement()
#39 /home/runcloud/webapps/wp_stt/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(549): ffThemeBuilderElement->_renderElementWithCaching()
#40 /home/runcloud/webapps/wp_stt/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(365): ffThemeBuilderElement->render()
#41 /home/runcloud/webapps/wp_stt/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(246): ffThemeBuilderShortcodesWalker->_printShortcode()
#42 /home/runcloud/webapps/wp_stt/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(224): ffThemeBuilderShortcodesWalker->shortcodesCallback()
#43 [internal function]: ffThemeBuilderShortcodesWalker->_ourShortcodeCalback()
#44 /home/runcloud/webapps/wp_stt/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(166): preg_replace_callback()
#45 /home/runcloud/webapps/wp_stt/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(698): ffThemeBuilderShortcodesWalker->doShortcode()
#46 /home/runcloud/webapps/wp_stt/wp-content/plugins/fresh-framework/framework/themes/builder/elements/class.ffElColumn.php(498): ffThemeBuilderElement->_doShortcode()
#47 /home/runcloud/webapps/wp_stt/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(473): ffElColumn->_render()
#48 /home/runcloud/webapps/wp_stt/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(422): ffThemeBuilderElement->_renderJustTheElement()
#49 /home/runcloud/webapps/wp_stt/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(549): ffThemeBuilderElement->_renderElementWithCaching()
#50 /home/runcloud/webapps/wp_stt/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(365): ffThemeBuilderElement->render()
#51 /home/runcloud/webapps/wp_stt/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(246): ffThemeBuilderShortcodesWalker->_printShortcode()
#52 /home/runcloud/webapps/wp_stt/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(224): ffThemeBuilderShortcodesWalker->shortcodesCallback()
#53 [internal function]: ffThemeBuilderShortcodesWalker->_ourShortcodeCalback()
#54 /home/runcloud/webapps/wp_stt/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(166): preg_replace_callback()
#55 /home/runcloud/webapps/wp_stt/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(698): ffThemeBuilderShortcodesWalker->doShortcode()
#56 /home/runcloud/webapps/wp_stt/wp-content/plugins/fresh-framework/framework/themes/builder/elements/class.ffElSection.php(346): ffThemeBuilderElement->_doShortcode()
#57 /home/runcloud/webapps/wp_stt/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(473): ffElSection->_render()
#58 /home/runcloud/webapps/wp_stt/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(422): ffThemeBuilderElement->_renderJustTheElement()
#59 /home/runcloud/webapps/wp_stt/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(549): ffThemeBuilderElement->_renderElementWithCaching()
#60 /home/runcloud/webapps/wp_stt/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(365): ffThemeBuilderElement->render()
#61 /home/runcloud/webapps/wp_stt/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(246): ffThemeBuilderShortcodesWalker->_printShortcode()
#62 /home/runcloud/webapps/wp_stt/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(224): ffThemeBuilderShortcodesWalker->shortcodesCallback()
#63 [internal function]: ffThemeBuilderShortcodesWalker->_ourShortcodeCalback()
#64 /home/runcloud/webapps/wp_stt/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(166): preg_replace_callback()
#65 /home/runcloud/webapps/wp_stt/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(698): ffThemeBuilderShortcodesWalker->doShortcode()
#66 /home/runcloud/webapps/wp_stt/wp-content/plugins/ark-core/builder/elements/Loop/PostContent/class.ffElPostContent.php(75): ffThemeBuilderElement->_doShortcode()
#67 /home/runcloud/webapps/wp_stt/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(473): ffElPostContent->_render()
#68 /home/runcloud/webapps/wp_stt/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(422): ffThemeBuilderElement->_renderJustTheElement()
#69 /home/runcloud/webapps/wp_stt/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(549): ffThemeBuilderElement->_renderElementWithCaching()
#70 /home/runcloud/webapps/wp_stt/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(365): ffThemeBuilderElement->render()
#71 /home/runcloud/webapps/wp_stt/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(246): ffThemeBuilderShortcodesWalker->_printShortcode()
#72 /home/runcloud/webapps/wp_stt/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(224): ffThemeBuilderShortcodesWalker->shortcodesCallback()
#73 [internal function]: ffThemeBuilderShortcodesWalker->_ourShortcodeCalback()
#74 /home/runcloud/webapps/wp_stt/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(166): preg_replace_callback()
#75 /home/runcloud/webapps/wp_stt/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(82): ffThemeBuilderShortcodesWalker->doShortcode()
#76 /home/runcloud/webapps/wp_stt/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(75): ffThemeBuilderShortcodesWalker->get()
#77 /home/runcloud/webapps/wp_stt/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderManager.php(288): ffThemeBuilderShortcodesWalker->render()
#78 /home/runcloud/webapps/wp_stt/wp-content/plugins/fresh-framework/framework/themes/sitePreferences/class.ffSitePreferencesManager.php(124): ffThemeBuilderManager->render()
#79 /home/runcloud/webapps/wp_stt/wp-content/plugins/fresh-framework/framework/themes/sitePreferences/actTemplateInclude.php(5): ffSitePreferencesManager->actTemplateRedirect()
#80 /home/runcloud/webapps/wp_stt/wp-includes/template-loader.php(106): include('...')
#81 /home/runcloud/webapps/wp_stt/wp-blog-header.php(19): require_once('...')
#82 /home/runcloud/webapps/wp_stt/index.php(17): require('...')
#83 {main}
  thrown"
  ["file"]=>
  string(105) "/home/runcloud/webapps/wp_stt/wp-content/plugins/fresh-framework/framework/extern/freshizer/freshizer.php"
  ["line"]=>
  int(1920)
}