Comments (10)
The error comes from here:
eventum/src/ServiceContainer.php
Line 89 in 1f68f80
Need fuller trace of why this is happening.
Add such debug code to get it:
$container = static::getKernel()->getContainer();
if (!$container) {
$e = new \Exception();
error_log($e->getTraceAsString());
}
from eventum.
Here's the error:
[Wed Sep 08 08:28:51.247700 2021] [proxy_fcgi:error] [pid 879497:tid 139643479652096] [client SOMEIP:15734] AH01071: Got error 'PHP message:
#0 /var/www/eventum-3.10.6/src/Auth/Adapter/LdapAdapter.php(68): Eventum\\ServiceContainer::getLogger()
#1 [internal function]: Eventum\\Auth\\Adapter\\LdapAdapter->__construct()
#2 /var/www/eventum-3.10.6/src/Auth/Adapter/Factory.php(34): ReflectionClass->newInstanceArgs()
#3 /var/www/eventum-3.10.6/src/Auth/Adapter/ChainAdapter.php(29): Eventum\\Auth\\Adapter\\Factory::create()
#4 [internal function]: Eventum\\Auth\\Adapter\\ChainAdapter->__construct()
#5 /var/www/eventum-3.10.6/src/Auth/Adapter/Factory.php(34): ReflectionClass->newInstanceArgs()
#6 /var/www/eventum-3.10.6/lib/eventum/class.auth.php(473): Eventum\\Auth\\Adapter\\Factory::create()
#7 /var/www/eventum-3.10.6/lib/eventum/class.auth.php(99): Auth::getAuthBackend()
#8 /var/www/eventum-3.10.6/src/Controller/ListController.php(81): Auth::checkAuthentication()
#9 /var/www/eventum-3.10.6/src/Controller/BaseController.php(80): Eventum\\Controller\\ListController->canAccess()
#10 /var/www/eventum-3.10.6/htdocs/list.php(17): Eventum\\Controlle...PHP message: [2021-09-08 08:28:50] app.CRITICAL: Unable to instantiate auth adapter {"exception":"[object] (Error(code: 0): Call to a member function get() on null at /var/www/eventum-3.10.6/src/ServiceContainer.php:93)"} {"file":"/var/www/eventum-3.10.6/lib/eventum/class.auth.php","line":476,"class":"Auth","function":"getAuthBackend","memory_peak_usage":"4 MB","memory_usage":"4 MB","url":"/list.php","ip":"SOMEIP","http_method":"GET","server":"URL","referrer":"https://URL/login.php"}', referer: https://URL/login.php
from eventum.
I guess src/Auth/Adapter/LdapAdapter.php is borken since 3.10.2 #898
from eventum.
Bump: Any update?
from eventum.
@areis422 I tried to fix myself but failed so I changed to $this->logger = ServiceContainer::getLogger();
and continued.
from eventum.
Bump @glensc
from eventum.
Thank you. it worked
from eventum.
@glensc This issue still exists in v3.10.9
from eventum.
Any update on this @glensc ?
from eventum.
Still currently exists in v3.10.12. Will this be released as part of v3.10.13?
I manually added the fix from #1482 to src/ServiceContainer.php and can confirm it seems to work. Thank you @glensc for all the work you guys do!
from eventum.
Related Issues (20)
- Upgrade from 3.0 -> 3.1 HOT 2
- Problems entering a project HOT 1
- Package for v3.10.6 doesn't contain vendor folder + css/js assets HOT 1
- summary export is broken
- Updating Email Accounts passwords resets Auto-Creation of Issues HOT 2
- Eventum includes <style>CSS</style> if an incoming email is HTML
- Uncaught PHP Exception Error HOT 2
- Responsible disclosure policy HOT 6
- fresh installation. cannot access administration tab HOT 1
- Email download error HOT 10
- Convert five variable assignments to the usage of combined operators
- Quotes in html emails are not indented HOT 3
- Support Google IMAP OAUTH or Microsoft Graph API to fetch emails HOT 4
- Bad link in Eventum organization HOT 1
- /manage/projects.php - error HOT 5
- nothing issue HOT 1
- Incorrect links HOT 2
- NotFound error. HOT 1
- Exporting attachments from the DB into files HOT 2
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 eventum.