Closed vmakarov1720 closed 3 years ago
Hi,
This error points that $setting var has not been initialized. This is done at PanicHDServiceProvider.php at line 98, so, if you're getting this error, it probably means that PanicHD service provider is not being loaded.
In addition of this, I see that your local laravel app folder is "ticketit". Either if you have installed a clean PanicHD installation or it is an upgrade from a Ticketit installation, I encourage you to follow the PanicHD installation step by step available in our readme.
After that, If you ensure to have followed all steps and still getting posted or another error, please specify:
Hi
I have the same problem...
how can i load PanicHD ? it's already in my providers in config/app.php.
I have the same problem...
same error when trying to complete a ticket. In the source file 'Setting.php' I inserted 'dd(gettype($setting))' after line 56, the output does say the variable is an 'object'. So why it keeps complaining Trying to get property 'lang' of non-object...
just created a pull request https://github.com/panichelpdesk/panichd/pull/22 in order to fix this error. Please take a look. It works on my local.
Did you guys tried to un comment this line (49) on Models/Setting.php:
// Cache::flush();
to
Cache::flush();
This may works, depending on your system specs and all :)
"Trying to get property 'lang' of non-object (View: C:\xampp\htdocs\laravel\ticketit\vendor\panichd\panichd\src\Views\shared\nav.blade.php) (View: C:\xampp\htdoc ▶"