PHP Fatal Error



A fatal error has occured during the attempt to resize the "https://www.familles-lgbt.com/wp-content/uploads/2018/05/Arnaud.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(16322) "Uncaught TypeError: imagecopyresampled(): Argument #2 ($src_image) must be of type GdImage, bool given in /var/www/html/wp-content/plugins/fresh-framework/framework/extern/freshizer/freshizer.php:1794
Stack trace:
#0 /var/www/html/wp-content/plugins/fresh-framework/framework/extern/freshizer/freshizer.php(1794): imagecopyresampled(Object(GdImage), false, 0, 0, 20, 0, 360, 440, 184, 225)
#1 /var/www/html/wp-content/plugins/fresh-framework/framework/extern/freshizer/freshizer.php(2319): fImgResizer->resize(Object(fImgData))
#2 /var/www/html/wp-content/plugins/fresh-framework/framework/extern/freshizer/freshizer_facade.php(42): fImg->_resize('https://www.fam...', 360, 440, true, false, 90)
#3 /var/www/html/wp-content/plugins/fresh-framework/framework/extern/freshizer/freshizer.php(2244): fImg_facade->_resize('https://www.fam...', 360, 440, true, false, false, 90)
#4 /var/www/html/wp-content/plugins/ark-core/builder/blocks/class.ffBlImage.php(289): fImg::resize('https://www.fam...', 360, 440, true, false, false, 90)
#5 /var/www/html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderBlock.php(232): ffBlImage->_render(Object(ffOptionsQueryDynamic))
#6 /var/www/html/wp-content/plugins/ark-core/builder/elements/Team/Team10/class.ffElTeam10.php(174): ffThemeBuilderBlock->render(Object(ffOptionsQueryDynamic))
#7 /var/www/html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(473): ffElTeam10->_render(Object(ffOptionsQueryDynamic), '[ffb_param rout...', Array, 'hdcjsb6')
#8 /var/www/html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(422): ffThemeBuilderElement->_renderJustTheElement(Array, '[ffb_param rout...', 'hdcjsb6', Object(ffOptionsQueryDynamic))
#9 /var/www/html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(549): ffThemeBuilderElement->_renderElementWithCaching(Array, '[ffb_param rout...', 'hdcjsb6', Object(ffOptionsQueryDynamic), '2914317d70e0ebb...')
#10 /var/www/html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(365): ffThemeBuilderElement->render(Array, '[ffb_param rout...', 'hdcjsb6', Array, '2914317d70e0ebb...')
#11 /var/www/html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(246): ffThemeBuilderShortcodesWalker->_printShortcode(Array, '[ffb_param rout...', 'ffb_team-10_2', '[ffb_team-10_2 ...')
#12 /var/www/html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(224): ffThemeBuilderShortcodesWalker->shortcodesCallback(Array, '[ffb_param rout...', 'ffb_team-10_2', '[ffb_team-10_2 ...')
#13 [internal function]: ffThemeBuilderShortcodesWalker->_ourShortcodeCalback(Array)
#14 /var/www/html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(166): preg_replace_callback('/\\[(\\[?)(ffb_te...', Array, '[ffb_team-10_2 ...')
#15 /var/www/html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(698): ffThemeBuilderShortcodesWalker->doShortcode('[ffb_team-10_2 ...')
#16 /var/www/html/wp-content/plugins/fresh-framework/framework/themes/builder/elements/class.ffElColumn.php(498): ffThemeBuilderElement->_doShortcode('[ffb_team-10_2 ...')
#17 /var/www/html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(473): ffElColumn->_render(Object(ffOptionsQueryDynamic), '[ffb_team-10_2 ...', Array, 'hdcghbo')
#18 /var/www/html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(422): ffThemeBuilderElement->_renderJustTheElement(Array, '[ffb_team-10_2 ...', 'hdcghbo', Object(ffOptionsQueryDynamic))
#19 /var/www/html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(549): ffThemeBuilderElement->_renderElementWithCaching(Array, '[ffb_team-10_2 ...', 'hdcghbo', Object(ffOptionsQueryDynamic), '24d5d49c6ceb12e...')
#20 /var/www/html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(365): ffThemeBuilderElement->render(Array, '[ffb_team-10_2 ...', 'hdcghbo', NULL, '24d5d49c6ceb12e...')
#21 /var/www/html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(246): ffThemeBuilderShortcodesWalker->_printShortcode(Array, '[ffb_team-10_2 ...', 'ffb_column_1', '[ffb_column_1 u...')
#22 /var/www/html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(224): ffThemeBuilderShortcodesWalker->shortcodesCallback(Array, '[ffb_team-10_2 ...', 'ffb_column_1', '[ffb_column_1 u...')
#23 [internal function]: ffThemeBuilderShortcodesWalker->_ourShortcodeCalback(Array)
#24 /var/www/html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(166): preg_replace_callback('/\\[(\\[?)(ffb_co...', Array, '[ffb_column_1 u...')
#25 /var/www/html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(698): ffThemeBuilderShortcodesWalker->doShortcode('[ffb_column_1 u...')
#26 /var/www/html/wp-content/plugins/fresh-framework/framework/themes/builder/elements/class.ffElSection.php(346): ffThemeBuilderElement->_doShortcode('[ffb_column_1 u...')
#27 /var/www/html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(473): ffElSection->_render(Object(ffOptionsQueryDynamic), '[ffb_column_1 u...', Array, 'hdcghbn')
#28 /var/www/html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(422): ffThemeBuilderElement->_renderJustTheElement(Array, '[ffb_column_1 u...', 'hdcghbn', Object(ffOptionsQueryDynamic))
#29 /var/www/html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(549): ffThemeBuilderElement->_renderElementWithCaching(Array, '[ffb_column_1 u...', 'hdcghbn', Object(ffOptionsQueryDynamic), '38c7741166a8ba6...')
#30 /var/www/html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(365): ffThemeBuilderElement->render(Array, '[ffb_column_1 u...', 'hdcghbn', NULL, '38c7741166a8ba6...')
#31 /var/www/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 ...')
#32 /var/www/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 ...')
#33 [internal function]: ffThemeBuilderShortcodesWalker->_ourShortcodeCalback(Array)
#34 /var/www/html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(166): preg_replace_callback('/\\[(\\[?)(ffb_se...', Array, '[ffb_section_0 ...')
#35 /var/www/html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(698): ffThemeBuilderShortcodesWalker->doShortcode('[ffb_section_0 ...')
#36 /var/www/html/wp-content/plugins/ark-core/builder/elements/Loop/PostContent/class.ffElPostContent.php(75): ffThemeBuilderElement->_doShortcode('[ffb_section_0 ...')
#37 /var/www/html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(473): ffElPostContent->_render(Object(ffOptionsQueryDynamic), '', Array, 'pfeamu8')
#38 /var/www/html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(422): ffThemeBuilderElement->_renderJustTheElement(Array, '', 'pfeamu8', Object(ffOptionsQueryDynamic))
#39 /var/www/html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(549): ffThemeBuilderElement->_renderElementWithCaching(Array, '', 'pfeamu8', Object(ffOptionsQueryDynamic), NULL)
#40 /var/www/html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(365): ffThemeBuilderElement->render(Array, '', 'pfeamu8', Array, NULL)
#41 /var/www/html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(246): ffThemeBuilderShortcodesWalker->_printShortcode(Array, '', 'ffb_post-conten...', '[ffb_post-conte...')
#42 /var/www/html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(224): ffThemeBuilderShortcodesWalker->shortcodesCallback(Array, '', 'ffb_post-conten...', '[ffb_post-conte...')
#43 [internal function]: ffThemeBuilderShortcodesWalker->_ourShortcodeCalback(Array)
#44 /var/www/html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(166): preg_replace_callback('/\\[(\\[?)(ffb_fe...', Array, '[ffb_featured-a...')
#45 /var/www/html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(698): ffThemeBuilderShortcodesWalker->doShortcode('[ffb_featured-a...')
#46 /var/www/html/wp-content/plugins/ark-core/builder/elements/Loop/PostWrapper/class.ffElPostWrapper.php(44): ffThemeBuilderElement->_doShortcode('[ffb_featured-a...')
#47 /var/www/html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(473): ffElPostWrapper->_render(Object(ffOptionsQueryDynamic), '[ffb_featured-a...', Array, 'pfeamu1')
#48 /var/www/html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(422): ffThemeBuilderElement->_renderJustTheElement(Array, '[ffb_featured-a...', 'pfeamu1', Object(ffOptionsQueryDynamic))
#49 /var/www/html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(549): ffThemeBuilderElement->_renderElementWithCaching(Array, '[ffb_featured-a...', 'pfeamu1', Object(ffOptionsQueryDynamic), 'c8b280dcd72fedd...')
#50 /var/www/html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(365): ffThemeBuilderElement->render(Array, '[ffb_featured-a...', 'pfeamu1', NULL, 'c8b280dcd72fedd...')
#51 /var/www/html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(246): ffThemeBuilderShortcodesWalker->_printShortcode(Array, '[ffb_featured-a...', 'ffb_post-wrappe...', '[ffb_post-wrapp...')
#52 /var/www/html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(224): ffThemeBuilderShortcodesWalker->shortcodesCallback(Array, '[ffb_featured-a...', 'ffb_post-wrappe...', '[ffb_post-wrapp...')
#53 [internal function]: ffThemeBuilderShortcodesWalker->_ourShortcodeCalback(Array)
#54 /var/www/html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(166): preg_replace_callback('/\\[(\\[?)(ffb_po...', Array, '[ffb_post-wrapp...')
#55 /var/www/html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(698): ffThemeBuilderShortcodesWalker->doShortcode('[ffb_post-wrapp...')
#56 /var/www/html/wp-content/plugins/fresh-framework/framework/themes/builder/elements/class.ffElColumn.php(498): ffThemeBuilderElement->_doShortcode('[ffb_post-wrapp...')
#57 /var/www/html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(473): ffElColumn->_render(Object(ffOptionsQueryDynamic), '[ffb_post-wrapp...', Array, 'pfeamtn')
#58 /var/www/html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(422): ffThemeBuilderElement->_renderJustTheElement(Array, '[ffb_post-wrapp...', 'pfeamtn', Object(ffOptionsQueryDynamic))
#59 /var/www/html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(549): ffThemeBuilderElement->_renderElementWithCaching(Array, '[ffb_post-wrapp...', 'pfeamtn', Object(ffOptionsQueryDynamic), '050e3d2f94d47dd...')
#60 /var/www/html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(365): ffThemeBuilderElement->render(Array, '[ffb_post-wrapp...', 'pfeamtn', NULL, '050e3d2f94d47dd...')
#61 /var/www/html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(246): ffThemeBuilderShortcodesWalker->_printShortcode(Array, '[ffb_post-wrapp...', 'ffb_column_1', '[ffb_column_1 u...')
#62 /var/www/html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(224): ffThemeBuilderShortcodesWalker->shortcodesCallback(Array, '[ffb_post-wrapp...', 'ffb_column_1', '[ffb_column_1 u...')
#63 [internal function]: ffThemeBuilderShortcodesWalker->_ourShortcodeCalback(Array)
#64 /var/www/html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(166): preg_replace_callback('/\\[(\\[?)(ffb_co...', Array, '[ffb_column_1 u...')
#65 /var/www/html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(698): ffThemeBuilderShortcodesWalker->doShortcode('[ffb_column_1 u...')
#66 /var/www/html/wp-content/plugins/fresh-framework/framework/themes/builder/elements/class.ffElSection.php(346): ffThemeBuilderElement->_doShortcode('[ffb_column_1 u...')
#67 /var/www/html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(473): ffElSection->_render(Object(ffOptionsQueryDynamic), '[ffb_column_1 u...', Array, 'pfeamtm')
#68 /var/www/html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(422): ffThemeBuilderElement->_renderJustTheElement(Array, '[ffb_column_1 u...', 'pfeamtm', Object(ffOptionsQueryDynamic))
#69 /var/www/html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(549): ffThemeBuilderElement->_renderElementWithCaching(Array, '[ffb_column_1 u...', 'pfeamtm', Object(ffOptionsQueryDynamic), 'eb0602309925e74...')
#70 /var/www/html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(365): ffThemeBuilderElement->render(Array, '[ffb_column_1 u...', 'pfeamtm', NULL, 'eb0602309925e74...')
#71 /var/www/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 ...')
#72 /var/www/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 ...')
#73 [internal function]: ffThemeBuilderShortcodesWalker->_ourShortcodeCalback(Array)
#74 /var/www/html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(166): preg_replace_callback('/\\[(\\[?)(ffb_se...', Array, '[ffb_section_0 ...')
#75 /var/www/html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(82): ffThemeBuilderShortcodesWalker->doShortcode('[ffb_section_0 ...')
#76 /var/www/html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(75): ffThemeBuilderShortcodesWalker->get('[ffb_section_0 ...')
#77 /var/www/html/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderManager.php(288): ffThemeBuilderShortcodesWalker->render('[ffb_section_0 ...')
#78 /var/www/html/wp-content/plugins/fresh-framework/framework/themes/sitePreferences/class.ffSitePreferencesManager.php(124): ffThemeBuilderManager->render('[ffb_section_0 ...')
#79 /var/www/html/wp-content/plugins/fresh-framework/framework/themes/sitePreferences/actTemplateInclude.php(5): ffSitePreferencesManager->actTemplateRedirect()
#80 /var/www/html/wp-includes/template-loader.php(106): include('/var/www/html/w...')
#81 /var/www/html/wp-blog-header.php(19): require_once('/var/www/html/w...')
#82 /var/www/html/index.php(17): require('/var/www/html/w...')
#83 {main}
  thrown"
  ["file"]=>
  string(89) "/var/www/html/wp-content/plugins/fresh-framework/framework/extern/freshizer/freshizer.php"
  ["line"]=>
  int(1794)
}