Error code 500 in home page Omeka S

Hello,

When starting the home page on Omeka S, I get an error code 500.

The error it throws in the error_log file is as follows:
PHP Notice: Undefined variable: fulltextSearch in /…/application/view/common/cross-site-search/results.phtml on line 87

Any suggestions or help is greatly appreciated.
Thanks

A PHP “notice” message generally isn’t going to cause this kind of “Internal Server Error” screen. You might need to look for something else in your Apache error log.

When I started seeing errors in the metrics field on cPanel, the following error appeared:

[Tue Aug 19 08:05:54.438854 2025] [core:alert] [pid 3606443:tid 3606453] [client 45.165.172.211:34976] /home2/cacakdis/public_html/izlozbe.cacak-dis.rs/.htaccess: Invalid command ‘SetEnv’, perhaps misspelled or defined by a module not included in the server configuration

Yeah, that could definitely be it. If you look in your .htaccess file you’ll see a SetEnv line on top, you could try commenting it out (putting a # at the front of the line so it starts #SetEnv).

You might check with your host as well… it’s pretty uncommon to not have support for SetEnv and it may be something that needs to be reconfigured on the server.