Fatal error: Uncaught Error: Call to a member function toArray() on null in /var/www/flowers/data/www/dev2.romashkovo-24.ru/core/cache/includes/elements/modsnippet/124.include.cache.php:6 Stack trace: #0 /var/www/flowers/data/www/dev2.romashkovo-24.ru/core/model/modx/modscript.class.php(76): include() #1 /var/www/flowers/data/www/dev2.romashkovo-24.ru/core/components/pdotools/model/pdotools/pdotools.class.php(390): modScript->process(NULL) #2 /var/www/flowers/data/www/dev2.romashkovo-24.ru/core/components/pdotools/model/pdotools/_micromodx.php(132): pdoTools->runSnippet('!genModalById', Array) #3 /var/www/flowers/data/www/dev2.romashkovo-24.ru/core/components/pdotools/vendor/fenom/fenom/src/Fenom/Template.php(487) : eval()'d code(4): microMODX->runSnippet('!genModalById') #4 /var/www/flowers/data/www/dev2.romashkovo-24.ru/core/components/pdotools/vendor/fenom/fenom/src/Fenom/Render.php(215): Fenom\Template->{closure}(Array, Object(Fenom\Template)) #5 /var/www/flowers/data/www/dev2.romashkovo-24.ru/core/components/pdotools in /var/www/flowers/data/www/dev2.romashkovo-24.ru/core/cache/includes/elements/modsnippet/124.include.cache.php on line 6