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 <ganius...@gmail.com> wrote: > 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 for you and for other users. > > Best regards. > Marcin Haba (gani) > > On Tue, 7 May 2019 at 04:47, Elias Pereira <empbi...@gmail.com> wrote: > > > > 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 <j.se...@gmail.com> wrote: > >> > >> 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 value in write context (@line 1 > in file > /usr/share/baculum/htdocs/framework/pradosoft/prado/framework/TComponent.php(1229) > : eval()'d code). > >> > >> Source File > >> > /usr/share/baculum/htdocs/framework/pradosoft/prado/framework/PradoBase.php > (193) > >> > >> 0182: * PHP shutdown function used to catch fatal errors. > >> 0183: * This method should be registered as PHP error handler using > >> 0184: * {@link register_shutdown_function}. The method throws an > exception that > >> 0185: * contains the error information. > >> 0186: */ > >> 0187: public static function phpFatalErrorHandler() > >> 0188: { > >> 0189: $error = error_get_last(); > >> 0190: if ($error && > >> 0191: TPhpErrorException::isFatalError($error) && > >> 0192: error_reporting() & $error['type']) { > >> 0193: self::exceptionHandler(new > TPhpFatalErrorException($error['type'], $error['message'], $error['file'], > $error['line'])); > >> 0194: } > >> 0195: } > >> 0196: > >> 0197: /** > >> 0198: * Default exception handler. > >> 0199: * This method should be registered as default exception > handler using > >> 0200: * {@link set_exception_handler}. The method tries to use the > errorhandler > >> 0201: * module of the Prado application to handle the exception. > >> 0202: * If the application or the module does not exist, it simply > echoes the > >> 0203: * exception. > >> 0204: * @param Exception $exception exception that is not caught > >> 0205: */ > >> > >> Stack Trace > >> #0 [internal function]: Prado\PradoBase::phpFatalErrorHandler() > >> #1 {main} > >> > >> -- > >> ############################# > >> # Sistema Operativo: Debian # > >> # Caracas, Venezuela # > >> ############################# > >> _______________________________________________ > >> Bacula-users mailing list > >> Bacula-users@lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/bacula-users > > > > > > > > -- > > Elias Pereira > > _______________________________________________ > > Bacula-users mailing list > > Bacula-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/bacula-users > > > > -- > "Greater love hath no man than this, that a man lay down his life for > his friends." Jesus Christ > > "Większej miłości nikt nie ma nad tę, jak gdy kto życie swoje kładzie > za przyjaciół swoich." Jezus Chrystus > -- Elias Pereira
_______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users