P
P
Pryby2021-05-07 17:36:13
MODX
Pryby, 2021-05-07 17:36:13

The Compare plugin does not save, how can I fix it?

On the page where you can add to the comparison, here is such an error

GET //evo/compare_parent?data%5B0%5D%5B%5D=6&data%5B1%5D%5B%5D=5&data %5B2%5D%5B%5D=4&data%5B3%5D%5B%5D=3500 (Internal server error)

When adding, adds and deletes, but for some reason does not store in cookies, after updating the page there is no data.
609550277372d833362356.png

in the logs writes like this
« Evolution CMS Parse Error »
SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND (c.parent IN ('0','2','7') OR c.id IN('0','2' ,'7')) AND c.deleted=0 AND c.pu' at line 1


Log
EvolutionCMS\Core->processRoutes()
index.php on line 137
Illuminate\Pipeline\Pipeline->then(Closure $var1)
core/src/Core.php on line 2692
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure }(Illuminate\Http\Request $var1)
core/vendor/illuminate/pipeline/Pipeline.php on line 103
EvolutionCMS\Core->EvolutionCMS\{closure}(Illuminate\Http\Request $var1)
core/vendor/illuminate/pipeline /Pipeline.php on line 128
Illuminate\Routing\Router->dispatch(Illuminate\Http\Request $var1)
core/src/Core.php on line 2691
Illuminate\Routing\Router->dispatchToRoute(Illuminate\Http\Request $var1 )
core/vendor/illuminate/routing/Router.php on line 625
core/vendor/illuminate/routing/Router.php on line 636 Illuminate\Routing\ Router-
>runRouteWithinStack(Illuminate\ Routing\Route $var1, Illuminate\Http\Request $var2)
core/vendor/illuminate/routing/Router.php on line 670
Illuminate\Pipeline\Pipeline->then(Closure $var1)
core/vendor/illuminate/routing/Router .php on line 695
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Illuminate\Http\Request $var1)
core/vendor/illuminate/pipeline/Pipeline.php on line 103
Illuminate\Routing\Router->Illuminate \Routing\{closure}(Illuminate\Http\Request $var1)
core/vendor/illuminate/pipeline/Pipeline.php on line 128
Illuminate\Routing\Route->run() core / vendor /illuminate/routing /
Router.php on line 693 230 EvolutionCMS\Core->executeParser() core /src/Extensions/Router.php on line 25 EvolutionCMS\Core->sendErrorPage() core/src/Core.php on line 2783 EvolutionCMS\Core->invokeEvent('OnPageNotFound') core/src/Core.php on line 505 EvolutionCMS\Core->evalPlugin(string $var1 , array $var2) core/src/Core.php on line 5642 eval()
core/src/Core.php on line 1854
require(string $var1)
core/src/Core.php(1854) : eval()'d code on line 14
EvolutionCMS\Core->runSnippet('DocLister', array $var2 )
assets/snippets/compare/plugin.compare.php on line 87
EvolutionCMS\Core->evalSnippet(string $var1, array $var2)
core/src/Core.php on line 4418
eval()
core/src/Core.php on line 1918
require(string $var1)
core/src/Core.php(1918) : eval()'d code on line 1
site_contentDocLister->getDocs()
assets/snippets/DocLister/snippet.DocLister.php on line 42
site_contentDocLister ->getChildrenList()
assets/snippets/DocLister/core/controller/site_content.php on line 87
DocLister->dbQuery(string $var1)
assets/snippets/DocLister/core/controller/site_content.php on line 573
EvolutionCMS\Database->query(string $var1)
assets/snippets/DocLister/core/DocLister.abstract.php on line 1772

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question