Using Sitecore Experience Accelerator (SXA) without installing JSS, and opening a page in the JSON device might lead to the following error:
Could not find method: Process. Pipeline: /sitecore[database="SqlServer" xmlns:patch="http://www.sitecore.net/xmlconfig/"]/pipelines/group[groupName="layoutService" patch:source="Sitecore.XA.Feature.LayoutServices.Integration.config"]/pipelines/renderJsonRendering[performanceCritical="true" patch:source="Sitecore.LayoutService.config"]/processor
When installing JSS the type parameter is added. Without JSS, SXA adds an empty <processor> node to the <renderJsonRendering> pipeline for JSS compatibility, and the processor does not have the type parameter.
To resolve the issue, upgrade the Sitecore XP instance to Sitecore XP 10.0 and SXA 10.0.0 or later.
Alternatively, remove the empty <processor> node, by creating a configuration patch file in the \App_Config\Include\zzz folder.
For example:
<?xml version="1.0" encoding="utf-8" ?> <configuration xmlns:patch="http://www.sitecore.net/xmlconfig/"> <sitecore> <pipelines> <group groupName="layoutService"> <pipelines> <renderJsonRendering> <processor> <!-- Delete Empty Processor: --> <patch:delete /> <!-- This line to get engine to identify proper node to delete --> <AllowedConfigurations hint="list"></AllowedConfigurations> </processor> </renderJsonRendering> </pipelines> </group> </pipelines> </sitecore> </configuration>