Hi,
We are seeing the following error on many of our pages in the Umbraco back end which is preventing us from publishing those pages.
2017-11-17 14:02:23,321 [P3088/D3/T30] WARN umbraco.macro - Error loading MacroEngine script (file: Quotation.cshtml, Type: ''. Exception: System.ArgumentNullException: Value cannot be null.
Parameter name: node
at umbraco.MacroEngines.DynamicNodeContext.SetMembers(MacroModel macro, INode node)
at umbraco.MacroEngines.RazorMacroEngine.InjectContext(WebPage razorWebPage, MacroModel macro, INode currentPage)
at umbraco.MacroEngines.RazorMacroEngine.ExecuteRazor(MacroModel macro, INode currentPage)
at umbraco.MacroEngines.RazorMacroEngine.Execute(MacroModel macro, INode currentPage)
at umbraco.macro.loadMacroScript(MacroModel macro)
at umbraco.macro.renderMacro(Hashtable pageElements, Int32 pageId)
The macros don't seem to be loading correctly, although have done in the past.
Removing the macros allows the pages to be published. Adding the same macros back to the pages allows them to be published successfully.
However, re-adding the same macros before re-publishing does not work.
This does not affect all macros, or all pages with macros. For a specific type of macro, there are pages that do and don't have the issue.
We are also seeing a page that is giving a blank error (no stack trace) on publish, but the logs claim that it is publishing successfully.
The preview shows the correct page, but the page is not actually updated on the front end.
Issue publishing pages - error loading macroengine script
Hi, We are seeing the following error on many of our pages in the Umbraco back end which is preventing us from publishing those pages.
The macros don't seem to be loading correctly, although have done in the past. Removing the macros allows the pages to be published. Adding the same macros back to the pages allows them to be published successfully. However, re-adding the same macros before re-publishing does not work. This does not affect all macros, or all pages with macros. For a specific type of macro, there are pages that do and don't have the issue.
We are also seeing a page that is giving a blank error (no stack trace) on publish, but the logs claim that it is publishing successfully. The preview shows the correct page, but the page is not actually updated on the front end.
Any suggestions appreciated.
is working on a reply...