Comments (9)
Hi
I just tried registering and didn't get any exceptions. Could you please be more specific, maybe tell me what are the steps to reproduce the issue. Or copy the full exception details from the laravel-log file. Thanks
from voten.
yeah definitely:
Type error: Argument 1 passed to App\Settings::__construct() must be of the type array, null given, called in /home/forge/default/app/User.php on line 305 (View: /home/forge/default/resources/views/user/user-style.blade.php) (View: /home/forge/default/resources/views/user/user-style.blade.php) (View: /home/forge/default/resources/views/user/user-style.blade.php)
in Settings.php line 29
at CompilerEngine->handleViewException(object(ErrorException), 1) in PhpEngine.php line 44
at PhpEngine ->evaluatePath('/home/forge/default/storage/framework/views/930bbae3e633904438495fceede7e30fd71ad20c.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag))) in CompilerEngine.php line 59
at CompilerEngine->get('/home/forge/default/resources/views/welcome.blade.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag))) in View.php line 137
at View->getContents() in View.php line 120
at View->renderContents() in View.php line 85
at View->render() in Response.php line 38
at Response->setContent(object(View)) in Response.php line 225
at Response->__construct(object(View)) in Router.php line 602
at Router->prepareResponse(object(Request), object(View)) in Router.php line 559
at Router->Illuminate\Routing\{closure}(object(Request)) in Pipeline.php line 30
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in AddHttp2ServerPush.php line 30
at AddHttp2ServerPush->handle(object(Request), object(Closure)) in Pipeline.php line 148
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in CheckForMaintenanceMode.php line 46
at CheckForMaintenanceMode->handle(object(Request), object(Closure)) in Pipeline.php line 148
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in CreateFreshApiToken.php line 49
at CreateFreshApiToken->handle(object(Request), object(Closure)) in Pipeline.php line 148
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in SubstituteBindings.php line 41
at SubstituteBindings->handle(object(Request), object(Closure)) in Pipeline.php line 148
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in Authenticate.php line 43
at Authenticate->handle(object(Request), object(Closure)) in Pipeline.php line 148
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in VerifyCsrfToken.php line 65
at VerifyCsrfToken->handle(object(Request), object(Closure)) in Pipeline.php line 148
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in ShareErrorsFromSession.php line 49
at ShareErrorsFromSession->handle(object(Request), object(Closure)) in Pipeline.php line 148
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in StartSession.php line 64
at StartSession->handle(object(Request), object(Closure)) in Pipeline.php line 148
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in AddQueuedCookiesToResponse.php line 37
at AddQueuedCookiesToResponse->handle(object(Request), object(Closure)) in Pipeline.php line 148
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in EncryptCookies.php line 59
at EncryptCookies->handle(object(Request), object(Closure)) in Pipeline.php line 148
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in Pipeline.php line 102
at Pipeline->then(object(Closure)) in Router.php line 561
at Router->runRouteWithinStack(object(Route), object(Request)) in Router.php line 520
at Router->dispatchToRoute(object(Request)) in Router.php line 498
at Router->dispatch(object(Request)) in Kernel.php line 174
at Kernel->Illuminate\Foundation\Http\{closure}(object(Request)) in Pipeline.php line 30
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in TransformsRequest.php line 30
at TransformsRequest->handle(object(Request), object(Closure)) in Pipeline.php line 148
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in TransformsRequest.php line 30
at TransformsRequest->handle(object(Request), object(Closure)) in Pipeline.php line 148
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in Pipeline.php line 102
at Pipeline->then(object(Closure)) in Kernel.php line 149
at Kernel->sendRequestThroughRouter(object(Request)) in Kernel.php line 116
at Kernel->handle(object(Request)) in index.php line 52
thanks fam
from voten.
I'm guessing you are not using the latest code from master branch. Please do git pull origin master
and then give it another try. Lemme know how it goes ;)
from voten.
I just did, and it still isn't working... I got it to work locally when I did some meddling with the DB. MariaDB doesn't support native JSON so you can't use MariaDB with the application forcing me to use MySQL. Are you using MariaDB and you are somehow getting around this?
from voten.
stupid mariaDB :| on our production server we're using mariaDB but the json
types have been manually edited to blob
. I didn't think this would cause any problem these days because mariaDB announced they're supporting the json
type since 10.2 version. Apparently they don't!
I'll edit the required database to mySQL for now to fix this. Sorry for the trouble
from voten.
I changed the database migrations to binary and its still acting up 😭 giving me the same error. I think it has something to do with my stack on forge. What is your stack consisting of?
from voten.
The same as mentioned in the readme file. Could you install mySQL instead? that should do it.
I don't know about Forge, but I know a friend who's installed it via https://codepier.io/ with no issue.
from voten.
yeah what version of php & mysql are you running?
from voten.
mysql 5.7.15
php 7.1.1_12
from voten.
Related Issues (20)
- Installation Steps Questions HOT 6
- Login request fails HOT 1
- Login/Signup with Google doesn't work
- The request has not been applied because it lacks valid authentication credentials for the target resource. HOT 1
- Notifications dont work
- Button "down-vote" HOT 1
- Don't work load avatar and any file HOT 2
- Notification have error (Pusher) HOT 3
- Notification and Message (0)
- Change title
- Voten.co is down for few days now. I wanted to check it out, but it seems to be always dead with cloudflare saying server is down. HOT 2
- Federation/ActivityPub support
- Data output from MYSQL to template HOT 2
- Abandoned? HOT 2
- Website is OFF! HOT 1
- Show channel for guest
- Img submission in home page and full submission
- Guest API get error 401 when trying to go to the user's page, submission, channel
- Site down! HOT 2
- translation for persian farsi language HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from voten.