Fatal error: Uncaught Error: Call to a member function getPosts() on null in /var/www/vhosts/borbaeoliveira.com.br/httpdocs/site/hooks/view-plugins/blog.php:31
Stack trace:
#0 /var/www/vhosts/borbaeoliveira.com.br/httpdocs/site/_cache/twig/80/804e0d6eb688fad0a7e9a9f7c50411f6005b936a8a263d2333c84bd458454f87.php(36): Lib\Hooks::{closure}()
#1 /var/www/vhosts/borbaeoliveira.com.br/httpdocs/vendor/twig/twig/src/Template.php(453): __TwigTemplate_3983f20167960742bb231b99ad0c1540b36dd39985da4cdc3b3cc4a1db33095c->doDisplay()
#2 /var/www/vhosts/borbaeoliveira.com.br/httpdocs/vendor/twig/twig/src/Template.php(420): Twig\Template->displayWithErrorHandling()
#3 /var/www/vhosts/borbaeoliveira.com.br/httpdocs/vendor/twig/twig/src/Template.php(432): Twig\Template->display()
#4 /var/www/vhosts/borbaeoliveira.com.br/httpdocs/vendor/twig/twig/src/TemplateWrapper.php(47): Twig\Template->render()
#5 /var/www/vhosts/borbaeoliveira.com.br/httpdocs/vendor/twig/twig/src/Environment.php(384): Twig\TemplateWrapper->render()
#6 /var/www/vhosts/borb in /var/www/vhosts/borbaeoliveira.com.br/httpdocs/site/hooks/view-plugins/blog.php on line 31