Quantcast
Channel: Joomla! Forum - community, help and support
Viewing all articles
Browse latest Browse all 2616

General Questions/New to Joomla! 5.x • Re: Line: 323 Message: Call to a member function getParams() on null

$
0
0
I don't know exactly what the problem is, but these three lines, 308-310, are the place to look:

Code:

        } elseif (\in_array($view, ['category', 'featured', 'archive'])) {            $additionalSchemas = $cache->get(function ($view, $id) use ($component, $baseId, $app, $db) {                $menu = $app->getMenu()->getActive();
It looks like $menu is null. So, looking at your request URI it may be there is no menu item for it:

[REQUEST_URI] => /index.php?option=com_content&view=category&layout=blog&id=2&Itemid=4

Does that help?

Statistics: Posted by ceford — Tue Jan 09, 2024 12:10 pm



Viewing all articles
Browse latest Browse all 2616

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>