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(13340) "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...', 360, 240, 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, 'ihon453')
#11 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(422): ffThemeBuilderElement->_renderJustTheElement(Array, '', 'ihon453', Object(ffOptionsQueryDynamic))
#12 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(549): ffThemeBuilderElement->_renderElementWithCaching(Array, '', 'ihon453', Object(ffOptionsQueryDynamic), '4f30d721d382c39...')
#13 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(365): ffThemeBuilderElement->render(Array, '', 'ihon453', Array, '4f30d721d382c39...')
#14 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(246): ffThemeBuilderShortcodesWalker->_printShortcode(Array, '', 'ffb_image_3', '[ffb_image_3 un...')
#15 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(224): ffThemeBuilderShortcodesWalker->shortcodesCallback(Array, '', 'ffb_image_3', '[ffb_image_3 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_3 ...')
#18 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(698): ffThemeBuilderShortcodesWalker->doShortcode('[ffb_buttons_3 ...')
#19 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/elements/class.ffElWrapper.php(49): ffThemeBuilderElement->_doShortcode('[ffb_buttons_3 ...')
#20 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(473): ffElWrapper->_render(Object(ffOptionsQueryDynamic), '[ffb_buttons_3 ...', Array, 'ihojde1')
#21 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(422): ffThemeBuilderElement->_renderJustTheElement(Array, '[ffb_buttons_3 ...', 'ihojde1', Object(ffOptionsQueryDynamic))
#22 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(549): ffThemeBuilderElement->_renderElementWithCaching(Array, '[ffb_buttons_3 ...', 'ihojde1', Object(ffOptionsQueryDynamic), 'b6808106020806c...')
#23 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(365): ffThemeBuilderElement->render(Array, '[ffb_buttons_3 ...', 'ihojde1', NULL, 'b6808106020806c...')
#24 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(246): ffThemeBuilderShortcodesWalker->_printShortcode(Array, '[ffb_buttons_3 ...', 'ffb_wrapper_2', '[ffb_wrapper_2 ...')
#25 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(224): ffThemeBuilderShortcodesWalker->shortcodesCallback(Array, '[ffb_buttons_3 ...', 'ffb_wrapper_2', '[ffb_wrapper_2 ...')
#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_wr...', Array, '[ffb_wrapper_2 ...')
#28 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(698): ffThemeBuilderShortcodesWalker->doShortcode('[ffb_wrapper_2 ...')
#29 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/elements/class.ffElColumn.php(498): ffThemeBuilderElement->_doShortcode('[ffb_wrapper_2 ...')
#30 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(473): ffElColumn->_render(Object(ffOptionsQueryDynamic), '[ffb_wrapper_2 ...', Array, 'ihoi7e7')
#31 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(422): ffThemeBuilderElement->_renderJustTheElement(Array, '[ffb_wrapper_2 ...', 'ihoi7e7', Object(ffOptionsQueryDynamic))
#32 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(549): ffThemeBuilderElement->_renderElementWithCaching(Array, '[ffb_wrapper_2 ...', 'ihoi7e7', Object(ffOptionsQueryDynamic), '42e942b09d56e8e...')
#33 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(365): ffThemeBuilderElement->render(Array, '[ffb_wrapper_2 ...', 'ihoi7e7', NULL, '42e942b09d56e8e...')
#34 /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...')
#35 /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...')
#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_co...', Array, '[ffb_column_1 u...')
#38 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(698): ffThemeBuilderShortcodesWalker->doShortcode('[ffb_column_1 u...')
#39 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/elements/class.ffElSection.php(346): ffThemeBuilderElement->_doShortcode('[ffb_column_1 u...')
#40 /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, 'ihoi6fc')
#41 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(422): ffThemeBuilderElement->_renderJustTheElement(Array, '[ffb_column_1 u...', 'ihoi6fc', Object(ffOptionsQueryDynamic))
#42 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(549): ffThemeBuilderElement->_renderElementWithCaching(Array, '[ffb_column_1 u...', 'ihoi6fc', Object(ffOptionsQueryDynamic), 'c32783a44e15d7c...')
#43 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(365): ffThemeBuilderElement->render(Array, '[ffb_column_1 u...', 'ihoi6fc', NULL, 'c32783a44e15d7c...')
#44 /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 ...')
#45 /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 ...')
#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_se...', Array, '[ffb_section_0 ...')
#48 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(698): ffThemeBuilderShortcodesWalker->doShortcode('[ffb_section_0 ...')
#49 /home/ekocentar97/public_html/wp-content/plugins/ark-core/builder/elements/Loop/PostContent/class.ffElPostContent.php(75): ffThemeBuilderElement->_doShortcode('[ffb_section_0 ...')
#50 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(473): ffElPostContent->_render(Object(ffOptionsQueryDynamic), '', Array, 'p9khjgv')
#51 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(422): ffThemeBuilderElement->_renderJustTheElement(Array, '', 'p9khjgv', Object(ffOptionsQueryDynamic))
#52 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(549): ffThemeBuilderElement->_renderElementWithCaching(Array, '', 'p9khjgv', Object(ffOptionsQueryDynamic), NULL)
#53 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(365): ffThemeBuilderElement->render(Array, '', 'p9khjgv', Array, NULL)
#54 /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...')
#55 /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...')
#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_po...', Array, '[ffb_post-conte...')
#58 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(82): ffThemeBuilderShortcodesWalker->doShortcode('[ffb_post-conte...')
#59 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(75): ffThemeBuilderShortcodesWalker->get('[ffb_post-conte...')
#60 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderManager.php(288): ffThemeBuilderShortcodesWalker->render('[ffb_post-conte...')
#61 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/sitePreferences/class.ffSitePreferencesManager.php(124): ffThemeBuilderManager->render('[ffb_post-conte...')
#62 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/sitePreferences/actTemplateInclude.php(5): ffSitePreferencesManager->actTemplateRedirect()
#63 /home/ekocentar97/public_html/wp-includes/template-loader.php(106): include('/home/ekocentar...')
#64 /home/ekocentar97/public_html/wp-blog-header.php(19): require_once('/home/ekocentar...')
#65 /home/ekocentar97/public_html/index.php(17): require('/home/ekocentar...')
#66 {main}
  thrown"
  ["file"]=>
  string(105) "/home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/extern/freshizer/freshizer.php"
  ["line"]=>
  int(65)
}