agent4788/SHC_Framework

Undefined offset: 0

Closed this issue · 1 comments

pi@SHCMasterFlur:/var/www/shc $ php index.php app=shc -sh &
[1] 1337
pi@SHCMasterFlur:/var/www/shc $ sh: 1: java: not found
//////////////////////////////////////////////////////////////////////////////////////////////////
// PHP Notice
//////////////////////////////////////////////////////////////////////////////////////////////////
Datei:         /var/www/shc/shc/lib/command/commandsheduler.class.php
Zeile:         343
Meldung:       Undefined offset: 0
Fehler Nummer: 8
Zeit:          12.01.2016 23:36:47
//Trace///////////////////////////////////////////////////////////////////////////////////////////
#0 /var/www/shc/shc/lib/command/commandsheduler.class.php @ Line: 343 RWF\Error\Error->handlePhpError(8, 'Undefined offset: 0', '/var/www/shc/shc/lib/command/c...', 343, Array(7))
#1 /var/www/shc/shc/lib/switchable/readables/rpigpioinput.class.php @ Line: 98 SHC\Command\CommandSheduler->sendGPIOReadCommand(SHC\Command\Commands\GpioInputCommand)
#2 /var/www/shc/shc/lib/sheduler/tasks/inputupdatetask.class.php @ Line: 70 SHC\Switchable\Readables\RpiGpioInput->readState()
#3 /var/www/shc/shc/lib/sheduler/abstracttask.class.php @ Line: 62 SHC\Sheduler\Tasks\InputUpdateTask->executeTask()
#4 /var/www/shc/shc/lib/sheduler/sheduler.class.php @ Line: 158 SHC\Sheduler\AbstractTask->execute()
#5 /var/www/shc/shc/data/commands/cli/shedulerdeamoncli.class.php @ Line: 247 SHC\Sheduler\Sheduler->executeTasks()
#6 lib/request/commands/clicommand.class.php @ Line: 74 SHC\Command\CLI\ShedulerDeamonCli->executeCliCommand()
#7 lib/request/abstractcommand.class.php @ Line: 77 RWF\Request\Commands\CliCommand->executeCommand()
#8 lib/request/requesthandler.class.php @ Line: 216 RWF\Request\AbstractCommand->execute(RWF\Request\CliRequest, RWF\Request\CliResponse)
#9 lib/request/requesthandler.class.php @ Line: 129 RWF\Request\RequestHandler->handleCliRequest()
#10 lib/request/requesthandler.class.php @ Line: 111 RWF\Request\RequestHandler->__construct('cli', '')
#11 /var/www/shc/index.php @ Line: 25 RWF\Request\RequestHandler::handleRequest()
#12 {main}

