-
Notifications
You must be signed in to change notification settings - Fork 157
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to solve these error messages #185
Comments
Hi, I just came here to report exactly the same issue. This results in wallabag running just fine (I think), but the web interface isn't getting any images/resources in, so the page looks devoid of anything other than bare html. Not a pretty/useful look... any help that you can give would be most appreciated, I put all the Docker environment that I needed to, I think: PATH SYMFONY__ENV__DATABASE__HOST Are there are variables that need to be set? When I look at my MySQL database (MariaDB10), I see all wallabag tables are properly in there. Because of my setup, Wallabag is running on a custom port (9897 instead of 80). Would that make a difference? |
I fixed the error! (At least, the error I had, which I'm guessing is similar). The missing environment variable was SYMFONY__ENV__DOMAIN__NAME which had to be set to my Synology's Wallabag URL + Port number, so http://synology.local:38291/ for example. Before I did that, all URL requests for images etc were going to your-domain-name-here.com Hope this helps! |
Thanks for sharing but it didn't solve the error for me. I'm using wallabag with the builtin reverse-proxy server on my Synology NAS. |
See #185 (comment) |
To my knowledge it is not the same problem. My wallabag is running fine except for the strange errors I have posted above. |
I do apologise, the errors haven't gone away for me either. Apparently it's a PHP7.3 issue and "continue" should perhaps be recoded to "continue2" though they call functions in a different way? (Not a programmer, so could be wrong) Some discussion on a similar issue in Wordpress was listed here: https://wordpress.org/support/topic/warning-continue-targeting-switch-is-equivalent-to-break/ |
Lets hope it will be fixed soon! I don't know if this is being monitored by the developer(s) |
These errors will be gone with the 2.4.0 version |
Hi,
I've just installed wallabag/docker on my Synology NAS and all went well except for a few error messages I'm getting in the log file:
2020/03/24 10:46:35 [error] 270#270: *3 FastCGI sent in stderr: "PHP message: PHP Warning:
"continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in
/var/www/wallabag/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php on line 2636PHP
message: PHP Warning: "continue" targeting switch is equivalent to "break". Did you mean
to use "continue 2"? in
/var/www/wallabag/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php on line 2665" while
reading response header from upstream, client: 172.17.0.1, server: _, request: "GET /login
HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "my.domain.com"
[WARNING]: Found both group and host with same name: localhost
Any idea how to solve them?
Thanks!
The text was updated successfully, but these errors were encountered: