Brosy Family Dentistry
WordPress › Error

There has been a critical error on this website.

Learn more about troubleshooting WordPress.



PHP Fatal Error



A fatal error has occured during the attempt to resize the "https://ym0378.p3cdn2.secureserver.net/wp-content/uploads/2020/01/IMG_0442-1.jpeg?time=1709796144" 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(7898) "Uncaught DivisionByZeroError: Division by zero in /var/www/wp-content/plugins/fresh-framework/framework/extern/freshizer/freshizer.php:1911
Stack trace:
#0 /var/www/wp-content/plugins/fresh-framework/framework/extern/freshizer/freshizer.php(1776): fImgResizerCalculator->calculateNewDimensions(NULL, NULL, 1440, 0, true)
#1 /var/www/wp-content/plugins/fresh-framework/framework/extern/freshizer/freshizer.php(2306): fImgResizer->resize(Object(fImgData))
#2 /var/www/wp-content/plugins/fresh-framework/framework/extern/freshizer/freshizer_facade.php(42): fImg->_resize('https://ym0378....', 1440, 0, true, false, 90)
#3 /var/www/wp-content/plugins/fresh-framework/framework/extern/freshizer/freshizer.php(2233): fImg_facade->_resize('https://ym0378....', 1440, 0, true, false, false, 90)
#4 /var/www/wp-content/plugins/ark-core/builder/blocks/class.ffBlFeaturedImage.php(291): fImg::resize('https://ym0378....', 1440, 0, true, false, false, 90)
#5 /var/www/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderBlock.php(251): ffBlFeaturedImage->_render(Object(ffOptionsQueryDynamic))
#6 /var/www/wp-content/plugins/ark-core/builder/elements/Blog/BlogMasonry1/class.ffElBlogMasonry1.php(269): ffThemeBuilderBlock->render(Object(ffOptionsQueryDynamic))
#7 /var/www/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(473): ffElBlogMasonry1->_render(Object(ffOptionsQueryDynamic), '', Array, 'pk1ffla')
#8 /var/www/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(422): ffThemeBuilderElement->_renderJustTheElement(Array, '', 'pk1ffla', Object(ffOptionsQueryDynamic))
#9 /var/www/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(549): ffThemeBuilderElement->_renderElementWithCaching(Array, '', 'pk1ffla', Object(ffOptionsQueryDynamic), NULL)
#10 /var/www/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(365): ffThemeBuilderElement->render(Array, '', 'pk1ffla', Array, NULL)
#11 /var/www/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(246): ffThemeBuilderShortcodesWalker->_printShortcode(Array, '', 'ffb_blog-masonr...', '[ffb_blog-mason...')
#12 /var/www/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(224): ffThemeBuilderShortcodesWalker->shortcodesCallback(Array, '', 'ffb_blog-masonr...', '[ffb_blog-mason...')
#13 [internal function]: ffThemeBuilderShortcodesWalker->_ourShortcodeCalback(Array)
#14 /var/www/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(166): preg_replace_callback('/\\[(\\[?)(ffb_bl...', Array, '[ffb_blog-mason...')
#15 /var/www/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(698): ffThemeBuilderShortcodesWalker->doShortcode('[ffb_blog-mason...')
#16 /var/www/wp-content/plugins/fresh-framework/framework/themes/builder/elements/class.ffElColumn.php(498): ffThemeBuilderElement->_doShortcode('[ffb_blog-mason...')
#17 /var/www/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(473): ffElColumn->_render(Object(ffOptionsQueryDynamic), '[ffb_blog-mason...', Array, 'pfg1ldd')
#18 /var/www/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(422): ffThemeBuilderElement->_renderJustTheElement(Array, '[ffb_blog-mason...', 'pfg1ldd', Object(ffOptionsQueryDynamic))
#19 /var/www/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(549): ffThemeBuilderElement->_renderElementWithCaching(Array, '[ffb_blog-mason...', 'pfg1ldd', Object(ffOptionsQueryDynamic), '35b11ca91e16d4a...')
#20 /var/www/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(365): ffThemeBuilderElement->render(Array, '[ffb_blog-mason...', 'pfg1ldd', NULL, '35b11ca91e16d4a...')
#21 /var/www/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(246): ffThemeBuilderShortcodesWalker->_printShortcode(Array, '[ffb_blog-mason...', 'ffb_column_1', '[ffb_column_1 u...')
#22 /var/www/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(224): ffThemeBuilderShortcodesWalker->shortcodesCallback(Array, '[ffb_blog-mason...', 'ffb_column_1', '[ffb_column_1 u...')
#23 [internal function]: ffThemeBuilderShortcodesWalker->_ourShortcodeCalback(Array)
#24 /var/www/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/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(698): ffThemeBuilderShortcodesWalker->doShortcode('[ffb_column_1 u...')
#26 /var/www/wp-content/plugins/fresh-framework/framework/themes/builder/elements/class.ffElSection.php(346): ffThemeBuilderElement->_doShortcode('[ffb_column_1 u...')
#27 /var/www/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(473): ffElSection->_render(Object(ffOptionsQueryDynamic), '[ffb_column_1 u...', Array, 'pfg1ldc')
#28 /var/www/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(422): ffThemeBuilderElement->_renderJustTheElement(Array, '[ffb_column_1 u...', 'pfg1ldc', Object(ffOptionsQueryDynamic))
#29 /var/www/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderElement.php(549): ffThemeBuilderElement->_renderElementWithCaching(Array, '[ffb_column_1 u...', 'pfg1ldc', Object(ffOptionsQueryDynamic), '2efe256edee7df6...')
#30 /var/www/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(365): ffThemeBuilderElement->render(Array, '[ffb_column_1 u...', 'pfg1ldc', NULL, '2efe256edee7df6...')
#31 /var/www/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/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/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(166): preg_replace_callback('/\\[(\\[?)(ffb_se...', Array, '[ffb_section_0 ...')
#35 /var/www/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(82): ffThemeBuilderShortcodesWalker->doShortcode('[ffb_section_0 ...')
#36 /var/www/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderShortcodesWalker.php(75): ffThemeBuilderShortcodesWalker->get('[ffb_section_0 ...')
#37 /var/www/wp-content/plugins/fresh-framework/framework/themes/builder/class.ffThemeBuilderManager.php(288): ffThemeBuilderShortcodesWalker->render('[ffb_section_0 ...')
#38 /var/www/wp-content/plugins/fresh-framework/framework/themes/sitePreferences/class.ffSitePreferencesManager.php(124): ffThemeBuilderManager->render('[ffb_section_0 ...')
#39 /var/www/wp-content/plugins/fresh-framework/framework/themes/sitePreferences/actTemplateInclude.php(5): ffSitePreferencesManager->actTemplateRedirect()
#40 /var/www/wp-includes/template-loader.php(106): include('/var/www/wp-con...')
#41 /var/www/wp-blog-header.php(19): require_once('/var/www/wp-inc...')
#42 /var/www/index.php(17): require('/var/www/wp-blo...')
#43 {main}
  thrown"
  ["file"]=>
  string(84) "/var/www/wp-content/plugins/fresh-framework/framework/extern/freshizer/freshizer.php"
  ["line"]=>
  int(1911)
}