Skip to main content
Inspiring
Mar 12, 2018 6:14 PM UTC
Answered

an internal error occurred: ?:0: attempt to index a nil value

Yesterday and today, when deleting rejected files from my disk, I've received the following error: "an internal error occurred: ?:0: attempt to index a nil value."  What's going on?  This catalog seems OK, Lightroom CC Classic is working, but this is a new twist. What causes this, and what can I do to fix it? I'd rather not do anything that will destabilize my catalog, it's got 13 years of photos and data for a long term research project on harbor seals. Suggestions please!

This topic is closed to new replies. Start a new post to keep the conversation going.
tomtel49
tomtel49Correct answer
Inspiring
Jul 6, 2018 10:38 AM UTC

Since no answer exist for this issue and I have encountered the same error while creating a new "Folder" and "Gallery" in Lightroom Publishing services - only to encounter this error.

I did find a FIX -

* - Edit settings for the Plug In (Assuming this is the item that is having the issue - for me it was)

* - Under the Publishing and Syncing panel make sure "Sync Photos" is check and then click on the "Sync Now" button.

This fixed all for me and all is working as should be now.  After doing this, I no longer get the error, and can upload images to my site.

Hope this helps.

75 replies

DallasH
Participant
Jan 29, 2022 10:26 PM UTC

I get a similar error but it's not quite the same.   It happens every time I try to upload a photo book from LrC to Blub.   Adobe has replaced my LrC twice.   It's a big waste of time so far.   They are escalating (finally!) to a higher level technical person soon (nothing scheduled yet).   

 

 

Translate
heatherw66542513
Participant
Jul 22, 2022 9:36 PM UTC

My issue is I'm getting this error "Light room Unexpected error performing command: ?:0: attempts to call method 'makeKeyAndOrderFront' (a nil value)" when I go to COPY my edits on a single photo.  I've ALWAYS been able to do this.  Lots of strange things as well like can't hit control and select a group of images to edit.  

What's up?

 

I'm NOT technical, so please- simple answers and fix!

Translate
johnrellis
Legend
Jul 22, 2022 9:52 PM UTC

@heatherw66542513, you've posted in a old thread whose original topic involved a different error message. Please start a new thread, including:

 

1. A precise description of the steps that your taking

 

2. Screenshots of the error messages. 

 

3. Do the menu command Help > System and copy/paste the output into your post.

Translate
julib98550
Participant
Aug 20, 2021 7:12 PM UTC

I have been receiving this same message when trying to export my finished images. I tried many of the fixes listed in these threads. However, in my case, it turned out to be the catalog that had a problem. I was able to export the images by creating a NEW CATALOG, then importing the images from the original catalog into it, to then export it. Hopefully my sharing this will help someone else. Here are the steps.

File > New Catalog > (name it) Create > the new catalog will then open...

File > Import From Another Catalog > (find original catalog) Double Click to open or click Choose > (check box) Import.
Once the images have completed the import, you may export as you normally would.

Translate
Participant
Nov 29, 2020 10:21 PM UTC

I'm having the same problem with "internal error, ? 0:attempt to index field font (a nil value)", error message occurs everytime I try to email photos from Lightroom CC Classic. Previously it worked fine and now, unable to email directly from Lightroom. What gives?

Translate
davidp50338776
Participating Frequently
Nov 29, 2020 11:15 PM UTC
A known problem. If you are on a Mac, you can get around it by choosing to
use the local Mail program (in the From prompt in the LR window). Before
you do that, you have to have set up Apple's Mail program to use your
normal ail server. For example, I use gmail and set up the Apple Mail to
send and receive using that. A pain in the butt but it at least gets you
going until someone at Adobe gets around to fixing it. Note that you don't
have to use the Apple Mail app otherwise. You can continue using whatever
you normally use.
Translate
Participant
Dec 17, 2020 3:49 PM UTC

I'm having this same issue, but the error is being thrown before I get to the choice of which client to use...  This just started after the lastest drop of Lightroom CC - Release 10 and under DNG Converter 13

Translate
johnrellis
Legend
Nov 6, 2020 12:49 AM UTC

Re sending email from LR: LR 10 broke this, and Adobe has acknowledged the bug:

https://feedback.photoshop.com/conversations/lightroom-classic/lightroom-classic-10-email-not-working-external-error-has-occurred-0-attempt-to-index-field-font-a-nil-value/5f9596bd917fbb287b4e8903 

 

The only known workaround is to roll back to LR 9.4, which could be painful if you've done a lot of work in 10.0 you don't want to lose.

 

Please add your constructive opinion to the bug report, and be sure to click Like and Follow at the bottom of the first post. That will make it a little more likely that Adobe will prioritize a fix, and you'll be notified when the bug's status changes.

 

[Use the blue reply button under the first post to ensure replies sort properly.]

 

Translate
Participating Frequently
Oct 26, 2020 12:13 AM UTC

I am no longer able to send email via Lightroom Classic 10. I have no idea how to fix this.

 

Translate
Participant
Oct 27, 2020 3:47 PM UTC

I found the identical issue today with LR 10. Any solution for this so far ?

Translate
Participating Frequently
Oct 27, 2020 4:45 PM UTC

I've been patiently waiting but have not heard a word about how to fix this. 

Translate
JBedfordPhoto
Inspiring
Aug 27, 2020 3:28 PM UTC

This happens to me all the time, too. I delete a photo, LR gets 'lost' and doesn't know where it is in the grid anymore and displays this silly message. I feel that all that's needed to resolve this is a line of code that tells LR to simply move to the 'next' photo in the grid. Shouldn't be too difficult, right?

Translate
christopherm33591908
Participating Frequently
Jul 14, 2020 12:38 PM UTC

Just had same error using Smugmug.   Syncing now seems to have fixed the problem.

Translate
Participant
Jun 28, 2020 12:51 AM UTC

I realized that the error will only come up if I deleted rejected photos (ctrl+backspace) while I was viewing/selected a rejected photo in loupe view. No issues while viewing an unflagged/picked image or when in grid view. So if this is a problem that ocurrs when deleting rejected photos then use grid view or make sure you're not viewing a rejected photo when you delete all rejected photos because this will bring up the error.

Translate
joannet1261345
Participant
Jan 6, 2020 12:58 PM UTC

Had this very frustrating problem crop up suddenly, and doing a 'Reset Preferences' action at Lr Classic startup finally solved the problem.  For now.

Translate
Photo10KH
Participant
Oct 10, 2019 7:17 AM UTC

I received this error after, having moved my lightroom catalogue to an iMac from an old PC, trying to find missing folders on an external harddrive (Synology NAS).

Translate