/ Id-Extras Forum / MasterMatic: Line 45 Error
March 31, 2021 at 9:14 pm #6176
What does the following error message mean:
When I try to match the object style with the master page to apply to a page an error message pops up saying: Reference error (unintelligible text) is undefined line 45. The script will now quit.
DaveMarch 31, 2021 at 9:19 pm #6352
Thanks for posting your question here.
My guess is that there is an object style you’re referencing that doesn’t exist in the current document. But I’m not sure about that.
So, just to clarify: Does this error only happen with object styles, or also paragraph styles? Does it happen in all documents or only this one? Does it happen all the time, or only occasionally? Have you tried restarting InDesign?
If it happens repeatedly with a specific document, I’ll be happy to take a closer look if you send me the document.
ArielApril 1, 2021 at 6:39 pm #6353
Yes. Only happens with object styles. Not specific to particular document. Yes. happens in all documents and all of the time. Restarted numerous times.
The attachment is not complete, still being edited.
Best, DaveApril 2, 2021 at 12:25 pm #6354
Thanks for sending over the document.
When I run Mastermatic on it I see that there are no actual Mastermatic settings in that document. All the fields and dropdowns are blank. If I try to attach an object style to a master page at random, everything seems to be working fine.
Could you send me a screenshot of the settings you’re using in Mastermatic?
ArielApril 5, 2021 at 9:13 pm #6355
See attached screenshot of settings.April 5, 2021 at 9:15 pm #6356
Hope you had a good weekend. See the next attachment when I run it.April 5, 2021 at 9:22 pm #6357
An observation. Within the Object styles column, when I tick the box “apply master page until the next change”, then it returns the error 45 errorApril 5, 2021 at 10:11 pm #6358
Thanks for this info. I’m able to reproduce the error too. I’ll try and get a fix out soon.
ArielApril 5, 2021 at 10:48 pm #6359
Thanks. You’re welcome.
DaveApril 5, 2021 at 11:45 pm #6360
I think it’s fixed now. You can download version 2.3.3 here: https://www.id-extras.com/shopping-cart/my-account/
Let me know how it goes!
ArielApril 6, 2021 at 7:01 pm #6361
Thanks Ariel for identifying the bug and resolving. Great service.