14. ErrorException
…/­app/­models/­Shop.php331
13. Illuminate\Exception\Handler handleError
…/­app/­models/­Shop.php331
12. Shop navigationInitialize
…/­app/­start/­global.php123
11. require
…/­vendor/­laravel/­framework/­src/­Illuminate/­Foundation/­start.php239
10. {closure}
<#unknown>0
9. call_user_func
…/­vendor/­laravel/­framework/­src/­Illuminate/­Foundation/­Application.php830
8. Illuminate\Foundation\Application fireAppCallbacks
…/­vendor/­laravel/­framework/­src/­Illuminate/­Foundation/­Application.php604
7. Illuminate\Foundation\Application bootApplication
…/­vendor/­laravel/­framework/­src/­Illuminate/­Foundation/­Application.php587
6. Illuminate\Foundation\Application boot
…/­vendor/­laravel/­framework/­src/­Illuminate/­Foundation/­Application.php743
5. Illuminate\Foundation\Application handle
…/­vendor/­laravel/­framework/­src/­Illuminate/­Session/­Middleware.php72
4. Illuminate\Session\Middleware handle
…/­vendor/­laravel/­framework/­src/­Illuminate/­Cookie/­Queue.php47
3. Illuminate\Cookie\Queue handle
…/­vendor/­laravel/­framework/­src/­Illuminate/­Cookie/­Guard.php51
2. Illuminate\Cookie\Guard handle
…/­vendor/­stack/­builder/­src/­Stack/­StackedHttpKernel.php23
1. Stack\StackedHttpKernel handle
…/­vendor/­laravel/­framework/­src/­Illuminate/­Foundation/­Application.php641
0. Illuminate\Foundation\Application run
…/­public/­index.php49

ErrorException (E_UNKNOWN) ErrorException thrown with message "Invalid argument supplied for foreach()" Stacktrace: #14 ErrorException in /home/forge/h400487.rvs-server.com/app/models/Shop.php:331 #13 Illuminate\Exception\Handler:handleError in /home/forge/h400487.rvs-server.com/app/models/Shop.php:331 #12 Shop:navigationInitialize in /home/forge/h400487.rvs-server.com/app/start/global.php:123 #11 require in /home/forge/h400487.rvs-server.com/vendor/laravel/framework/src/Illuminate/Foundation/start.php:239 #10 {closure} in <#unknown>:0 #9 call_user_func in /home/forge/h400487.rvs-server.com/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:830 #8 Illuminate\Foundation\Application:fireAppCallbacks in /home/forge/h400487.rvs-server.com/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:604 #7 Illuminate\Foundation\Application:bootApplication in /home/forge/h400487.rvs-server.com/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:587 #6 Illuminate\Foundation\Application:boot in /home/forge/h400487.rvs-server.com/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:743 #5 Illuminate\Foundation\Application:handle in /home/forge/h400487.rvs-server.com/vendor/laravel/framework/src/Illuminate/Session/Middleware.php:72 #4 Illuminate\Session\Middleware:handle in /home/forge/h400487.rvs-server.com/vendor/laravel/framework/src/Illuminate/Cookie/Queue.php:47 #3 Illuminate\Cookie\Queue:handle in /home/forge/h400487.rvs-server.com/vendor/laravel/framework/src/Illuminate/Cookie/Guard.php:51 #2 Illuminate\Cookie\Guard:handle in /home/forge/h400487.rvs-server.com/vendor/stack/builder/src/Stack/StackedHttpKernel.php:23 #1 Stack\StackedHttpKernel:handle in /home/forge/h400487.rvs-server.com/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:641 #0 Illuminate\Foundation\Application:run in /home/forge/h400487.rvs-server.com/public/index.php:49

Invalid argument supplied for foreach()

 
        // Serialize JSON into Array
        $oJsonNavigation = json_decode($oJsonNavigation,true);
 
 
 
        // Save Array for further use
        foreach($oJsonNavigation as $key=>$row)
                $navigation[$row["1001,1,2"]] = $row["1001,1,3"];
 
 
        // Serialize JSON into Array
        $oJsonNavigation = json_decode($oJsonNavigation,true);
 
 
 
        // Save Array for further use
        foreach($oJsonNavigation as $key=>$row)
                $navigation[$row["1001,1,2"]] = $row["1001,1,3"];
 
// Shop initialisieren
 
