Comments (8)
I have exactly the same issue. Can anyone help, please?
from auth.
I have the same issue. My temporary (but not enough tested) solution is to add
public function __toString() { return $this->target; }
in the Class Redirect in File boltauth/auth/src/AccessControl/Redirect.php
from auth.
@colorando-de thanks, but this doesnt help for me...
Does any of the 3.3.4 or higher versions fix this problem?
from auth.
Same issue for me on 3.4.2:
- Installed Bolt 3.4.2
- Installed BoltAuth/Auth extension
- Update databases
- Navigate to a non-existant page
Result:
ContextErrorException in Bag.php line 278:
Catchable Fatal Error: Object of class Bolt\Extension\BoltAuth\Auth\AccessControl\Redirect could not be converted to string
from auth.
Sorry everyone for my tardiness lately...
@colorando-de Does that fix also work for you on 3.4? If so can you PR it? @xiaohutai have you tried colorando-de's fix? does it work for you?
from auth.
@SahAssar This works for me:
/**
* @return string
*/
public function __toString() {
return $this->target ?: '';
}
It seems that $this->target
can be null
.
from auth.
@SahAssar I confirm this works also
public function __toString() { return $this->target; }
...though my issue was related to incorrect database password.
extensions/vendor/boltauth/auth/src/accesscontrol/redirect.php
from auth.
Any update on this? I sporadically get the error too. What about merging #20?
from auth.
Related Issues (20)
- [BUG] github bug report hint is outdated
- [BUG] admin panel not functioning properly HOT 3
- [BUG] Database check says table `bolt_auth_token` is not the correct schema and can't fix it HOT 1
- [BUG] Missing feedback in some forms HOT 5
- [BUG] Install on empty Bolt 3.4 seems to crash Bolt completely? HOT 4
- [BUG] Redirect to FINAL_REDIRECT_KEY dont work HOT 3
- [RFC] LoginPasswordType - Remove password length constraint. HOT 1
- [BUG] Forced redirect after login doesn't redirect
- Missing Translations HOT 1
- [BUG] Pagination not working HOT 5
- [BUG] Newly created accounts can't login even after enabling them. HOT 2
- [BUG] Only "add user" works in admin options - JS error "SyntaxError: missing ) after argument list" HOT 2
- Feedback is not available after redirect
- [RFC] Delete my account function HOT 2
- LDAP? HOT 2
- Use systemwide sendername and email as default sender HOT 4
- Update docs to match new templates
- [BUG] Password Change results in being left out
- [BUG] [Security Issue] you are leaking the OAuth2 client_secret HOT 3
- http://boltauth.com/ not working HOT 1
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 auth.