Lightroom Classic: "An internal error has occurred: ?:0: attempt to index a nil value"

  • 59
  • Problem
  • Updated 1 month ago
  • (Edited)
When I delete photographs from catalogue + disc, I am now consistently having the following error dialogue box pop up in LR Classic CC:

"An internal error has occurred: ?:0: attempt to index a nil value"

It appears that LR is carrying out the delete function, however, in order to continue using the program, there is an "OK" checkbox that you must click on.
Photo of Brian Kipnis

Brian Kipnis

  • 8 Posts
  • 1 Reply Like
  • slightly annoyed

Posted 1 year ago

  • 59
Photo of Anna Dunphy

Anna Dunphy

  • 1 Post
  • 0 Reply Likes
I'm encountering this error as well. The error showed up after I did some file renaming outside of LR and cleaning up in LR.  I have 14 "phantom" images which show as blank images with no filename associated in Library & Develop. The count in my folder (731) is correct but the count for All Photographs (745) is incorrect at 14 more than exist in the folder. I have tagged these blank photos and tried to delete but end up with that error listed on this bug. I have disabled all plugins, reset preferences, done a backup with integrity checks and any other recommended solution. I have more images to import to this catalog but am concerned about the integrity.  Would appreciate some advice on how to get rid of these phantom images.

My System info:
Lightroom Classic version: 8.2.1 [ 1206193 ]License: Creative Cloud
Language setting: en-CA
Operating system: Mac OS 10
Version: 10.14.2 [18C54]
Application architecture: x64
Logical processor count: 4
Processor speed: 3.4 GHz
Built-in memory: 16,384.0 MB
Real memory available to Lightroom: 16,384.0 MB
(Edited)
Photo of Merk

Merk

  • 5 Posts
  • 1 Reply Like
This sounds similar to what happened to me - (you can see my post and solution on page 2). I have two suggestions you can try to fix this.

1. In LR, go into whatever folder LR thinks these images should be in and try deleting or renaming them while you in that folder. 

2. if the above doesn't work, try replacing/renaming whatever files LR thinks are missing. You said they show as blank with no file name, so not sure if you can do that since it's not telling you what file it's looking for.