PHP Fatal Error
A fatal error has occured during the attempt to resize the "https://ekocentar97.mk/wp-content/uploads/2021/10/transport-e1635122012366.jpg" image.
Possible causes and their solutions (in the order of occurence) are:
-
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.
-
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.
-
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.
-
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.
-
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.
-
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(9100) "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.ffBlFeaturedImage.php(291): fImg::resize('https://ekocent...', 1440, 0, true, false, false, 90)
#8 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderBlock.php(251): ffBlFeaturedImage->_render(Object(ffOptionsQueryDynamic))
#9 /home/ekocentar97/public_html/wp-content/plugins/ark-core/builder/elements/Blog/BlogDefault2/class.ffElBlogDefault2.php(266): ffThemeBuilderBlock->render(Object(ffOptionsQueryDynamic))
#10 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(473): ffElBlogDefault2->_render(Object(ffOptionsQueryDynamic), '', Array, 'ps19mg3')
#11 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(422): ffThemeBuilderElement->_renderJustTheElement(Array, '', 'ps19mg3', Object(ffOptionsQueryDynamic))
#12 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(549): ffThemeBuilderElement->_renderElementWithCaching(Array, '', 'ps19mg3', Object(ffOptionsQueryDynamic), NULL)
#13 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(365): ffThemeBuilderElement->render(Array, '', 'ps19mg3', Array, NULL)
#14 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(246): ffThemeBuilderShortcodesWalker->_printShortcode(Array, '', 'ffb_blog-defaul...', '[ffb_blog-defau...')
#15 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(224): ffThemeBuilderShortcodesWalker->shortcodesCallback(Array, '', 'ffb_blog-defaul...', '[ffb_blog-defau...')
#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_bl...', Array, '[ffb_blog-defau...')
#18 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(698): ffThemeBuilderShortcodesWalker->doShortcode('[ffb_blog-defau...')
#19 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/elements/class.ffElColumn.php(498): ffThemeBuilderElement->_doShortcode('[ffb_blog-defau...')
#20 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(473): ffElColumn->_render(Object(ffOptionsQueryDynamic), '[ffb_blog-defau...', Array, 'ppai5sk')
#21 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(422): ffThemeBuilderElement->_renderJustTheElement(Array, '[ffb_blog-defau...', 'ppai5sk', Object(ffOptionsQueryDynamic))
#22 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(549): ffThemeBuilderElement->_renderElementWithCaching(Array, '[ffb_blog-defau...', 'ppai5sk', Object(ffOptionsQueryDynamic), '724b76f2acf5d10...')
#23 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(365): ffThemeBuilderElement->render(Array, '[ffb_blog-defau...', 'ppai5sk', NULL, '724b76f2acf5d10...')
#24 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(246): ffThemeBuilderShortcodesWalker->_printShortcode(Array, '[ffb_blog-defau...', '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_blog-defau...', '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, 'ppah7ph')
#31 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(422): ffThemeBuilderElement->_renderJustTheElement(Array, '[ffb_column_1 u...', 'ppah7ph', 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...', 'ppah7ph', Object(ffOptionsQueryDynamic), '0fe7bedb0d592e8...')
#33 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(365): ffThemeBuilderElement->render(Array, '[ffb_column_1 u...', 'ppah7ph', NULL, '0fe7bedb0d592e8...')
#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.ffThemeBuilderShortcodesWalker.php(82): ffThemeBuilderShortcodesWalker->doShortcode('[ffb_section_0 ...')
#39 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(75): ffThemeBuilderShortcodesWalker->get('[ffb_section_0 ...')
#40 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderManager.php(288): ffThemeBuilderShortcodesWalker->render('[ffb_section_0 ...')
#41 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/sitePreferences/class.ffSitePreferencesManager.php(124): ffThemeBuilderManager->render('[ffb_section_0 ...')
#42 /home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/themes/sitePreferences/actTemplateInclude.php(5): ffSitePreferencesManager->actTemplateRedirect()
#43 /home/ekocentar97/public_html/wp-includes/template-loader.php(106): include('/home/ekocentar...')
#44 /home/ekocentar97/public_html/wp-blog-header.php(19): require_once('/home/ekocentar...')
#45 /home/ekocentar97/public_html/index.php(17): require('/home/ekocentar...')
#46 {main}
thrown"
["file"]=>
string(105) "/home/ekocentar97/public_html/wp-content/plugins/fresh-framework/framework/extern/freshizer/freshizer.php"
["line"]=>
int(65)
}