Metadata Browse module not working with Freedom Theme

I had been playing around with the Metadata Browse settings and double checking everything, but the metadata was simply not creating links in my installation with Freedom theme. As soon as I switched over to Default theme, they work. I’m not sure if this is a known issue, but I just wanted to throw it out there. Is there a simple way for me to fix this in the Freedom theme?

More Info:
In the error log, there are many lines pointing to MetadataBrowse/Module.php on line 181 …
PHP Fatal error: Uncaught Error: Call to a member function getParams() on null

The line of code on line 181 is
$routeMatchParams = $routeMatch->getParams();

Also, there is another error on the same line that says:
PHP Deprecated: Creation of dynamic property Laminas\Http\PhpEnvironment\Response::$headersSent is deprecated in /home/schaffer/dev.schafferlibrarycollections.org/vendor/laminas/laminas-http/src/PhpEnvironment/Response.php on line 113

So, if $headersSent is deprecated, do I simply replace that with something else? Though I don’t understand as why one theme works over another, when those files have nothing to do with the theme.

Version info: using Omeka 4.1.1 , Freedom Theme 1.0.6, and Metadata Browse is 1.6.0.

My list of other modules installed are:

  • Block Disposition
  • Bulk Import
  • Common
  • CSS Editor
  • CSV Import
  • Custom Vocab
  • Easy Admin
  • IIIF Server
  • Image Annotate
  • Image Sever
  • JQueryUI
  • Log
  • Mapping
  • Numeric Data Types
  • Role Based Navigation
  • Timeline
  • Universal Viewer

Thanks for any help!

Hi @schaffer , I’m not sure exactly what’s causing your problem, but I wanted to say that I tested on the same versions of Omeka S, Freedom Theme, and Metadata Browse and Metadata Browse is working as expected.

I don’t have all of the other modules installed. One of them may be interfering and causing the problem. You might try deactivating them one by one to see if that is the case.