Re: [Bacula-users] Baculum Prado\Exceptions\TPhpFatalErrorException

2019-05-07 Thread Jose Alberto
Thanks Marcin. I can solved remove php5 and install php7. all works fine now. Regards. Centos 7 On Mon, May 6, 2019 at 11:41 PM Marcin Haba wrote: > Hello Jose and Elias, > > Thanks for reporting this problem. > > It happens only with old PHP < 5.5 because in those versions empty() > f

Re: [Bacula-users] Baculum Prado\Exceptions\TPhpFatalErrorException

2019-05-07 Thread Elias Pereira
Hello Marcin, Thanks for the feedback and the patch!!! >> The purest truth in your signature!!! :D On Tue, May 7, 2019 at 12:41 AM Marcin Haba wrote: > Hello Jose and Elias, > > Thanks for reporting this problem. > > It happens only with old PHP < 5.5 because in those versions empty() > funct

Re: [Bacula-users] Baculum Prado\Exceptions\TPhpFatalErrorException

2019-05-06 Thread Marcin Haba
Hello Jose and Elias, Thanks for reporting this problem. It happens only with old PHP < 5.5 because in those versions empty() function doesn't support expressions. Usually CentOS 7 users can experience this bug as in this distribution is PHP 5.4. In attachment I am sending patch that fixes it fo

Re: [Bacula-users] Baculum Prado\Exceptions\TPhpFatalErrorException

2019-05-06 Thread Elias Pereira
Hello Jose, Happened to me too! The principle does not seem to be errors, but warnings. I added ~E_WARNING on line 445 (error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT & ~E_WARNING) from the file /etc/php/7.0/apache2/php.ini and resolved. On Mon, May 6, 2019 at 5:50 PM Jose Alberto wrote:

[Bacula-users] Baculum Prado\Exceptions\TPhpFatalErrorException

2019-05-06 Thread Jose Alberto
Hi. i have bacula 9.4.2 and baculum 9.4.3 on Centos 7 amd64. The Baculum problem when Actions menu on Jobs Baculum Menu... Jobs.Colum Actions "Details" the rest without problem Log: Prado\Exceptions\TPhpFatalErrorException Description [Compile Error] Can't use method return valu