PHP Fatal Error



A fatal error has occured during the attempt to resize the "http://themes.freshface.net/ark/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(17718) "Uncaught TypeError: fread(): Argument #1 ($stream) must be of type resource, false given in /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/extern/freshizer/freshizer.php:65
Stack trace:
#0 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/extern/freshizer/freshizer.php(65): fread(false, 237664)
#1 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/extern/freshizer/freshizer.php(637): blFile->readAll()
#2 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/extern/freshizer/freshizer.php(488): blImgCache->_loadCacheFile()
#3 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/extern/freshizer/freshizer.php(2193): blImgCache->__construct(Object(blFileSystem), '/home/ekocentar...')
#4 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/extern/freshizer/freshizer_facade.php(18): fImg->__construct()
#5 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/extern/freshizer/freshizer.php(2201): fImg_facade->__construct()
#6 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/extern/freshizer/freshizer.php(2233): fImg::getInstance()
#7 /home/ekocentar97/public_html/wp-content/plugins/ark-core/builder/blocks/class.ffBlImage.php(289): fImg::resize('http://themes.f...', 400, 267, true, false, false, 90)
#8 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderBlock.php(232): ffBlImage->_render(Object(ffOptionsQueryDynamic))
#9 /home/ekocentar97/public_html/wp-content/plugins/ark-core/builder/elements/BasicElements/Image/class.ffElImage.php(56): ffThemeBuilderBlock->render(Object(ffOptionsQueryDynamic))
#10 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(473): ffElImage->_render(Object(ffOptionsQueryDynamic), '', Array, 'ijj1dj1')
#11 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(422): ffThemeBuilderElement->_renderJustTheElement(Array, '', 'ijj1dj1', Object(ffOptionsQueryDynamic))
#12 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(549): ffThemeBuilderElement->_renderElementWithCaching(Array, '', 'ijj1dj1', Object(ffOptionsQueryDynamic), 'c2914fc492b51ef...')
#13 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(365): ffThemeBuilderElement->render(Array, '', 'ijj1dj1', Array, 'c2914fc492b51ef...')
#14 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(246): ffThemeBuilderShortcodesWalker->_printShortcode(Array, '', 'ffb_image_5', '[ffb_image_5 un...')
#15 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(224): ffThemeBuilderShortcodesWalker->shortcodesCallback(Array, '', 'ffb_image_5', '[ffb_image_5 un...')
#16 [internal function]: ffThemeBuilderShortcodesWalker->_ourShortcodeCalback(Array)
#17 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(166): preg_replace_callback('/\\[(\\[?)(ffb_bu...', Array, '[ffb_buttons_5 ...')
#18 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(698): ffThemeBuilderShortcodesWalker->doShortcode('[ffb_buttons_5 ...')
#19 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/elements/class.ffElWrapper.php(49): ffThemeBuilderElement->_doShortcode('[ffb_buttons_5 ...')
#20 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(473): ffElWrapper->_render(Object(ffOptionsQueryDynamic), '[ffb_buttons_5 ...', Array, 'ijmgq1g')
#21 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(422): ffThemeBuilderElement->_renderJustTheElement(Array, '[ffb_buttons_5 ...', 'ijmgq1g', Object(ffOptionsQueryDynamic))
#22 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(549): ffThemeBuilderElement->_renderElementWithCaching(Array, '[ffb_buttons_5 ...', 'ijmgq1g', Object(ffOptionsQueryDynamic), '12e3ed2e8b89e51...')
#23 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(365): ffThemeBuilderElement->render(Array, '[ffb_buttons_5 ...', 'ijmgq1g', NULL, '12e3ed2e8b89e51...')
#24 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(246): ffThemeBuilderShortcodesWalker->_printShortcode(Array, '[ffb_buttons_5 ...', 'ffb_wrapper_4', '[ffb_wrapper_4 ...')
#25 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(224): ffThemeBuilderShortcodesWalker->shortcodesCallback(Array, '[ffb_buttons_5 ...', 'ffb_wrapper_4', '[ffb_wrapper_4 ...')
#26 [internal function]: ffThemeBuilderShortcodesWalker->_ourShortcodeCalback(Array)
#27 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(166): preg_replace_callback('/\\[(\\[?)(ffb_he...', Array, '[ffb_heading_4 ...')
#28 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(698): ffThemeBuilderShortcodesWalker->doShortcode('[ffb_heading_4 ...')
#29 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/elements/class.ffElWrapper.php(49): ffThemeBuilderElement->_doShortcode('[ffb_heading_4 ...')
#30 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(473): ffElWrapper->_render(Object(ffOptionsQueryDynamic), '[ffb_heading_4 ...', Array, 'ijpfand')
#31 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(422): ffThemeBuilderElement->_renderJustTheElement(Array, '[ffb_heading_4 ...', 'ijpfand', Object(ffOptionsQueryDynamic))
#32 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(549): ffThemeBuilderElement->_renderElementWithCaching(Array, '[ffb_heading_4 ...', 'ijpfand', Object(ffOptionsQueryDynamic), '7ec9a40fa742ef0...')
#33 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(365): ffThemeBuilderElement->render(Array, '[ffb_heading_4 ...', 'ijpfand', NULL, '7ec9a40fa742ef0...')
#34 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(246): ffThemeBuilderShortcodesWalker->_printShortcode(Array, '[ffb_heading_4 ...', 'ffb_wrapper_3', '[ffb_wrapper_3 ...')
#35 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(224): ffThemeBuilderShortcodesWalker->shortcodesCallback(Array, '[ffb_heading_4 ...', 'ffb_wrapper_3', '[ffb_wrapper_3 ...')
#36 [internal function]: ffThemeBuilderShortcodesWalker->_ourShortcodeCalback(Array)
#37 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(166): preg_replace_callback('/\\[(\\[?)(ffb_wr...', Array, '[ffb_wrapper_3 ...')
#38 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(698): ffThemeBuilderShortcodesWalker->doShortcode('[ffb_wrapper_3 ...')
#39 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/elements/class.ffElWrapper.php(49): ffThemeBuilderElement->_doShortcode('[ffb_wrapper_3 ...')
#40 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(473): ffElWrapper->_render(Object(ffOptionsQueryDynamic), '[ffb_wrapper_3 ...', Array, 'ijiv6gc')
#41 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(422): ffThemeBuilderElement->_renderJustTheElement(Array, '[ffb_wrapper_3 ...', 'ijiv6gc', Object(ffOptionsQueryDynamic))
#42 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(549): ffThemeBuilderElement->_renderElementWithCaching(Array, '[ffb_wrapper_3 ...', 'ijiv6gc', Object(ffOptionsQueryDynamic), '4232171ebe38f75...')
#43 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(365): ffThemeBuilderElement->render(Array, '[ffb_wrapper_3 ...', 'ijiv6gc', NULL, '4232171ebe38f75...')
#44 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(246): ffThemeBuilderShortcodesWalker->_printShortcode(Array, '[ffb_wrapper_3 ...', 'ffb_wrapper_2', '[ffb_wrapper_2 ...')
#45 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(224): ffThemeBuilderShortcodesWalker->shortcodesCallback(Array, '[ffb_wrapper_3 ...', 'ffb_wrapper_2', '[ffb_wrapper_2 ...')
#46 [internal function]: ffThemeBuilderShortcodesWalker->_ourShortcodeCalback(Array)
#47 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(166): preg_replace_callback('/\\[(\\[?)(ffb_wr...', Array, '[ffb_wrapper_2 ...')
#48 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(698): ffThemeBuilderShortcodesWalker->doShortcode('[ffb_wrapper_2 ...')
#49 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/elements/class.ffElColumn.php(498): ffThemeBuilderElement->_doShortcode('[ffb_wrapper_2 ...')
#50 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(473): ffElColumn->_render(Object(ffOptionsQueryDynamic), '[ffb_wrapper_2 ...', Array, 'ijirkdk')
#51 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(422): ffThemeBuilderElement->_renderJustTheElement(Array, '[ffb_wrapper_2 ...', 'ijirkdk', Object(ffOptionsQueryDynamic))
#52 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(549): ffThemeBuilderElement->_renderElementWithCaching(Array, '[ffb_wrapper_2 ...', 'ijirkdk', Object(ffOptionsQueryDynamic), '2a28006fc583ee7...')
#53 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(365): ffThemeBuilderElement->render(Array, '[ffb_wrapper_2 ...', 'ijirkdk', NULL, '2a28006fc583ee7...')
#54 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(246): ffThemeBuilderShortcodesWalker->_printShortcode(Array, '[ffb_wrapper_2 ...', 'ffb_column_1', '[ffb_column_1 u...')
#55 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(224): ffThemeBuilderShortcodesWalker->shortcodesCallback(Array, '[ffb_wrapper_2 ...', 'ffb_column_1', '[ffb_column_1 u...')
#56 [internal function]: ffThemeBuilderShortcodesWalker->_ourShortcodeCalback(Array)
#57 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(166): preg_replace_callback('/\\[(\\[?)(ffb_co...', Array, '[ffb_column_1 u...')
#58 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(698): ffThemeBuilderShortcodesWalker->doShortcode('[ffb_column_1 u...')
#59 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/elements/class.ffElSection.php(346): ffThemeBuilderElement->_doShortcode('[ffb_column_1 u...')
#60 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(473): ffElSection->_render(Object(ffOptionsQueryDynamic), '[ffb_column_1 u...', Array, 'ijirjfv')
#61 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(422): ffThemeBuilderElement->_renderJustTheElement(Array, '[ffb_column_1 u...', 'ijirjfv', Object(ffOptionsQueryDynamic))
#62 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(549): ffThemeBuilderElement->_renderElementWithCaching(Array, '[ffb_column_1 u...', 'ijirjfv', Object(ffOptionsQueryDynamic), 'abd06eabbbca75d...')
#63 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(365): ffThemeBuilderElement->render(Array, '[ffb_column_1 u...', 'ijirjfv', NULL, 'abd06eabbbca75d...')
#64 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(246): ffThemeBuilderShortcodesWalker->_printShortcode(Array, '[ffb_column_1 u...', 'ffb_section_0', '[ffb_section_0 ...')
#65 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(224): ffThemeBuilderShortcodesWalker->shortcodesCallback(Array, '[ffb_column_1 u...', 'ffb_section_0', '[ffb_section_0 ...')
#66 [internal function]: ffThemeBuilderShortcodesWalker->_ourShortcodeCalback(Array)
#67 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(166): preg_replace_callback('/\\[(\\[?)(ffb_se...', Array, '[ffb_section_0 ...')
#68 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(698): ffThemeBuilderShortcodesWalker->doShortcode('[ffb_section_0 ...')
#69 /home/ekocentar97/public_html/wp-content/plugins/ark-core/builder/elements/Loop/PostContent/class.ffElPostContent.php(75): ffThemeBuilderElement->_doShortcode('[ffb_section_0 ...')
#70 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(473): ffElPostContent->_render(Object(ffOptionsQueryDynamic), '', Array, 'p9khjgv')
#71 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(422): ffThemeBuilderElement->_renderJustTheElement(Array, '', 'p9khjgv', Object(ffOptionsQueryDynamic))
#72 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(549): ffThemeBuilderElement->_renderElementWithCaching(Array, '', 'p9khjgv', Object(ffOptionsQueryDynamic), NULL)
#73 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(365): ffThemeBuilderElement->render(Array, '', 'p9khjgv', Array, NULL)
#74 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(246): ffThemeBuilderShortcodesWalker->_printShortcode(Array, '', 'ffb_post-conten...', '[ffb_post-conte...')
#75 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(224): ffThemeBuilderShortcodesWalker->shortcodesCallback(Array, '', 'ffb_post-conten...', '[ffb_post-conte...')
#76 [internal function]: ffThemeBuilderShortcodesWalker->_ourShortcodeCalback(Array)
#77 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(166): preg_replace_callback('/\\[(\\[?)(ffb_po...', Array, '[ffb_post-conte...')
#78 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(82): ffThemeBuilderShortcodesWalker->doShortcode('[ffb_post-conte...')
#79 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(75): ffThemeBuilderShortcodesWalker->get('[ffb_post-conte...')
#80 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderManager.php(288): ffThemeBuilderShortcodesWalker->render('[ffb_post-conte...')
#81 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/sitePreferences/class.ffSitePreferencesManager.php(124): ffThemeBuilderManager->render('[ffb_post-conte...')
#82 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/sitePreferences/actTemplateInclude.php(5): ffSitePreferencesManager->actTemplateRedirect()
#83 /home/ekocentar97/public_html/wp-includes/template-loader.php(106): include('/home/ekocentar...')
#84 /home/ekocentar97/public_html/wp-blog-header.php(19): require_once('/home/ekocentar...')
#85 /home/ekocentar97/public_html/index.php(17): require('/home/ekocentar...')
#86 {main}
  thrown"
  ["file"]=>
  string(105) "/home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/extern/freshizer/freshizer.php"
  ["line"]=>
  int(65)
}