v 1.3.0.beta2 issue with blank view_all_bug_page.php page

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
djr4035
Posts: 2
Joined: 26 Aug 2015, 18:00

v 1.3.0.beta2 issue with blank view_all_bug_page.php page

Post by djr4035 »

nginx log shows the following:

2015/08/26 13:57:09 [error] 19346#0: *4512 FastCGI sent in stderr: "PHP message: PHP Fatal error: Declaration of SourceRelatedChangesetsColumn::display() must be compatible with MantisColumn::display(BugData $p_bug, $p_columns_target) in /opt/mantisbt/mantisbt-1.3.0-beta.2/plugins/Source/classes/RelatedChangesetsColumn.class.php on line 6" while reading response header from upstream, client: 192.168.100.129, server: 192.168.100.23, request: "GET /view_all_bug_page.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php-fpm/php-fpm.sock:", host: "mbtserver", referrer: "http://mbtserver/manage_plugin_page.php"
djr4035
Posts: 2
Joined: 26 Aug 2015, 18:00

Re: v 1.3.0.beta2 issue with blank view_all_bug_page.php pag

Post by djr4035 »

I have fixed the issue, it was related to the Source Integration plugin.

On Line 48 of the RelatedChangesetsColumn.class.php file:

change the

Code: Select all

public function display($p_bug, $p_columns_target )
to

Code: Select all

public function display(BugData $p_bug, $p_columns_target )
and should make the page renderable.
Mantis: 1.3.0-beta.2
PHP: 5.4.16-36.el7_1
SQL: mariadb 1:5.5.41-2.el7_0
OS: RHEL 7
Post Reply