User

Review

Ark is the most amazing premium template with powerful customization settings and ultra fully responsive template.



PHP Fatal Error



A fatal error has occured during the attempt to resize the "http://themes.freshface.net/ark/wp-content/uploads/2016/08/01-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(11295) "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...', 33, 33, 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/Testimonials/Testimonials8/class.ffElTestimonials8.php(195): ffThemeBuilderBlock->render(Object(ffOptionsQueryDynamic))
#10 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(473): ffElTestimonials8->_render(Object(ffOptionsQueryDynamic), '[ffb_param rout...', Array, 'habp1uu')
#11 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(422): ffThemeBuilderElement->_renderJustTheElement(Array, '[ffb_param rout...', 'habp1uu', Object(ffOptionsQueryDynamic))
#12 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(549): ffThemeBuilderElement->_renderElementWithCaching(Array, '[ffb_param rout...', 'habp1uu', Object(ffOptionsQueryDynamic), '3f05dc8b7bb5266...')
#13 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(365): ffThemeBuilderElement->render(Array, '[ffb_param rout...', 'habp1uu', Array, '3f05dc8b7bb5266...')
#14 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(246): ffThemeBuilderShortcodesWalker->_printShortcode(Array, '[ffb_param rout...', 'ffb_testimonial...', '[ffb_testimonia...')
#15 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(224): ffThemeBuilderShortcodesWalker->shortcodesCallback(Array, '[ffb_param rout...', 'ffb_testimonial...', '[ffb_testimonia...')
#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_te...', Array, '[ffb_testimonia...')
#18 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(698): ffThemeBuilderShortcodesWalker->doShortcode('[ffb_testimonia...')
#19 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/elements/class.ffElColumn.php(498): ffThemeBuilderElement->_doShortcode('[ffb_testimonia...')
#20 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(473): ffElColumn->_render(Object(ffOptionsQueryDynamic), '[ffb_testimonia...', Array, 'habn32n')
#21 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(422): ffThemeBuilderElement->_renderJustTheElement(Array, '[ffb_testimonia...', 'habn32n', Object(ffOptionsQueryDynamic))
#22 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(549): ffThemeBuilderElement->_renderElementWithCaching(Array, '[ffb_testimonia...', 'habn32n', Object(ffOptionsQueryDynamic), '3af38821af1f49f...')
#23 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(365): ffThemeBuilderElement->render(Array, '[ffb_testimonia...', 'habn32n', NULL, '3af38821af1f49f...')
#24 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(246): ffThemeBuilderShortcodesWalker->_printShortcode(Array, '[ffb_testimonia...', 'ffb_column_1', '[ffb_column_1 u...')
#25 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(224): ffThemeBuilderShortcodesWalker->shortcodesCallback(Array, '[ffb_testimonia...', 'ffb_column_1', '[ffb_column_1 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_1 u...')
#28 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(698): ffThemeBuilderShortcodesWalker->doShortcode('[ffb_column_1 u...')
#29 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/elements/class.ffElSection.php(346): ffThemeBuilderElement->_doShortcode('[ffb_column_1 u...')
#30 /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, 'habn32l')
#31 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(422): ffThemeBuilderElement->_renderJustTheElement(Array, '[ffb_column_1 u...', 'habn32l', Object(ffOptionsQueryDynamic))
#32 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(549): ffThemeBuilderElement->_renderElementWithCaching(Array, '[ffb_column_1 u...', 'habn32l', Object(ffOptionsQueryDynamic), '787c2973a607c9b...')
#33 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(365): ffThemeBuilderElement->render(Array, '[ffb_column_1 u...', 'habn32l', NULL, '787c2973a607c9b...')
#34 /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 ...')
#35 /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 ...')
#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_se...', Array, '[ffb_section_0 ...')
#38 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(698): ffThemeBuilderShortcodesWalker->doShortcode('[ffb_section_0 ...')
#39 /home/ekocentar97/public_html/wp-content/plugins/ark-core/builder/elements/Loop/PostContent/class.ffElPostContent.php(75): ffThemeBuilderElement->_doShortcode('[ffb_section_0 ...')
#40 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(473): ffElPostContent->_render(Object(ffOptionsQueryDynamic), '', Array, 'p9khjgv')
#41 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(422): ffThemeBuilderElement->_renderJustTheElement(Array, '', 'p9khjgv', Object(ffOptionsQueryDynamic))
#42 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(549): ffThemeBuilderElement->_renderElementWithCaching(Array, '', 'p9khjgv', Object(ffOptionsQueryDynamic), NULL)
#43 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(365): ffThemeBuilderElement->render(Array, '', 'p9khjgv', Array, NULL)
#44 /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...')
#45 /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...')
#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_po...', Array, '[ffb_post-conte...')
#48 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(82): ffThemeBuilderShortcodesWalker->doShortcode('[ffb_post-conte...')
#49 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(75): ffThemeBuilderShortcodesWalker->get('[ffb_post-conte...')
#50 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderManager.php(288): ffThemeBuilderShortcodesWalker->render('[ffb_post-conte...')
#51 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/sitePreferences/class.ffSitePreferencesManager.php(124): ffThemeBuilderManager->render('[ffb_post-conte...')
#52 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/sitePreferences/actTemplateInclude.php(5): ffSitePreferencesManager->actTemplateRedirect()
#53 /home/ekocentar97/public_html/wp-includes/template-loader.php(106): include('/home/ekocentar...')
#54 /home/ekocentar97/public_html/wp-blog-header.php(19): require_once('/home/ekocentar...')
#55 /home/ekocentar97/public_html/index.php(17): require('/home/ekocentar...')
#56 {main}
  thrown"
  ["file"]=>
  string(105) "/home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/extern/freshizer/freshizer.php"
  ["line"]=>
  int(65)
}