WP OnlyOffice DocSpace plugin - fatal error after installation

Hi,

I found a problem while installing a DocSpace plugin on my wordpress website.

I have checked possible conflict with other plugins and I found a problem with MainWP Child, when it is activated, I get fatal error like below.

Debug error:
[02-Feb-2026 14:25:49 UTC] PHP Fatal error: Uncaught Error: Call to a member function get_contents() on null in /home/klient.dhosting.pl/webhostop1/dev2.dominikanie.pl-ooc9/public_html/wp-content/plugins/onlyoffice-docspace/pages/main/class-oodsp-main-page.php:116
Stack trace:
#0 /home/klient.dhosting.pl/webhostop1/dev2.dominikanie.pl-ooc9/public_html/wp-includes/class-wp-hook.php(341): OODSP_Main_Page->init_menu(‘’)
#1 /home/klient.dhosting.pl/webhostop1/dev2.dominikanie.pl-ooc9/public_html/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters(NULL, Array)
#2 /home/klient.dhosting.pl/webhostop1/dev2.dominikanie.pl-ooc9/public_html/wp-includes/plugin.php(522): WP_Hook->do_action(Array)
#3 /home/klient.dhosting.pl/webhostop1/dev2.dominikanie.pl-ooc9/public_html/wp-admin/includes/menu.php(161): do_action(‘admin_menu’, ‘’)
#4 /home/klient.dhosting.pl/webhostop1/dev2.dominikanie.pl-ooc9/public_html/wp-admin/menu.php(437): require_once(‘/home/klient.dh…’)
#5 /home/klient.dhosting.pl/webhostop1/dev2.dominikanie.pl-ooc9/public_html/wp-admin/admin.php(163): require(‘/home/klient.dh…’)
#6 /home/klient.dhosting.pl/webhostop1/dev2.dominikanie.pl-ooc9/public_html/wp-admin/plugins.php(10): require_once(‘/home/klient.dh…’)
#7 {main}
thrown in /home/klient.dhosting.pl/webhostop1/dev2.dominikanie.pl-ooc9/public_html/wp-content/plugins/onlyoffice-docspace/pages/main/class-oodsp-main-page.php on line 116

Wolud you find, what is wrong with those two plugins?

Best regards,
Dominik

Hello @DominikS

Please provide versions of used DocSpace, WordPress and connector app.

Can you share a link to the plugin or an installation guide of it?

Hello,

I use online DocSpace, in info it shows:
ONLYOFFICE DocSpace v.3.6.1.8536
ONLYOFFICE Docs v.9.2.1.8

Wordpress 6.9

Under this link Getting started with MainWP - MainWP WordPress Management there is a configuration guide of dashboard plugin first and below it is installation of child plugin.

Thank you.

Do I understand correctly that it works correctly with MainWP disabled?

According to the source code line 116 refers to logo of a site:

There is also a note that it is compatible with WordPress 6.8, but I would like you to confirm that the issue reproduces without MainWP to run some tests from our end.

Yes, if I deactivate WPMain Child plugin, DocSpace Plugin works fine. They cannot work together.

Thanks for the confirmation. We are running tests, I’ll provide a feedback. Please await my response.

UPD: QA has confirmed the issue, it is registered in our internal bug tracker under the number 80226. I will let you know once fix becomes available.

Hello,

I found that new version 6.x of MainWP Child overcome the error, and now OnlyOffice plugin can work together with MainWP.

1 Like

Thank you for the follow-up. I will forward this information to QA team to confirm on our side too.