PHP Warning:  fopen(/var/www/shc/rwf/data/log/error.log): failed to open stream: Permission denied in /var/www/shc/rwf/lib/error/error.class.php on line 746
PHP Warning:  fwrite() expects parameter 1 to be resource, boolean given in /var/www/shc/rwf/lib/error/error.class.php on line 747
PHP Warning:  fwrite() expects parameter 1 to be resource, boolean given in /var/www/shc/rwf/lib/error/error.class.php on line 748
PHP Warning:  fwrite() expects parameter 1 to be resource, boolean given in /var/www/shc/rwf/lib/error/error.class.php on line 749
PHP Warning:  fwrite() expects parameter 1 to be resource, boolean given in /var/www/shc/rwf/lib/error/error.class.php on line 750
PHP Warning:  fwrite() expects parameter 1 to be resource, boolean given in /var/www/shc/rwf/lib/error/error.class.php on line 751
PHP Warning:  fwrite() expects parameter 1 to be resource, boolean given in /var/www/shc/rwf/lib/error/error.class.php on line 752
PHP Warning:  fwrite() expects parameter 1 to be resource, boolean given in /var/www/shc/rwf/lib/error/error.class.php on line 753
PHP Warning:  fwrite() expects parameter 1 to be resource, boolean given in /var/www/shc/rwf/lib/error/error.class.php on line 754
PHP Warning:  fwrite() expects parameter 1 to be resource, boolean given in /var/www/shc/rwf/lib/error/error.class.php on line 759
PHP Warning:  fwrite() expects parameter 1 to be resource, boolean given in /var/www/shc/rwf/lib/error/error.class.php on line 798
PHP Warning:  fwrite() expects parameter 1 to be resource, boolean given in /var/www/shc/rwf/lib/error/error.class.php on line 799
PHP Warning:  fwrite() expects parameter 1 to be resource, boolean given in /var/www/shc/rwf/lib/error/error.class.php on line 798
PHP Warning:  fwrite() expects parameter 1 to be resource, boolean given in /var/www/shc/rwf/lib/error/error.class.php on line 799
PHP Warning:  fwrite() expects parameter 1 to be resource, boolean given in /var/www/shc/rwf/lib/error/error.class.php on line 798
PHP Warning:  fwrite() expects parameter 1 to be resource, boolean given in /var/www/shc/rwf/lib/error/error.class.php on line 799
PHP Warning:  fwrite() expects parameter 1 to be resource, boolean given in /var/www/shc/rwf/lib/error/error.class.php on line 798
PHP Warning:  fwrite() expects parameter 1 to be resource, boolean given in /var/www/shc/rwf/lib/error/error.class.php on line 799
PHP Warning:  fwrite() expects parameter 1 to be resource, boolean given in /var/www/shc/rwf/lib/error/error.class.php on line 798
PHP Warning:  fwrite() expects parameter 1 to be resource, boolean given in /var/www/shc/rwf/lib/error/error.class.php on line 799
PHP Warning:  fwrite() expects parameter 1 to be resource, boolean given in /var/www/shc/rwf/lib/error/error.class.php on line 798
PHP Warning:  fwrite() expects parameter 1 to be resource, boolean given in /var/www/shc/rwf/lib/error/error.class.php on line 799
PHP Warning:  fwrite() expects parameter 1 to be resource, boolean given in /var/www/shc/rwf/lib/error/error.class.php on line 798
PHP Warning:  fwrite() expects parameter 1 to be resource, boolean given in /var/www/shc/rwf/lib/error/error.class.php on line 799
PHP Warning:  fwrite() expects parameter 1 to be resource, boolean given in /var/www/shc/rwf/lib/error/error.class.php on line 798
PHP Warning:  fwrite() expects parameter 1 to be resource, boolean given in /var/www/shc/rwf/lib/error/error.class.php on line 799
PHP Warning:  fwrite() expects parameter 1 to be resource, boolean given in /var/www/shc/rwf/lib/error/error.class.php on line 798
PHP Warning:  fwrite() expects parameter 1 to be resource, boolean given in /var/www/shc/rwf/lib/error/error.class.php on line 799
PHP Warning:  fwrite() expects parameter 1 to be resource, boolean given in /var/www/shc/rwf/lib/error/error.class.php on line 798
PHP Warning:  fwrite() expects parameter 1 to be resource, boolean given in /var/www/shc/rwf/lib/error/error.class.php on line 799
PHP Warning:  fwrite() expects parameter 1 to be resource, boolean given in /var/www/shc/rwf/lib/error/error.class.php on line 798
PHP Warning:  fwrite() expects parameter 1 to be resource, boolean given in /var/www/shc/rwf/lib/error/error.class.php on line 799
PHP Warning:  fwrite() expects parameter 1 to be resource, boolean given in /var/www/shc/rwf/lib/error/error.class.php on line 798
PHP Warning:  fwrite() expects parameter 1 to be resource, boolean given in /var/www/shc/rwf/lib/error/error.class.php on line 799
PHP Warning:  fwrite() expects parameter 1 to be resource, boolean given in /var/www/shc/rwf/lib/error/error.class.php on line 802
PHP Warning:  fclose() expects parameter 1 to be resource, boolean given in /var/www/shc/rwf/lib/error/error.class.php on line 803

Ich habe jetzt eine Abhilfe eingebunden, die Ursache kommt aber vom Script welches die GPIO-Daten liest. Entweder kann der Schaltserver nicht erreicht werden oder antwortet nicht schnell genug.