if((!Session::has('Shop') AND !Session::has('curl_error')) OR Input::has('lang'))
//if (true)
{
    $shop = new Shop();
    $shop->parameterInitialize();
    $shop->navigationInitialize();
    $shop->navigationBuildHtml();
    $shop->mengeneinheitenInitialize();
	| any of the existing IoC bindings, as well as register its own new
	| bindings for things like repositories, etc. We'll load it here.
	|
	*/
 
	$path = $app['path'].'/start/global.php';
 
	if (file_exists($path)) require $path;
 
	/*
<#unknown>
	 * @param  array  $callbacks
	 * @return void
	 */
	protected function fireAppCallbacks(array $callbacks)
	{
		foreach ($callbacks as $callback)
		{
			call_user_func($callback, $this);
		}
	}
		// Once the application has booted we will also fire some "booted" callbacks
		// for any listeners that need to do work after this initial booting gets
		// finished. This is useful when ordering the boot-up processes we run.
		$this->fireAppCallbacks($this->bootingCallbacks);
 
		$this->booted = true;
 
		$this->fireAppCallbacks($this->bootedCallbacks);
	}
 
	 */
	public function boot()
	{
		if ($this->booted) return;
 
		array_walk($this->serviceProviders, function($p) { $p->boot(); });
 
		$this->bootApplication();
	}
 
	 */
	public function handle(SymfonyRequest $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)
	{
		try
		{
			$this->refreshRequest($request = Request::createFromBase($request));
 
			$this->boot();
 
			return $this->dispatch($request);
		if ($this->sessionConfigured())
		{
			$session = $this->startSession($request);
 
			$request->setSession($session);
		}
 
		$response = $this->app->handle($request, $type, $catch);
 
		// Again, if the session has been configured we will need to close out the session
	 * @param  \Symfony\Component\HttpFoundation\Request  $request
	 * @param  int   $type
	 * @param  bool  $catch
	 * @return \Symfony\Component\HttpFoundation\Response
	 */
	public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)
	{
		$response = $this->app->handle($request, $type, $catch);
 
		foreach ($this->cookies->getQueuedCookies() as $cookie)
	 * @param  \Symfony\Component\HttpFoundation\Request  $request
	 * @param  int   $type
	 * @param  bool  $catch
	 * @return \Symfony\Component\HttpFoundation\Response
	 */
	public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)
	{
		return $this->encrypt($this->app->handle($this->decrypt($request), $type, $catch));
	}
 
    {
        $this->app = $app;
        $this->middlewares = $middlewares;
    }
 
    public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)
    {
        return $this->app->handle($request, $type, $catch);
    }
 
	 * @param  \Symfony\Component\HttpFoundation\Request  $request
	 * @return void
	 */
	public function run(SymfonyRequest $request = null)
	{
		$request = $request ?: $this['request'];
 
		$response = with($stack = $this->getStackedClient())->handle($request);
 
		$response->send();
| Once we have the application, we can simply call the run method,
| which will execute the request and send the response back to
| the client's browser allowing them to enjoy the creative
| and wonderful application we have whipped up for them.
|
*/
 
$app->run();
 
Key Value
USER forge
HOME /home/forge
FCGI_ROLE RESPONDER
QUERY_STRING
REQUEST_METHOD GET
CONTENT_TYPE
CONTENT_LENGTH
SCRIPT_FILENAME /home/forge/h400487.rvs-server.com/public/index.php
SCRIPT_NAME /index.php
REQUEST_URI /tamura-elsold-lotwerkstoffe/roehrenlote/bleihaltige-roehrenlote_lF88.html
DOCUMENT_URI /index.php
DOCUMENT_ROOT /home/forge/h400487.rvs-server.com/public
SERVER_PROTOCOL HTTP/2.0
GATEWAY_INTERFACE CGI/1.1
SERVER_SOFTWARE nginx/1.15.8
REMOTE_ADDR 107.23.85.179
REMOTE_PORT 59400
SERVER_ADDR 93.90.204.41
SERVER_PORT 443
SERVER_NAME h400487.rvs-server.com
HTTPS on
REDIRECT_STATUS 200
HTTP_HOST elblinger-elektronik.de
HTTP_ACCEPT */*
HTTP_USER_AGENT claudebot
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1710822447.2321
REQUEST_TIME 1710822447
empty
empty
empty
empty
empty
empty
0. Whoops\Handler\PrettyPageHandler