It looks like you might be reaching your PHP max_input_vars limit.
Each image in a Showkase gallery page has 6 different variables associated with it so in order to process a large gallery, you will need to ensure that max_input_vars is at least 6 x the number of images in the gallery.
For example, if you have a gallery with 200 images, then the max_input_vars will need to be at least 1200.
I notice in your screenshot that the undefined offsets begin at 166 which equates to a max_input_vars value of 996 (166 x 6 = 996) so it sounds like your max_input_vars might currently be set to 1000 (and it needs to be higher for your site).
You should be able to check your PHP settings using phpinfo() as follows:
Create a new file in a plain text editor with the following code: <?php phpinfo(); ?>
Save the file with a .php file extension (for example, 'phpinfo.php').
Upload the file to your web server and open it in a browser.
You should be able to change PHP values using a php.ini file, via an .htaccess file or via your web hosting online Control Panel.
If you have trouble changing any PHP values, your web host should be able to help you out.
Hopefully increasing max_input_vars will solve your problem.
If this does not help, then here are other things that you can try.
(1) Please try installing and running the Showkase Server Compatibility Test to check that your server has all the features Showkase needs.
If any of the tests fail, there are troubleshooting tips on the test's support page (link above).
Even if you ran the test before installing Showkase, please try again in case your web host has made any changes recently.
(2) If you are not already using the latest version of Showkase (v1.6.1), please try upgrading to see if this helps.
For a list of changes between versions, please see the Version History.
Full instructions for upgrading Showkase can be found here.
(3) Try going to 'System -> Repairs' and clicking the 'Repair' button to rebuild the page records.
(4) If the error message happens only when deleting images from certain gallery pages, try editing the pages in question, going to the 'Advanced' tab and clicking the 'Rebuild' button to rebuild the gallery.
(5) Check and increase your PHP memory_limit directive (in a similar way to max_input_vars above).
(4) If none of the above helps, then try running Showkase in debug mode to see if a more informative error message is displayed when the problem occurs.
Open your 'showkase/admin/settings/constants.php' file in a plain text editor and change line 12 from:
... to:
This should help to track down the exact cause of the problem.
Please note that the line number above refers to the current version of Showkase (v1.6.1).
I would also recommend that you make a complete backup of your site before you change anything, just in case anything goes wrong and you need to reinstate the original files at a later date.
I hope one of my suggestions above helps to solve your problem.