Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic Aurora

 AfterLogic Forum : AfterLogic Aurora
Subject Topic: File sharing issue Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
solkmaaker
Senior Member
Senior Member


Joined: 28 June 2020
Online Status: Offline
Posts: 178
Posted: 19 May 2025 at 12:57am | IP Logged Quote solkmaaker

Hello Igor, can you please test this:

Create some document on your personal files.
Share this document with one teammate (read/write).
And then, let that teammate view or edit this shared document.

I'm getting error:
Code:

[Fatal error: Uncaught TypeError: method_exists(): Argument #1 ($object_or_class) must be of type object|string, bool given in /var/www/vendor/afterlogic/dav/lib/DAV/Server.php:407 Stack trace: #0 /var/www/vendor/afterlogic/dav/lib/DAV/Server.php(407): method_exists(false, 'init') #1 /var/www/modules/OfficeDocumentEditor/Module.php(951): Afterlogic\DAV\Server::getNodeForPath('files/shared/Ne...', 'user1@domain.com') #2 /var/www/modules/OfficeDocumentEditor/Module.php(970): Aurora\Modules\OfficeDocumentEditor\Module->getHistoryDir(Object(Aurora\Modules\Files\Classes\FileItem)) #3 /var/www/modules/OfficeDocumentEditor/Module.php(364): Aurora\Modules\OfficeDocumentEditor\Module->getHistory(Object(Aurora\Modules\Files\Classes\FileItem), '3c212038357b276...', 'https://test.po...') #4 [internal function]: Aurora\Modules\OfficeDocumentEditor\Module->EntryEditor() #5 /var/www/system/Router.php(103): call_user_func_array(Array, Array) #6 /var/www/system/Module/Manager.php(608): Aurora\System\Router->route('editor') #7 /var/www/system/Application.php(154): Aurora\System\Module\Manager->RunEntry('editor') #8 /var/www/system/Application.php(122): Aurora\System\Application->Route('editor') #9 /var/www/index.php(21): Aurora\System\Application::Start() #10 {main} thrown in /var/www/vendor/afterlogic/dav/lib/DAV/Server.php on line 407]


user1 is the user whom document was shared.

Aurora v9.8.1
PHP 8.2.28
Debian 12
Back to Top View solkmaaker's Profile Search for other posts by solkmaaker
 
solkmaaker
Senior Member
Senior Member


Joined: 28 June 2020
Online Status: Offline
Posts: 178
Posted: 19 May 2025 at 1:19am | IP Logged Quote solkmaaker

Update.

This does not happen with aurora 9.8.0, PHP 7.4.33, Debian 11
Back to Top View solkmaaker's Profile Search for other posts by solkmaaker
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6145
Posted: 26 May 2025 at 3:57am | IP Logged Quote Igor

Curious. I suppose this could indeed be related to specific PHP version used - our primary server runs PHP 8.1 and I didn't encounter such an issue there. I have asked our devs to take a look.

--
Regards,
Igor, Afterlogic
Back to Top View Igor's Profile Search for other posts by Igor
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide