Manage timeline error 14.0.0-B1
in index, organization account the menu timeline in the left https://www.exemple.com/timeline-manage?owner=1 from Profile stats Block I noticed this error after disabling the timeline menu from view view-organization-profile, but the error is also visible for Person and Org users
get an Fatal error:
Declaration of BxTimelineGridMute::init() must be compatible with BxDolGridConnections::init($bForceInit = false) in /opt/una/modules/boonex/timeline/classes/BxTimelineGridMute.php on line 27
any suggestion how I could solve this error is welcome.
-
-
·
LeonidS
- ·
Hello @ORV !
Looks like a little glitch. Try to use this code for the init method in the BxTimelineGridMute file:
public function init($bForceInit = false) { if(!parent::init($bForceInit)) return false; $aSQLParts = $this->_oConnection->getConnectedContentAsSQLParts('p', 'id', $this->_oProfile->id()); $this->addMarkers(array( 'join_connections' => $aSQLParts['join'] )); return true; }
-
·
LeonidS
-
-
·
LeonidS
- ·
The ticket has been created too https://github.com/unacms/una/issues/4723
-
·
LeonidS
-
- · Romulus
-
·
In reply to LeonidS
- ·
I'm glad you opened a ticket for this error.
-
- · Mayki
- ·
Hello @LeonidS
there is an typo error in first line!
Now is publicfunction but it must be public function
Best regards
Mayki
-
- · Mayki
- ·
And yes, after I manually changed the code in a file "/una/modules/boonex/timeline/classes/BxTimelineGridMute.php"
the Error 500 is gone and the URL "https://www(dot)exemple(dot)com/timeline-manage?owner=1" now works.
Thank you