Skip to main content
Inspiring
March 12, 2018
Answered

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

  • March 12, 2018
  • 25 replies
  • 48626 views

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 has been closed for replies.
Correct answer tomtel49

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.

25 replies

DallasH
Participant
January 29, 2022

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).   

 

 

heatherw66542513
Participant
July 22, 2022

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!

johnrellis
Legend
July 22, 2022

@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.

julib98550
Participant
August 20, 2021

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.

Participant
November 29, 2020

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?

davidp50338776
Participating Frequently
November 29, 2020
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.
Participant
December 17, 2020

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

johnrellis
Legend
November 6, 2020

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.]

 

Participating Frequently
October 26, 2020

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

 

Participant
October 27, 2020

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

Participating Frequently
October 27, 2020

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

JBedfordPhoto
Inspiring
August 27, 2020

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?

christopherm33591908
Participating Frequently
July 14, 2020

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

Participant
June 28, 2020

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.

joannet1261345
Participant
January 6, 2020

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

Photo10KH
Participant
October 10, 2019

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).