Closed redhedded1 closed 5 years ago
@redhedded1 thanks for bringing this to our attention.
@ArturMoczulski can you take a look into this?
Thank you. I wasn't clear about the fact that it only throws the error when accessing the horizon dashboard url. The Laravel application still works, and Rollbar dashboard/error logging is working fine.
Can you verify that the issue doesn't happen if you turn off Rollbar?
Yes. The app was using Horizon without issue. If I install Rollbar via composer and place the entries in the config/logging.php then the error occurs. Changing logging.php back to remove the rollbar entries is enough to bring Horizon back to working state. The below config disabling rollbar works fine.
'channels' => [
'stack' => [
'driver' => 'stack',
'channels' => ['daily']
],
@redhedded1 despite my efforts, I wasn't able to reproduce the problem. I've tested on:
Laravel 5.7.28 Horizon 2.0 rollbar-php-laravel 4.0.3
One thing is that you said in the comment above you're using Laravel 5.7.26. I can't find this Laravel tag in their github repo. Are you sure that's your version?
Other than that, I believe we would have to do a video chat to debug the issue together. Would you be open to that?
@ArturMoczulski Thank you for the information. I must have made a typo on the Laravel version because php artisan laravel --version returns Laravel Framework 5.7.27
If you were unable to reproduce, let me look over some things tomorrow since it is obvious I have done something incorrectly in my setup. Thank you again for checking it out, sorry for the bother.
No worries. I'm here to help. If you get stuck I'm happy to chat or do a video call to help you resolve the issue.
OK, I'm stuck. I cannot figure it out. Let's do that video call. What's your preferred method, Skype or whatever is fine and at your convenience. Thank you again for the assistance.
The only thing I did was configure HTTP authentication to access the Horizon dashboard in Production. Let's see what you think though over a video call.
Sorry for the delay. Please email me on artur.moczulski@rollbar.com and we will schedule a call.
@redhedded1 do you still need assistance with this?
No I was able to resolve it just by upgrading Laravel, closing.
Great to hear. Lmk if you need help with anything else
If this is not an issue related to Rollbar or a known issue I apologize in advance. I have searched extensively and cannot find anything useful about this error. It only happens upon changing the config/logging.php as follows:
Laravel Framework 5.7.26 Laravel Horizon 2.0 Rollbar (rollbar/laravel) 4.0.3
Class hash does not exist