Overview

I addressed the same error in the following article.

However, there were cases where the error could not be resolved even after applying the above fix, so I describe additional measures here.

Error Details

The error details are as follows. In particular, it occurred when jsonapi_search_api_facets was enabled.

{""""""}}}}"{""""""}""}}"""}""jvmlsh,etsdlvh,ih,sfl,meseeierriteiirnroiiexortnlertatnaefeulntcnsakffoltak"fofreeaeai"s""reuis:"""c"""ppo:"::s"sl":::e:::tin:":"":{"i""{{":::"{":"8{o::{h"{hh/3nt[B""tt{a"{"ta4Ittp:1pd0nppp.:0p::/"0/R"u//vS"/e,t//ey,jqlwnmsuvowdfoeacwoonsla.rnatulw/yp"eh3s\i,o.y\.\somCo"trforp:gomga6/np/g1Pyofe1r/no\1oher"7ttnm/ottacwcp\toeo-\/nblkH1t/set.aj/rt0isrnp/nofeF"sncloa2/uap6Hni1tdn/6taoi/ptnnrKi-dfeosecrncx2n\a/6e\ld1lEao6.xrc-pcushevmeppaec"tln1,iut0oe?.n.ph\"at\,gmBela%#d5sRBeelcqi1um0ei.st4t%.E51xD"c=e2p4t&isoonr:t=Ifnipeultd_viadl"ue\"page\"containsanon-scalarvalue.in/app/vendor/symfony/http-foundation/InputBag.php:38\nStacktrace:\n#0/app/web/modules/contrib/facets/src/Plugin/facets/url_processor/QueryString.php(92):Symfony\\Component\\HttpFoundation\\InputBag->get('page')\n#1/app/web/modules/contrib/facets/src/Plugin/facets/processor/UrlProcessorHandler.php(76):Drupal\\facets\\Plugin\\facets\\url_processor\\QueryString->buildUrls(Object(Drupal\\facets\\Entity\\Facet),Array)\n#2/app/web/modules/contrib/facets/src/FacetManager/DefaultFacetManager.php(339):

Solution

I modified the buildUrls method in the file mentioned above.

<nuuuuuuuuuuuuuc?assssssssssssslpmeeeeeeeeeeeeeapheQ@supsDDDDDDDDDSSSDuFsbi}$i}i}prrrrrrrrryyyreaild{lfgffauuuuuuuuummmurcdaeQ@ire$$$u$cpppppppppfffpyebsuicN(eFtWpC(cgA(pngeaaaaaaaaaoooat=ecenoeti_hoo$ued$aselllllllllnnnlsslrrhfmurpesmgrtdggetD\\\\\\\\yyy\tU"iyeurprsansmer_eeet_rCCCffffff\\jrrq=pSrnetntrietepdt_(puoooaaaaaaCCCsilutticsyaabn_na_p$aprrrccccccoooonPe@irttu([gmdltptrpapraeeeeeeeeemmmngrrToidil$]esdyea_aaraal\\\ttttttpppaoyrnnootr;tidrpmragm\CEEssssssooopUc_agcnse=nraasamesfanv\\\\\\nnniResn=}stgeomg-ms_-acteEEEFUUeee\Lstsebauh$/suse>sp>chinvvvartnnnQsrl@xurletrut-r-=aseetteeeclitttupoiaTtiethel>=e>retySnnnePl\\\errntrelscimthmh$atsUuttttriDEHro(giandf)usoia$oagm(\nEb\\\Iotevtyc"ondUo)r-vnsgvsesOPcnsAQUncypet\e,nssrur>ig(ee(t[flhtccurte\enpOs(lln{ern't(O_OfuairtelesFntFfs"aUsdnegip_'fpfsgntiirCrsadDofoQtr(tqnappfafeigybvyrfoceiusruilFfuagaasrstniTeeSearensne.eoPaoleaergeaeP\nyrFtac\tcpdtrnrcrisfn'aetmtafgp\irteUsyaaPy(oesti)m'PsPgaCeMlie;rUItta"cttt-li)s)a-aecaMatndlrncigsQeIh>tn-;g>g:ecaieg;Pljhoetusnioqev{>eae:thnnrCrGeen;restsfurag:l:KseaCsroecr\iroeele:l:E\agoPecnt\RnyrrfgrtitK(OYubenaaeeiEegPfaeyhd(EOF_rlrtrtsrovq"slact;e'YfFNleIesesaneuA)tucepp_fSA_Dnnedot\ned,rgetpnaaNsEMpettd;roCtsdii,auggAeTErpeV;ProDtenn$rmeeMt_,oeril;ni;dgBfsab'EPKcnfeutsaaomep))aE$edawgapiscera;)gYpsecSiiaseedtre]asneunnttoeoa{:)goc;bBect{,nrfm:;erysarhh'seK_;TcsIeeat.ptEprrenrraeYaai;tIdrtgr_ribeneare.NatertfyysAm;rfeaMs;aru$tmE)cflroa);eatey;;csceFurh;aleactavestet)esc{uhUraRlnLsg.epdr,ocessor,andusesGETparameters,forexample?f[0]=brand:drupal&f[1]=color:blue")

The above modification was made by referencing the following file, adding Drupal\jsonapi\Query\OffsetPage and modifying thepageprocessing.

/modules/contrib/jsonapi_search_api/modules/jsonapi_search_api_facets/src/Plugin/facets/url_processor/JsonApiQueryString.php

Summary

The error no longer occurs after the above fix, but I am not confident this is the correct approach, so please exercise caution if using this as a reference.

I hope this is helpful.