PHP Fatal Error



A fatal error has occured during the attempt to resize the "http://themes.freshface.net/ark/wp-content/uploads/2016/08/05-1.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(15514) "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...', 150, 150, true, false, false, '100')
#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, 'iepm44f')
#11 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(422): ffThemeBuilderElement->_renderJustTheElement(Array, '', 'iepm44f', Object(ffOptionsQueryDynamic))
#12 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(549): ffThemeBuilderElement->_renderElementWithCaching(Array, '', 'iepm44f', Object(ffOptionsQueryDynamic), 'e39dca6d5cf8797...')
#13 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(365): ffThemeBuilderElement->render(Array, '', 'iepm44f', Array, 'e39dca6d5cf8797...')
#14 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(246): ffThemeBuilderShortcodesWalker->_printShortcode(Array, '', 'ffb_image_4', '[ffb_image_4 un...')
#15 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(224): ffThemeBuilderShortcodesWalker->shortcodesCallback(Array, '', 'ffb_image_4', '[ffb_image_4 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_im...', Array, '[ffb_image_4 un...')
#18 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(698): ffThemeBuilderShortcodesWalker->doShortcode('[ffb_image_4 un...')
#19 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/elements/class.ffElColumn.php(498): ffThemeBuilderElement->_doShortcode('[ffb_image_4 un...')
#20 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(473): ffElColumn->_render(Object(ffOptionsQueryDynamic), '[ffb_image_4 un...', Array, 'iepl42p')
#21 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(422): ffThemeBuilderElement->_renderJustTheElement(Array, '[ffb_image_4 un...', 'iepl42p', Object(ffOptionsQueryDynamic))
#22 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(549): ffThemeBuilderElement->_renderElementWithCaching(Array, '[ffb_image_4 un...', 'iepl42p', Object(ffOptionsQueryDynamic), '493df55d8c8e97f...')
#23 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(365): ffThemeBuilderElement->render(Array, '[ffb_image_4 un...', 'iepl42p', NULL, '493df55d8c8e97f...')
#24 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(246): ffThemeBuilderShortcodesWalker->_printShortcode(Array, '[ffb_image_4 un...', 'ffb_column_3', '[ffb_column_3 u...')
#25 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(224): ffThemeBuilderShortcodesWalker->shortcodesCallback(Array, '[ffb_image_4 un...', 'ffb_column_3', '[ffb_column_3 u...')
#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_co...', Array, '[ffb_column_3 u...')
#28 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(698): ffThemeBuilderShortcodesWalker->doShortcode('[ffb_column_3 u...')
#29 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/elements/class.ffElRow.php(285): ffThemeBuilderElement->_doShortcode('[ffb_column_3 u...')
#30 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(473): ffElRow->_render(Object(ffOptionsQueryDynamic), '[ffb_column_3 u...', Array, 'iepl2ht')
#31 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(422): ffThemeBuilderElement->_renderJustTheElement(Array, '[ffb_column_3 u...', 'iepl2ht', Object(ffOptionsQueryDynamic))
#32 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(549): ffThemeBuilderElement->_renderElementWithCaching(Array, '[ffb_column_3 u...', 'iepl2ht', Object(ffOptionsQueryDynamic), '071f22121801d3f...')
#33 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(365): ffThemeBuilderElement->render(Array, '[ffb_column_3 u...', 'iepl2ht', NULL, '071f22121801d3f...')
#34 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(246): ffThemeBuilderShortcodesWalker->_printShortcode(Array, '[ffb_column_3 u...', 'ffb_row_2', '[ffb_row_2 uniq...')
#35 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(224): ffThemeBuilderShortcodesWalker->shortcodesCallback(Array, '[ffb_column_3 u...', 'ffb_row_2', '[ffb_row_2 uniq...')
#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_he...', Array, '[ffb_heading_2 ...')
#38 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(698): ffThemeBuilderShortcodesWalker->doShortcode('[ffb_heading_2 ...')
#39 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/elements/class.ffElColumn.php(498): ffThemeBuilderElement->_doShortcode('[ffb_heading_2 ...')
#40 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(473): ffElColumn->_render(Object(ffOptionsQueryDynamic), '[ffb_heading_2 ...', Array, 'ieopk2u')
#41 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(422): ffThemeBuilderElement->_renderJustTheElement(Array, '[ffb_heading_2 ...', 'ieopk2u', Object(ffOptionsQueryDynamic))
#42 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(549): ffThemeBuilderElement->_renderElementWithCaching(Array, '[ffb_heading_2 ...', 'ieopk2u', Object(ffOptionsQueryDynamic), '2eab15d52ed5c18...')
#43 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(365): ffThemeBuilderElement->render(Array, '[ffb_heading_2 ...', 'ieopk2u', NULL, '2eab15d52ed5c18...')
#44 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(246): ffThemeBuilderShortcodesWalker->_printShortcode(Array, '[ffb_heading_2 ...', 'ffb_column_1', '[ffb_column_1 u...')
#45 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(224): ffThemeBuilderShortcodesWalker->shortcodesCallback(Array, '[ffb_heading_2 ...', 'ffb_column_1', '[ffb_column_1 u...')
#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_co...', Array, '[ffb_column_1 u...')
#48 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(698): ffThemeBuilderShortcodesWalker->doShortcode('[ffb_column_1 u...')
#49 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/elements/class.ffElSection.php(346): ffThemeBuilderElement->_doShortcode('[ffb_column_1 u...')
#50 /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, 'ieopk2t')
#51 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(422): ffThemeBuilderElement->_renderJustTheElement(Array, '[ffb_column_1 u...', 'ieopk2t', Object(ffOptionsQueryDynamic))
#52 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(549): ffThemeBuilderElement->_renderElementWithCaching(Array, '[ffb_column_1 u...', 'ieopk2t', Object(ffOptionsQueryDynamic), 'd24b91d630c1414...')
#53 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(365): ffThemeBuilderElement->render(Array, '[ffb_column_1 u...', 'ieopk2t', NULL, 'd24b91d630c1414...')
#54 /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 ...')
#55 /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 ...')
#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_se...', Array, '[ffb_section_0 ...')
#58 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(698): ffThemeBuilderShortcodesWalker->doShortcode('[ffb_section_0 ...')
#59 /home/ekocentar97/public_html/wp-content/plugins/ark-core/builder/elements/Loop/PostContent/class.ffElPostContent.php(75): ffThemeBuilderElement->_doShortcode('[ffb_section_0 ...')
#60 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(473): ffElPostContent->_render(Object(ffOptionsQueryDynamic), '', Array, 'p9khjgv')
#61 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(422): ffThemeBuilderElement->_renderJustTheElement(Array, '', 'p9khjgv', Object(ffOptionsQueryDynamic))
#62 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(549): ffThemeBuilderElement->_renderElementWithCaching(Array, '', 'p9khjgv', Object(ffOptionsQueryDynamic), NULL)
#63 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(365): ffThemeBuilderElement->render(Array, '', 'p9khjgv', Array, NULL)
#64 /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...')
#65 /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...')
#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_po...', Array, '[ffb_post-conte...')
#68 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(82): ffThemeBuilderShortcodesWalker->doShortcode('[ffb_post-conte...')
#69 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(75): ffThemeBuilderShortcodesWalker->get('[ffb_post-conte...')
#70 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderManager.php(288): ffThemeBuilderShortcodesWalker->render('[ffb_post-conte...')
#71 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/sitePreferences/class.ffSitePreferencesManager.php(124): ffThemeBuilderManager->render('[ffb_post-conte...')
#72 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/sitePreferences/actTemplateInclude.php(5): ffSitePreferencesManager->actTemplateRedirect()
#73 /home/ekocentar97/public_html/wp-includes/template-loader.php(106): include('/home/ekocentar...')
#74 /home/ekocentar97/public_html/wp-blog-header.php(19): require_once('/home/ekocentar...')
#75 /home/ekocentar97/public_html/index.php(17): require('/home/ekocentar...')
#76 {main}
  thrown"
  ["file"]=>
  string(105) "/home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/extern/freshizer/freshizer.php"
  ["line"]=>
  int(65)
}