TechnicPack / TechnicSolder

PHP web app that brings differential updates to the Technic Launcher and Technic Platform
https://docs.solder.io/
Other
169 stars 167 forks source link

URGENT: Trying to get property of non-object #539

Closed fcpwiz closed 8 years ago

fcpwiz commented 8 years ago

This only occurs when I view the dashboard page.

screen shot 2016-01-10 at 3 33 03 pm

ErrorException thrown with message "Trying to get property of non-object (View: /home/mannyrothman/public_html/TechnicSolder/app/views/dashboard/index.blade.php)"

Stacktrace:

20 Illuminate\View\Engines\CompilerEngine:handleViewException in /home/mannyrothman/public_html/TechnicSolder/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:41

19 ErrorException in /home/mannyrothman/public_html/TechnicSolder/app/storage/views/7eb5698398ce52e3bfee217b849c35e9:81

18 Illuminate\Exception\Handler:handleError in /home/mannyrothman/public_html/TechnicSolder/app/storage/views/7eb5698398ce52e3bfee217b849c35e9:81

17 include in /home/mannyrothman/public_html/TechnicSolder/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:37

16 Illuminate\View\Engines\PhpEngine:evaluatePath in /home/mannyrothman/public_html/TechnicSolder/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:56

15 Illuminate\View\Engines\CompilerEngine:get in /home/mannyrothman/public_html/TechnicSolder/vendor/laravel/framework/src/Illuminate/View/View.php:134

14 Illuminate\View\View:getContents in /home/mannyrothman/public_html/TechnicSolder/vendor/laravel/framework/src/Illuminate/View/View.php:102

13 Illuminate\View\View:renderContents in /home/mannyrothman/public_html/TechnicSolder/vendor/laravel/framework/src/Illuminate/View/View.php:76

12 Illuminate\View\View:render in /home/mannyrothman/public_html/TechnicSolder/vendor/laravel/framework/src/Illuminate/Http/Response.php:43

11 Illuminate\Http\Response:setContent in /home/mannyrothman/public_html/TechnicSolder/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Response.php:202

10 Symfony\Component\HttpFoundation\Response:__construct in /home/mannyrothman/public_html/TechnicSolder/vendor/laravel/framework/src/Illuminate/Routing/Router.php:1501

9 Illuminate\Routing\Router:prepareResponse in /home/mannyrothman/public_html/TechnicSolder/vendor/laravel/framework/src/Illuminate/Routing/Router.php:1036

8 Illuminate\Routing\Router:dispatchToRoute in /home/mannyrothman/public_html/TechnicSolder/vendor/laravel/framework/src/Illuminate/Routing/Router.php:1001

7 Illuminate\Routing\Router:dispatch in /home/mannyrothman/public_html/TechnicSolder/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:775

6 Illuminate\Foundation\Application:dispatch in /home/mannyrothman/public_html/TechnicSolder/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:745

5 Illuminate\Foundation\Application:handle in /home/mannyrothman/public_html/TechnicSolder/vendor/laravel/framework/src/Illuminate/Session/Middleware.php:72

4 Illuminate\Session\Middleware:handle in /home/mannyrothman/public_html/TechnicSolder/vendor/laravel/framework/src/Illuminate/Cookie/Queue.php:47

3 Illuminate\Cookie\Queue:handle in /home/mannyrothman/public_html/TechnicSolder/vendor/laravel/framework/src/Illuminate/Cookie/Guard.php:51

2 Illuminate\Cookie\Guard:handle in /home/mannyrothman/public_html/TechnicSolder/vendor/stack/builder/src/Stack/StackedHttpKernel.php:23

1 Stack\StackedHttpKernel:handle in /home/mannyrothman/public_html/TechnicSolder/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:641

0 Illuminate\Foundation\Application:run in /home/mannyrothman/public_html/TechnicSolder/public/index.php:49

Razorskills commented 8 years ago

have you tried doing any chmod or chown commands then restarting the server? Perhaps a file is "locked" I feel like I have had an issue like this before, and solved it by fixing my permissions.

Could always rule it out by trying the 777, but then changing it back afterwards. If it works. Then its a permission issue, if it don't, then its something else. But if you try that, make sure to change it back asap.

(although im not sure if that is good advise, but I like to try things for myself and that is what I would try. Other people that actually know things may have a better solution for you to try)

fcpwiz commented 8 years ago

@Razorskills The odd thing is that all I did was delete a modversion, refreshed the page, and saw this.