Issue with OJS Immersion Theme - Uncaught Exception: Unrecognized DAO SectionDAO!

Hi all,

I’m running a new installation of OJS 3.04-1 on Ubuntu 22.04 with PHP 8.1 and Apache2.

I have a strange problem with the Immersion theme. Everything seems to work, except for the ‘Issue Data’ tab, where Immersion injects its custom section colour options.

When I access that tab, I see nothing - just an empty tab.

There are two error events that are of note.

The first occurs when the website is first loaded. This seems to be an Apache2 error rather than a problem with OJS, per se.

[Sun Jul 30 08:36:39.686889 2023] [php:notice] [pid 1305] [client ] Server host “” not allowed!

[Sun Jul 30 08:36:39.686935 2023] [php:notice] [pid 1305] [client] ojs2: 400 Bad Request

[Sun Jul 30 08:41:56.935671 2023] [php:notice] [pid 982] [client] Server host “” not allowed!

[Sun Jul 30 08:41:56.935736 2023] [php:notice] [pid 982] [client] ojs2: 400 Bad Request

And the second occurs when the ‘Issue Data’ tab is accessed.

[Sun Jul 30 08:58:45.433240 2023] [php:error] [pid 2326] [client ] PHP Fatal error: Uncaught Exception: Unrecognized DAO SectionDAO! in /var/www/html/ojs/lib/pkp/classes/db/DAORegistry.php:77\nStack trace:\n#0 /var/www/html/ojs/plugins/themes/immersion/ PKP\db\DAORegistry::getDAO()\n#1 [internal function]: ImmersionThemePlugin->addToIssueForm()\n#2 /var/www/html/ojs/lib/pkp/classes/plugins/Hook.php(140): call_user_func_array()\n#3 /var/www/html/ojs/lib/pkp/classes/plugins/Hook.php(113): PKP\plugins\Hook::run()\n#4 /var/www/html/ojs/lib/pkp/classes/form/Form.php(182): PKP\plugins\Hook::call()\n#5 /var/www/html/ojs/controllers/grid/issues/form/IssueForm.php(112): PKP\form\Form->fetch()\n#6 /var/www/html/ojs/classes/controllers/grid/issues/IssueGridHandler.php(211): APP\controllers\grid\issues\form\IssueForm->fetch()\n#7 [internal function]: APP\controllers\grid\issues\IssueGridHandler->editIssueData()\n#8 /var/www/html/ojs/lib/pkp/classes/core/PKPRouter.php(334): call_user_func()\n#9 /var/www/html/ojs/lib/pkp/classes/core/PKPComponentRouter.php(291): PKP\core\PKPRouter->_authorizeInitializeAndCallRequest()\n#10 /var/www/html/ojs/lib/pkp/classes/core/Dispatcher.php(165): PKP\core\PKPComponentRouter->route()\n#11 /var/www/html/ojs/lib/pkp/classes/core/PKPApplication.php(373): PKP\core\Dispatcher->dispatch()\n#12 /var/www/html/ojs/index.php(21): PKP\core\PKPApplication->execute()\n#13 {main}\n thrown in /var/www/html/ojs/lib/pkp/classes/db/DAORegistry.php on line 77, referer: https:///index.php/testjournal/manageIssues

If anybody has any idea how to fix this, I’d be extremely grateful. Not only so that I can access the custom colours, but also because we effectively cannot use this theme unless we can get access to the ‘Issue Data’ tab.

I should add, both errors are from the Apache log.


Appears to be the same issue in a different form. I’m still not quite sure how to effect a fix yet, though.

Do I merely need to make the changes outlined here?

I’ve figured out my mistake.

I downloaded 1.1.2 dated March 2 from the github releases section, rather than the most recent version from the ‘code’ option on the main page.

Hi @orsova,

Glad you’ve resolved the issue!

Cross-posted: New Install: Uncaught Exception: Unrecognized DAO SectionDAO! · Issue #87 · pkp/immersion · GitHub

Next time, please don’t cross-post in multiple places; the support forum (here) is the best place to get started. It’ll probably take a few days (especially if it’s over a weekend) before someone on the team can look at it; we’re a small team with a lot of competing responsibilities.

Alec Smecher
Public Knowledge Project Team

1 Like

Sincere apologies. Appreciate the correction.

It didn’t even occur to me that I was effectively addressing the same people in two places.

1 Like

Hi @orsova,

No worries – and thanks for following up with the resolution!

Alec Smecher
Public Knowledge Project Team

1 Like

Hi Alec,

I have another issue, to do with the Citations plugin, open over on Github. Would it be acceptable for me to close that issue over there, and then post it here? It seems like I’d have a better chance of getting more eyeballs on it here - but I don’t want to double up.

This topic was automatically closed after 7 days. New replies are no longer allowed.