Skip to main content
Inspiring
Nov 17, 2014 6:13 AM UTC
Question

P: An internal error has occurred: ?:0: attempt to index field, "?" (a nil value)

This message appears on the screen. "An internal error has occurred: attempt to index field "?" (a nil value). How can I fix this?

This topic is closed to new replies. Start a new post to keep the conversation going.

14 replies

brucekorb
Inspiring
Jan 29, 2026 8:23 PM UTC

How you accommodate it depends on the cause. 100% guaranteed software bug, but LrC won’t reveal what area of the code triggered it. In my case, I got this precise message:

Internal error ?:0 / indexing a NIL value while exporting a JPG

Cause: select two images in the “recent imports” collection and permanently delete one, then export

Solution: switch to the everything collection and then switch back to recents. The selection for the removed photo will be released and export won’t fail on it.

ADOBE thinks that it’s only worthy of discussion and I think that whoever reviewed my bug report has a poor understanding of software. I said as much before, but my bug reporting capability has been disabled, or I’d re-report the bug. (They moved it into a comment on a discussion thread, saying my bug report duplicated the discussion. Wrong.)

Translate
Legend
Jan 5, 2018 10:05 PM UTC
Hi Becky, have you tried updating or reinstalling Shotproof?
Translate
Inspiring
Jan 5, 2018 2:37 PM UTC
Did anybody get any resolution on this? Getting the same error, using a Shootproof plugin on LR 7.1 subscription version running on MacOS Sierra.
Translate
Oct 22, 2017 6:25 PM UTC
Getting the same error - posting to Facebook.
Translate
Oct 22, 2017 6:25 PM UTC
Same here
Translate
Inspiring
Aug 13, 2017 8:46 AM UTC
Also getting the same error - very frustrating
Translate
Inspiring
Aug 6, 2017 7:52 AM UTC

Same here


Translate
Inspiring
Jul 22, 2017 6:15 PM UTC
I am using LR6 and get this error when trying to export to Facebook.  Only started about a month ago (May 2017)
Translate
areohbee
Legend
Jan 3, 2015 11:32 PM UTC
Try Jeffrey Friedl's SmugMug plugin.
Translate
Inspiring
Jan 3, 2015 5:23 PM UTC
I'm having this same problem. Here's the error:

an internal error has occurred: ?:0: attempt to index field 'error' (a nil value)

I'm using LR5.7 (monthly subscription) and Windows 7 OS. The error occurs when I'm trying to publish a Smart Gallery via SmugMug plugin 2.1.8 (says it's updated version). It takes for bloody ever and finally after hours upon hours of doing nothing (but saying operation in progress), there is this error. HELP!!! I need to be able to publish to SM.
Translate