Giter Club home page Giter Club logo

Comments (4)

scil avatar scil commented on May 18, 2024 2

Thank you.

I just added php artisan vendor:publish --tag=fly-app to readme.md

from laravelfly.

scil avatar scil commented on May 18, 2024

I don't think there's a file scil/laravel-fly/src/LaravelFly/Simple/Bootstrap/LoadConfiguration.php

could you try composer update?

from laravelfly.

aftabnaveed avatar aftabnaveed commented on May 18, 2024

I don't know why this issue is closed, no solution is proposed here. I am using 5.6 and can reproduce the above error.

[INFO] conf: /srv/laraveltest/fly.conf.php
[INFO] server dispatcher created
[INFO] event server.config
[INFO] include pre-files
[WARN] kernel: LaravelFly\Kernel
[INFO] event server.created for LaravelFly\Server\HttpServer
[2018-06-04 06:07:20 @105.0]	TRACE	Create swoole_server host=0.0.0.0, port=8080, mode=3, type=1
[INFO] event worker.starting for 0 (pid 112)
[INFO] event worker.starting for 1 (pid 113)
[INFO] event worker.starting for 2 (pid 114)
[INFO] event app.created for \LaravelFly\Simple\Application (pid 112)
[INFO] event app.created for \LaravelFly\Simple\Application (pid 113)
[INFO] event worker.starting for 4 (pid 116)
[INFO] event worker.starting for 3 (pid 115)
[INFO] event app.created for \LaravelFly\Simple\Application (pid 114)
[INFO] event app.created for \LaravelFly\Simple\Application (pid 116)
[INFO] event app.created for \LaravelFly\Simple\Application (pid 115)
[ERROR] bootstrap: Whoops\Exception\ErrorException: array_diff(): Argument #2 is not an array in /srv/laraveltest/vendor/scil/laravel-fly/src/LaravelFly/Simple/Bootstrap/LoadConfiguration.php:39
Stack trace:
#0 [internal function]: Whoops\Run->handleError(2, 'array_diff(): A...', '/srv/laraveltes...', 39, Array)
#1 /srv/laraveltest/vendor/scil/laravel-fly/src/LaravelFly/Simple/Bootstrap/LoadConfiguration.php(39): array_diff(Array, NULL, NULL)
#2 /srv/laraveltest/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(206): LaravelFly\Simple\Bootstrap\LoadConfiguration->bootstrap(Object(LaravelFly\Simple\Application))
#3 /srv/laraveltest/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(162): Illuminate\Foundation\Application->bootstrapWith(Array)
#4 /srv/laraveltest/vendor/scil/laravel-fly/src/LaravelFly/Server/HttpServer.php(59): Illuminate\Foundation\Http\Kernel->bootstrap()
#5 {main}
[INFO] watch /srv/laraveltest/storage/framework/down.
[2018-06-04 06:07:20 #105.5]	NOTICE	Server is shutdown now.
[INFO] event worker.ready for id 0
[2018-06-04 06:07:20 $106.0]	TRACE	[Manager]kill worker processor
[2018-06-04 06:07:20 $106.0]	TRACE	[Manager]kill worker processor
[2018-06-04 06:07:20 $106.0]	TRACE	[Manager]kill worker processor
[2018-06-04 06:07:20 $106.0]	TRACE	[Manager]kill worker processor
[2018-06-04 06:07:20 $106.0]	TRACE	[Manager]kill worker processor
[INFO] event worker.stopped for id 0

from laravelfly.

aftabnaveed avatar aftabnaveed commented on May 18, 2024

I am able to fix the problem by copying
vendor/scil/laravel-fly/config/laravelfly-app-config.example.php to config/laravelfly.php

I think this should be publishable via php artisan publish command

from laravelfly.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.