I am having the exact same problem. I have GD fully installed and functioning however I too get this error. I tried the above and that didn’t fix it for me. I made sure the permissions for uploads was set correctly as well. Below is my system info.
FooGallery version : 1.6.7
WordPress version : 4.9.8
Activated Theme : Publisher Child Theme
WordPress URL : https://www.omited.
PHP version : 7.0.33
PHP GD : Loaded (V2)
PHP Open SSL : Loaded
PHP HTTP Wrapper : Found
PHP HTTPS Wrapper : Found
HTTPS Mismatch : None
PHP Config[allow_url_fopen] : 1
PHP Config[allow_url_include] : 1
Extensions Endpoint : https://raw.githubusercontent.com/fooplugins/foogallery-extensions/master/extensions.json?v=n7r0GccMICVu
Extensions Errors : Nope, all good
Extensions :
Extensions Active : Array
(
[0] => default_templates
[1] => foobox-image-lightbox
[2] => albums
[3] => foobox
)
Gallery Templates : Array
(
[0] => default
[1] => image-viewer
[2] => justified
[3] => masonry
[4] => simple_portfolio
[5] => thumbnail
)
Lightboxes : Array
(
[foobox] => FooBox
[dfactory] => Responsive Lightbox by dFactory
)
Settings : Array
(
)
Active Plugins : Array
(
[0] => foogallery/foogallery.php
[1] => acf-field-date-time-picker/acf-date-time-picker.php
[2] => acf-repeater/acf-repeater.php
[3] => admin-menu-editor/menu-editor.php
[4] => advanced-custom-fields-pro/acf.php
[5] => amr-shortcode-any-widget/amr-shortcode-any-widget.php
[6] => archives-calendar-widget/archives-calendar.php
[7] => block-specific-plugin-updates/block-specific-plugin-updates.php
[8] => cms-tree-page-view/index.php
[9] => compact-archives/compact.php
[10] => conditional-menus/init.php
[11] => contact-form-7-honeypot/honeypot.php
[12] => contact-form-7/wp-contact-form-7.php
[13] => content-aware-sidebars/content-aware-sidebars.php
[14] => enhanced-text-widget/enhanced-text-widget.php
[15] => events-manager/events-manager.php
[16] => feedzy-rss-feeds/feedzy-rss-feed.php
[17] => foobox-image-lightbox/foobox-free.php
[18] => js_composer/js_composer.php
[19] => leaflet-maps-marker-pro/leaflet-maps-marker.php
[20] => mailchimp-for-wp/mailchimp-for-wp.php
[21] => mc4wp-premium/mc4wp-premium.php
[22] => mp3-jplayer/mp3jplayer.php
[23] => responsive-lightbox/responsive-lightbox.php
[24] => tag-groups-premium/tag-groups-premium.php
[25] => types/wpcf.php
[26] => wp-miniaudioplayer/miniAudioPlayer.php
[27] => wp-polls/wp-polls.php
)