Topic: Error when creating Juicebox Page

Hello.
I receive the following error when I am trying to add new Juicebox Page: 

Exception in file /home/lupast1k/public_html/showkase/admin/classes/thumbnail.php, line 94
Message: Call to undefined function imagecreatefromgif()

When I access the thumbnail.php via cPanel, line 94 does not look any different than all the other lines:

$imageSrc = imagecreatefromgif($filePath)

I get the same error in Safari and Chrome. Do you know what could be an issue here, please?

Re: Error when creating Juicebox Page

imagecreatefromgif is a core PHP function (rather than a function created by Showkase). (See here for details.)
Please check to make sure that imagecreatefromgif has not been disabled within your site's PHP settings. Please also check that the GD graphics library is enabled. Your web host should be able to help you with this.

You can use the Showkase Server Compatibility Test (download link and instructions here) to check for the existence of the GD graphics library (and what version, if any, is enabled).

Also, as long as you are using Showkase v1.7.6 and at least PHP 7.1 I'd recommend using the latest patch (download link and instructions here).
The line causing the problem is actually line 99 in the patched version of thumbnail.php so, knowing that your installation flags line 94, this suggests that you are not running the patched version.
I do not believe that the patch will fix your problem (I think it is more likely that your PHP installation is missing the GD graphics library or the imagecreatefromgif function has been disabled) but the patch fixes other errors and it would be wise to use it.

I hope this points you in the right direction.