Hi Marcin

Prado\Exceptions\TPhpErrorException
Description

[Notice] Trying to get property of non-object (@line 102 in file
/usr/share/baculum/htdocs/protected/Web/Pages/StorageView.php).
Source File

/usr/share/baculum/htdocs/protected/Web/Pages/StorageView.php (102)

0091:         $devices = array();
0092:         if ($this->getIsAutochanger() && !empty($_SESSION['sd'])) {
0093:             $result = $this->Application->getModule('api')->get(
0094:                 array(
0095:                     'config',
0096:                     'sd',
0097:                     'Autochanger',
0098:                     $this->getDeviceName()
0099:                 )
0100:             );
0101:             if ($result->error === 0) {
0102:                 $devices = $result->output->Device;
0103:             }
0104:         } else {
0105:             $devices = array($this->getDeviceName());
0106:         }
0107:         $this->Devices->DataSource = $devices;
0108:         $this->Devices->dataBind();
0109:     }
0110:
0111:     /**
0112:      * Set storage storageid.
0113:      *
0114:      * @return none;

Stack Trace

#0 /usr/share/baculum/htdocs/protected/Web/Pages/StorageView.php(102):
Prado\PradoBase::phpErrorHandler(8, 'Trying to get p...',
'/usr/share/bacu...', 102, Array)
#1 /usr/share/baculum/htdocs/protected/Web/Pages/StorageView.php(76):
StorageView->setDevices()
#2
/usr/share/baculum/htdocs/framework/pradosoft/prado/framework/Web/UI/TControl.php(1318):
StorageView->onInit(NULL)
#3
/usr/share/baculum/htdocs/framework/pradosoft/prado/framework/Web/UI/TCompositeControl.php(35):
Prado\Web\UI\TControl->initRecursive(Object(StorageView))
#4
/usr/share/baculum/htdocs/framework/pradosoft/prado/framework/Web/UI/TTemplateControl.php(244):
Prado\Web\UI\TCompositeControl->initRecursive(NULL)
#5
/usr/share/baculum/htdocs/framework/pradosoft/prado/framework/Web/UI/TPage.php(220):
Prado\Web\UI\TTemplateControl->initRecursive()
#6
/usr/share/baculum/htdocs/framework/pradosoft/prado/framework/Web/UI/TPage.php(208):
Prado\Web\UI\TPage->processNormalRequest(Object(Prado\Web\UI\THtmlWriter))
#7
/usr/share/baculum/htdocs/framework/pradosoft/prado/framework/Web/Services/TPageService.php(528):
Prado\Web\UI\TPage->run(Object(Prado\Web\UI\THtmlWriter))
#8
/usr/share/baculum/htdocs/framework/pradosoft/prado/framework/Web/Services/TPageService.php(465):
Prado\Web\Services\TPageService->runPage(Object(StorageView), Array)
#9
/usr/share/baculum/htdocs/framework/pradosoft/prado/framework/TApplication.php(1190):
Prado\Web\Services\TPageService->run()
#10
/usr/share/baculum/htdocs/framework/pradosoft/prado/framework/TApplication.php(382):
Prado\TApplication->runService()
#11 /usr/share/baculum/htdocs/index.php(31): Prado\TApplication->run()

On Fri, Nov 22, 2019 at 8:29 PM Marcin Haba <ganius...@gmail.com> wrote:

> Hello Jose,
>
> What is this PHP error? Could I ask you about pasting here the error
> message?
>
> Thanks in advance.
>
> Best regards,
> Marcin Haba (gani)
>
> On 22.11.2019 16:00, Jose Alberto wrote:
> > Hi.
> >
> > I Have Bacula 9.4.4  on Debian 9  with Baculum.
> >
> > All work Fine.  in server IP 10.20.2.5 all in one (postgres, dir and
> > sd)   i have 2 Tape (ibm  and vtl D2D of HP).
> >
> > I Have in site remote (10.30.2.0/24 <http://10.30.2.0/24>) (other City
> > lan to lan)  30 Hosts.
> >
> > I install only  Bacula-sd  (10.30.2.5) with Tape hp msl4048..
> >
> > All work Fine.
> >
> > The problem:   Button (baculum) Status Storage msl4048 (remote SD)
> >  show error PHP.
> >
> > but:  bconsole,   status    storage msl4048    show info fine.
> >
> > Thanks.
> >
> >
> >
> > --
> > #############################
> > #   Sistema Operativo: Debian      #
> > #        Caracas, Venezuela          #
> > #############################
> >
> >
> > _______________________________________________
> > Bacula-users mailing list
> > Bacula-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/bacula-users
> >
>
>
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>


-- 
#############################
#   Sistema Operativo: Debian      #
#        Caracas, Venezuela          #
#############################
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to