I have tried to deploy my Grav project to Apache, but it’s complicated. I have to test before deploy this Grav’s website on shared hosting so I emulated docker-apache-php7.1 enviroment (grav-docker-apache precisely).
When I want to load grav it’s throwing following ErrorException:
“array_merge(): Argument #2 is not an array”
in this line:
$defaults = (array)$config->get(‘system.pages.markdown’); if (isset($this->header()->markdown)) { $defaults = array_merge($defaults, $this->header()->markdown); }
And it’s throwing following ErrorException during load admin:
"Declaration of Grav\Plugin\Babel\BabelSearch::setTokenizer(TeamTNT\TNTSearch\Support\TokenizerInterface $tokenizer) should be compatible with TeamTNT\TNTSearch\ ▶"
Can someone helps me?